Skip to content
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" on Ubuntu #15

Open
matthurne opened this issue Sep 27, 2012 · 4 comments
Open

Comments

@matthurne
Copy link

On Ubuntu, I see the following when starting up genghis (which uses vegas):

user@host:~$ genghisapp 
[2012-09-26 16:08:58 -0400] Starting 'genghisapp'...
[2012-09-26 16:08:58 -0400] trying port 5678...
Couldn't get a file descriptor referring to the console

I see the same last line when starting up humongous which I suspect also uses vegas.

Some quick web searches leads me to believe that the command being used to attempt to launch the default web browser with the URL of the newly started application isn't quite right for Ubuntu. This is further evidenced by the fact that the browser launch never happens.

The author of genghis suggested that this is likely an issue with vegas.

Also see bobthecow/genghis#34

@anxiousmodernman
Copy link

+1. I'm having this same issue. It looks like genghis actually executes, because I did this the second time after getting the error @mhurne described.

$ genghisapp -L

[2012-09-30 14:22:27 -0400] Starting 'genghisapp'...
[2012-09-30 14:22:27 -0400] 'genghisapp' is already running at http://0.0.0.0:5678

I went to that address and genghis was running.

@matthurne
Copy link
Author

I did fail to mention that the application does run properly despite the message on startup.

@bndn
Copy link

bndn commented Mar 18, 2013

More informations here : markbates/cover_me#55
The solution is to call xdg-open [url] (for Debian/Ubuntu…) if open (for Mac) is not available.

@priyolahiri
Copy link

A simple fix is to add -L to the command line when starting genghisapp. The error goes away. But using genghis with supervisor does not work as it shows exited too quickly, but is actually running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants