satanas / Turpial

Twitter client written in Python. Light, fast, fully functional and integrated to the user desktop
http://turpial.org.ve
GNU General Public License v3.0
175 stars 47 forks source link

Can't get Turpial version from CLI when another instance is running #366

Open Ryuno-Ki opened 9 years ago

Ryuno-Ki commented 9 years ago

I've started a Turpial instance (v3.5.9-dev) and tried to get its version via turpial --version which yield this:

$ turpial --version
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
DEBUG::Using gst as sound system
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
  set_interactive(1)
ERROR:Sys:Another instance is already running
satanas commented 9 years ago

Yes, because Turpial avoids to execute multiple instances of the app. You can check the version on the 'About Turpial' menu. I'll check if I can avoid the singleton validation for this option

Ryuno-Ki commented 9 years ago

While you're at it, I'd expect --help to work aside a singleton, too.

satanas commented 9 years ago

Roger that