-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Can't convert HostOS into String" #45
Comments
Is the launchy you are using one that is shipped with Crunchbang? Can you tell me what version it is that is failing for you? Or is it one that you are installing yourself? Also, could re rerun the launchy command as:
And then paste the output here? |
I'm using 2.1.0, which I got through bundler (which got it through rubygems.org). I'm also using JRuby. Here's a gist with information about the environment and the debug output you wanted. |
Thanks, I'll take a look and see what I can figure out. |
it's a problem with the logger line in ( launchy-2.1.0-java/lib/launchy/descendant_tracker.rb ) at line 44: Launchy.log "Checking if class #{child} is the one for #{method}(#{args.join(', ')})}" I commented out this line and it works just fine. It's trying to do a .join on the HostOs object which doesn't work. |
Thanks for additional report. My apologies for not consolidating all this into a final bug fix. I'll be rolling this and a couple of other issues up into a new release here in the next week or so. |
= Launchy Changlog == Version 2.1.2 - 2012-08-06 * Fix where HostOS would fail to convert to string on JRuby in 1.9 mode (copiousfreetime/launchy#45)
= Launchy Changlog == Version 2.1.2 - 2012-08-06 * Fix where HostOS would fail to convert to string on JRuby in 1.9 mode (copiousfreetime/launchy#45)
= Launchy Changlog == Version 2.1.2 - 2012-08-06 * Fix where HostOS would fail to convert to string on JRuby in 1.9 mode (copiousfreetime/launchy#45)
= Launchy Changlog == Version 2.1.2 - 2012-08-06 * Fix where HostOS would fail to convert to string on JRuby in 1.9 mode (copiousfreetime/launchy#45)
= Launchy Changlog == Version 2.1.2 - 2012-08-06 * Fix where HostOS would fail to convert to string on JRuby in 1.9 mode (copiousfreetime/launchy#45)
I'm using launchy on Crunchbang Linux, which is based on Debian and uses Openbox as a window manager. I have
xdg-open
installed, and it's working correctly. However, when I runlaunchy http://www.github.com
, I get:After much dropping of
puts
es and experimentation, I fixed it by changingin
lib/launchy/detect/host_os_family.rb:detect
toSo is this due to some quirk in my OS, or is it a bug proper? Do you want me to submit a pull request?
Thanks.
The text was updated successfully, but these errors were encountered: