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

PyOS_InputHook is not available for interactive use of PyGTK followed by segmentation fault #60

Open
rbrawders opened this issue Oct 3, 2012 · 5 comments

Comments

@rbrawders
Copy link

Running LinuxMint 12 (Ubuntu 11.10). GNOME3.
3.0.0-26-generic #42-Ubuntu SMP Wed Sep 5 08:37:56 UTC 2012 i686 i686 i386 GNU/Linux

Followed manual install process step by step. No errors. No warnings.

Clicking Snakefire icon does nothing. Launching Snakefire from terminal without root gives the following message:

/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/init.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
set_interactive(1)
Segmentation fault

I tried running it from the terminal w/Sudo, and the program started and displayed the setting dialog. Entered text, but clicking OK wouldn't do anything, nor would cancel. Was able to close the window and launch settings again with same result. Closed program and tried to re-launch it, now I'm getting:

Traceback (most recent call last):
File "/usr/local/bin/snakefire", line 39, in
sf = snakefire.Snakefire()
File "/usr/local/lib/python2.7/dist-packages/snakefire/mainframe.py", line 1121, in init
Snakefire.init(self)
File "/usr/local/lib/python2.7/dist-packages/snakefire/mainframe.py", line 71, in init
settings = self.getSettings("connection")
File "/usr/local/lib/python2.7/dist-packages/snakefire/mainframe.py", line 210, in getSettings
settings["password"] = keyring.get_password(self.NAME, str(settings["subdomain"])+"_"+str(settings["user"]))
File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 30, in get_password
return _keyring_backend.get_password(service_name, username)
File "/usr/lib/python2.7/dist-packages/keyring/backend.py", line 144, in get_password
items = gnomekeyring.find_network_password_sync(username, service)
gnomekeyring.IOError

Restarted the shell, and restarted the machine, issue persists. Is this an issue with Snakefire, an issue with my install, or is this PEBKAC? Thanks.

@ConnorWGarvey
Copy link

I'm having this problem on 12.10. I installed on one machine with fresh Ubuntu without problems. Just installed on another machine with Xubuntu and have this error.

PyOS_InputHook is not available for interactive use of PyGTK

@neersighted
Copy link

I also have this issue, and have been unable to track it down. Has anyone else resolved it?

@rubyonrailsworks
Copy link

same issue with me

@Gavitron
Copy link

ubuntu 13.04, installed all requirements via apt, running from github source. Snakefire starts, and can connect to campfire room, but user can't type. console output begins with:

(08:53 ~/projects/snakefire) PYTHONPATH=".:snakefire/" bin/snakefire
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
  set_interactive(1)
"sni-qt/27850" WARN  08:54:00.963 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE 

@raelgc
Copy link
Contributor

raelgc commented May 12, 2014

@Gavitron Can you check if this PPA is working fine? https://launchpad.net/~rael-gc/+archive/snakefire

If started from command line, the PyOS_InputHook error is still displayed only at startup, but user can type in the room normally.

If started from Dash/Kickoff, no warning is displayed (of course).

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

6 participants