View Full Version : How to uninstall screenlets 0.0.7
gahre
August 13th, 2007, 08:58 PM
Hello!
I installed screenlets 0.0.7 and ran into problems (I'm a Fedora 7 user) and so I installed screenlets 0.0.9 (cause the original link on the homepage pointed to 0.0.7 first...). I think I ran make uninstall before, but I'm not sure bout that...
Now screenlets don't work, just as with version 0.0.7, and if I have my machine print the version of screenlets with the command mentioned somewhere in this forum (I think in the FAQ) it tells me 0.0.7 is installed...
The make uninstall from the 0.0.9-Makefile prints "Makefile: Uninstall of python-libs not supported yet ..."
So, what can I do to get rid of 0.0.7 - which seems the root of my problem???
bye
Thomas
RYX
August 14th, 2007, 09:10 AM
Hi Thomas!
Usually you don't need to uninstall before updating to the new version. What exactly does not work for you? Do you get any error messages or output when you try to start a screenlet like this: python -u /usr/local/share/screenlets/Control/ControlScreenlet.py?
And sorry about the outdated screenlets website. I am just waiting to have some server issues fixed, then I will upload the new one. It is finished and ready to be launched.
:)
gahre
August 14th, 2007, 02:30 PM
So python just reports 0.0.7? - OK for me as long as it launches the right one ;)
It reports:
CachingBackend: Loading instances from cache
Loading instances in: /home/thomas/.config/Screenlets/Control/default/
No instance(s) found in session-path, creating new one.
Traceback (most recent call last):
File "/usr/local/share/screenlets/Control/ControlScreenlet.py", line 117, in <module>
screenlets.session.create_session(ControlScreenlet )
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 301, in create_session
session.start()
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 168, in start
sl = self.screenlet(session=self, id=self.__get_next_id())
File "/usr/local/share/screenlets/Control/ControlScreenlet.py", line 48, in __init__
is_sticky=True, uses_theme=True, **keyword_args)
TypeError: __init__() got an unexpected keyword argument 'session'
I think I read that in a forum somewhere where someone said this was an issue of a to new version of python being installed on the system, that's why I was hoping that version 0.0.9 would fix this - as far as I can remember ;)
thanks,
Thomas
RYX
August 14th, 2007, 02:37 PM
I meant you just need to install the 0.0.9 without uninstalling the 0.0.7 first. The installation replaces all files automatically ... The error implies that you are still using v0.0.7 and you should update to the latest version. I think your python version is no problem, I am using the same one.
:)
gahre
August 14th, 2007, 03:09 PM
That's the point, I ran "make install" from within the 0.0.9-folder from the archive and it still claims that version 0.0.7 is installed. I already deleted the folder /usr/share/screenlets and ran make install again, bit it wouldn't help me :(
[root@tomWS screenlets-0.0.9]# make install
python setup.py install
running install
running build
running build_py
running install_lib
running install_data
[root@tomWS screenlets-0.0.9]# exit
exit
[thomas@tomWS screenlets-0.0.9]$ python -c "import screenlets;print screenlets.VERSION"
0.0.7
[thomas@tomWS screenlets-0.0.9]$
RYX
August 14th, 2007, 03:39 PM
Yeah, that's pretty weird. :)
You should try to manually remove all screenlets-related files from the python-packages with this command:rm -rf /usr/local/lib/python2.5/site-packages/screenlet*
It is a rather low-level way of removing the python-libs and usually not recommended, but it seems to be the most reliable way here ...
After that you should try to install 0.0.9 again and see if it now correctly installs ...
:)
gahre
August 14th, 2007, 03:49 PM
Ah! Relief!
That did the job... Thanks a lot!
...first time I see screenlets running on my machine - beautiful!!!
Thanks,
Thomas
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.