From djlewis78 at gmail.com Fri Oct 1 05:55:16 2010 From: djlewis78 at gmail.com (Daniel Lewis) Date: Fri, 1 Oct 2010 17:55:16 +1300 Subject: [shifter-users] ImportError: No module named shifter.applet_wrapper Message-ID: hi all, I have tried installing and running shifter in debian squeeze using the repository and running the app but no matter what /usr/bin/shifter* file i run i get these errors myshell$ shifter_applet --log_to_tty --debug-imports Traceback (most recent call last): File "/usr/bin/shifter_applet", line 3, in import shifter.applet_wrapper ImportError: No module named shifter.applet_wrapper myshell$ /usr/bin/shifter_server Traceback (most recent call last): File "/usr/bin/shifter_server", line 3, in from shifter import server_wrapper ImportError: No module named shifter I think this is a python library lookup issue but i am not a python expert and would appreciate some idea of what i need to do to remedy this:) I have installed all the libraries suggested in the shifter source section just in case there were some missing in the deb conf file, I also went to xpra's website and made sure that the library requirements were also included. The only other mention that i can make is that i have made my squeeze build minimal and added things as needed. Kind regards, Daniel From antoine at nagafix.co.uk Fri Oct 1 09:14:11 2010 From: antoine at nagafix.co.uk (Antoine Martin) Date: Fri, 01 Oct 2010 15:14:11 +0700 Subject: [shifter-users] ImportError: No module named shifter.applet_wrapper In-Reply-To: References: Message-ID: <4CA59853.7000806@nagafix.co.uk> Hi Daniel, Sorry about that, it's all my fault. I finally bought the new .com domain name when it became available last month and I am in the process of renaming the whole project, including classes and command names. Most of the documentation has been updated in the repository, but I am waiting to get it all done properly (and tested) before pushing out the new version... In the meantime, when using the source replace any occurrence of "shifter" with "winswitch" and you should be good to go (well, except for the ssh issues I am also in the process of fixing..) Cheers Antoine On 10/01/2010 11:55 AM, Daniel Lewis wrote: > hi all, > > I have tried installing and running shifter in debian squeeze using > the repository and running the app but no matter what > /usr/bin/shifter* file i run i get these errors > > myshell$ shifter_applet --log_to_tty --debug-imports > > Traceback (most recent call last): > File "/usr/bin/shifter_applet", line 3, in > import shifter.applet_wrapper > ImportError: No module named shifter.applet_wrapper > > myshell$ /usr/bin/shifter_server > Traceback (most recent call last): > File "/usr/bin/shifter_server", line 3, in > from shifter import server_wrapper > ImportError: No module named shifter > > I think this is a python library lookup issue but i am not a python > expert and would appreciate some idea of what i need to do to remedy > this:) > > I have installed all the libraries suggested in the shifter source > section just in case there were some missing in the deb conf file, I > also went to xpra's website and made sure that the library > requirements were also included. The only other mention that i can > make is that i have made my squeeze build minimal and added things as > needed. > > Kind regards, > Daniel > _______________________________________________ > shifter-users mailing list > shifter-users at lists.devloop.org.uk > http://lists.devloop.org.uk/mailman/listinfo/shifter-users From chris0wj at gmail.com Thu Oct 7 20:48:51 2010 From: chris0wj at gmail.com (Chris Wj) Date: Thu, 7 Oct 2010 15:48:51 -0400 Subject: [shifter-users] OpenSuse 11.3 install Message-ID: I'm having the hardest time installing and running shifter on OpenSuse11.3. After trying a few different things, I finally installed from source using the simple 'sudo python setup.py install' command. I couldn't install locally before this, even with the --prefix=$HOME option. I am using the SVN version (Revision: 3104). I it installed now (no icons or gnome-menu though), the program files are called winswitch_*. I run winswitch_server and it seems to run ok. I cannot run winswitch_applet or winswitch_client. winswitch_client: ... 2010/07/10 15:35:00 LocalSocketClient.test_socket(wakeup) socket '/home/offero/.winswitch/client/socket' exists=False 2010/07/10 15:35:00 client.main() caught exception, closing client 2010/07/10 15:35:00 Traceback (most recent call last): 2010/07/10 15:35:00 File "/usr/local/lib/python2.6/site-packages/winswitch/client/client.py", line 85, in main client.run() 2010/07/10 15:35:00 File "/usr/local/lib/python2.6/site-packages/winswitch/client/client_base.py", line 132, in run self.load_settings() # load settings from disk (or use defaults) 2010/07/10 15:35:00 File "/usr/local/lib/python2.6/site-packages/winswitch/client/client_base.py", line 186, in load_settings self.settings = load_settings() 2010/07/10 15:35:00 File "/usr/local/lib/python2.6/site-packages/winswitch/util/config.py", line 59, in load_settings load_encrypted_field(settings, "ssh_keyfile_passphrase", settings) 2010/07/10 15:35:00 File "/usr/local/lib/python2.6/site-packages/winswitch/util/config.py", line 168, in load_encrypted_field raw = getattr(config_object, base_field_name) #ie: server.password 2010/07/10 15:35:00 AttributeError: 'NoneType' object has no attribute 'ssh_keyfile_passphrase' 2010/07/10 15:35:00 WinSwitchClient.cleanup() cleanup already called=False 2010/07/10 15:35:00 client.main() exit code=1, waiting for all other threads to exit - this may take a few seconds From antoine at nagafix.co.uk Fri Oct 8 03:00:04 2010 From: antoine at nagafix.co.uk (Antoine Martin) Date: Fri, 08 Oct 2010 09:00:04 +0700 Subject: [shifter-users] OpenSuse 11.3 install In-Reply-To: References: Message-ID: <4CAE7B24.1020105@nagafix.co.uk> Hi Chris, I have just committed this fix: http://shifter.devloop.org.uk/trac/changeset/3105 Sorry about that, it was sitting in my tree. Cheers Antoine On 10/08/2010 02:48 AM, Chris Wj wrote: > I'm having the hardest time installing and running shifter on OpenSuse11.3. > After trying a few different things, I finally installed from source using > the simple 'sudo python setup.py install' command. I couldn't install > locally before this, even with the --prefix=$HOME option. I am using the SVN > version (Revision: 3104). I it installed now (no icons or gnome-menu > though), the program files are called winswitch_*. I run winswitch_server > and it seems to run ok. I cannot run winswitch_applet or winswitch_client. > > winswitch_client: > ... > 2010/07/10 15:35:00 LocalSocketClient.test_socket(wakeup) socket > '/home/offero/.winswitch/client/socket' exists=False > 2010/07/10 15:35:00 client.main() caught exception, closing client > 2010/07/10 15:35:00 Traceback (most recent call last): > > 2010/07/10 15:35:00 File > "/usr/local/lib/python2.6/site-packages/winswitch/client/client.py", line > 85, in main > client.run() > > 2010/07/10 15:35:00 File > "/usr/local/lib/python2.6/site-packages/winswitch/client/client_base.py", > line 132, in run > self.load_settings() # load settings from disk (or use > defaults) > > 2010/07/10 15:35:00 File > "/usr/local/lib/python2.6/site-packages/winswitch/client/client_base.py", > line 186, in load_settings > self.settings = load_settings() > > 2010/07/10 15:35:00 File > "/usr/local/lib/python2.6/site-packages/winswitch/util/config.py", line 59, > in load_settings > load_encrypted_field(settings, "ssh_keyfile_passphrase", settings) > > 2010/07/10 15:35:00 File > "/usr/local/lib/python2.6/site-packages/winswitch/util/config.py", line 168, > in load_encrypted_field > raw = getattr(config_object, base_field_name) #ie: > server.password > > 2010/07/10 15:35:00 AttributeError: 'NoneType' object has no attribute > 'ssh_keyfile_passphrase' > > 2010/07/10 15:35:00 WinSwitchClient.cleanup() cleanup already called=False > 2010/07/10 15:35:00 client.main() exit code=1, waiting for all other threads > to exit - this may take a few seconds > _______________________________________________ > shifter-users mailing list > shifter-users at lists.devloop.org.uk > http://lists.devloop.org.uk/mailman/listinfo/shifter-users