-
Notifications
You must be signed in to change notification settings - Fork 58
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
Couldn't get a file descriptor referring to the console #70
Comments
Hi @phanhaiquang, thank you filing this bug. Can you please tell me the following?
I should be able to figure out where to go go next based upon that. enjoy, -jeremy |
Hi @copiousfreetime, Thanks much for prompt feedback.
Thanks, |
Thanks for the info, I'll dig in in the next day or two and figure this out. enjoy, |
@phanhaiquang is |
"xdg-open" was installed to my system already. |
Thanks, I think I see the direction of the solution. |
@copiousfreetime It is great 👍 |
Version 2.4.0 has been released including a fix for this. Please verify. |
@copiousfreetime Sorry for my lateness. |
@phanhaiquang excellent! glad to be of service. Please let me know when you find the next bug 😄 |
I execute launchy in rails console
Launchy.open( "http://www.ruby-lang.org")
=> #< Thread:0x0000000b89b218 sleep >
I expect it to open in a browser, but nothing happens.
The thread is dead.
So, I executed launchy directly from Linux console. Below is result
launchy -d http://www.ruby-lang.org/
LAUNCHY_DEBUG: URI parsing pass 1 : http://www.ruby-lang.org/ -> {:scheme=>"http", :user=>nil, :password=>nil, :host=>"www.ruby-lang.org", :port=>nil, :path=>"/", :query=>nil, :fragment=>nil}
LAUNCHY_DEBUG: Checking if class Launchy::Application::Browser is the one for handles?(http://www.ruby-lang.org/)}
LAUNCHY_DEBUG: Checking if class Launchy::Detect::HostOsFamily::Windows is the one for matches?(linux-gnu)}
LAUNCHY_DEBUG: Checking if class Launchy::Detect::HostOsFamily::Darwin is the one for matches?(linux-gnu)}
LAUNCHY_DEBUG: Checking if class Launchy::Detect::HostOsFamily::Nix is the one for matches?(linux-gnu)}
LAUNCHY_DEBUG: Checking if class Launchy::Detect::RubyEngine::Mri is the one for is_current_engine?(ruby)}
LAUNCHY_DEBUG: Checking if class Launchy::Detect::HostOsFamily::Windows is the one for matches?(linux-gnu)}
LAUNCHY_DEBUG: Checking if class Launchy::Detect::HostOsFamily::Darwin is the one for matches?(linux-gnu)}
LAUNCHY_DEBUG: Checking if class Launchy::Detect::HostOsFamily::Nix is the one for matches?(linux-gnu)}
LAUNCHY_DEBUG: Checking if class Launchy::Detect::RubyEngine::Mri is the one for is_current_engine?(ruby)}
LAUNCHY_DEBUG: Checking if class Launchy::Detect::NixDesktopEnvironment::Kde is the one for is_current_desktop_environment?()}
LAUNCHY_DEBUG: Checking if class Launchy::Detect::NixDesktopEnvironment::Gnome is the one for is_current_desktop_environment?()}
LAUNCHY_DEBUG: Checking if class Launchy::Detect::NixDesktopEnvironment::Xfce is the one for is_current_desktop_environment?()}
LAUNCHY_DEBUG: Launchy::Application : found executable /usr/bin/xprop
LAUNCHY_DEBUG: Checking if class Launchy::Detect::NixDesktopEnvironment::Fluxbox is the one for is_current_desktop_environment?()}
LAUNCHY_DEBUG: Current Desktop environment not found. Please rerun with environment variable LAUNCHY_DEBUG=true or the '-d' commandline option and file a bug at https://github.com/copiousfreetime/launchy/issues/new
LAUNCHY_DEBUG: Launchy::Application : found executable /usr/bin/xdg-open
LAUNCHY_DEBUG: Launchy::Application::Browser : possibility : open
LAUNCHY_DEBUG: Launchy::Application::Browser : possibility : /usr/bin/xdg-open
LAUNCHY_DEBUG: Launchy::Application::Browser : Using browser value 'open'
LAUNCHY_DEBUG: wet_run: before exec in child process
LAUNCHY_DEBUG: commandline_normalized => open http://www.ruby-lang.org/
Couldn't get a file descriptor referring to the console
Could you please guide me how to config or fix the issue ?
Thank you very much !
The text was updated successfully, but these errors were encountered: