snakefire icon indicating copy to clipboard operation
snakefire copied to clipboard

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

Open rbrawders opened this issue 12 years ago • 5 comments

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.

rbrawders avatar Oct 03 '12 18:10 rbrawders

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

ConnorWGarvey avatar Dec 11 '12 15:12 ConnorWGarvey

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

neersighted avatar Jan 07 '13 05:01 neersighted

same issue with me

geekontheway avatar Jan 17 '13 17:01 geekontheway

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 

Gavitron avatar Apr 24 '14 06:04 Gavitron

@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).

raelgc avatar May 12 '14 13:05 raelgc