Opened 12 years ago
Last modified 12 years ago
#233 closed defect
Winswitch Broken - Attribute Error: 'module' object has no attribute 'threads_init' — at Initial Version
Reported by: | https://me.yahoo.com/a/msXW47MQzuezDUZYqMTw_BZuM5gRRrQ-#7be22 | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 0.12 |
Component: | Server | Keywords: | Broken Code, Doesn't Work, winswitch_server |
Cc: |
Description
When I install winswitch on Centos 6.4, I get the following error. Installation went fine, no issues. (Windows version worked fine too, no issues.) I'm assuming it needs something similar to the following added:
try:
glib.threads_init()
except AttributeError?:
#old versions of glib may not have this method
pass
try:
gobject.threads_init()
except AttributeError?:
#old versions of gobject may not have this method
pass
Here is the actual error message I'm getting:
$ winswitch_server
[DD] 2013/13/03 16:34:58.449676 main_loop.loop_init(False)
Traceback (most recent call last):
File "/usr/bin/winswitch_server", line 5, in <module>
server_wrapper.main()
File "/usr/lib/python2.6/site-packages/winswitch/server/server_wrapper.py", line 50, in main
from winswitch.server.controller import WinSwitchServer?
File "/usr/lib/python2.6/site-packages/winswitch/server/controller.py", line 20, in <module>
reactor = loop_init(False)
File "/usr/lib/python2.6/site-packages/winswitch/util/main_loop.py", line 21, in loop_init
glib.threads_init()
AttributeError?: 'module' object has no attribute 'threads_init'