maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Python apps don't work after update (https://talk.maemo.org/showthread.php?t=65532)

ikerrg 2010-11-12 19:22

Python apps don't work after update
 
Hi,

I have updated some python packages to their latest versions available (using apt-get install). Now, some of my apps (wifieye, swappolube, gonvert, and may more) start loading and then are just exiting to the desktop screen.
I am using PR1.3 and only extras repository is enabled (not devel neither testing). How can I reinstall old compatible python packages?

Thanks.

ikerrg 2010-11-12 19:52

Re: Python apps don't work after update
 
I've discovered executing wifieye in the commandline the following error:
RuntimeError: the sip module implements API v8.0 but the PyQt4.QtCore module requires API v7.1.

Does this have any sense for you? How can I fix it?

ikerrg 2010-11-13 00:14

Re: Python apps don't work after update
 
Fixed!!
I have downgraded the python2.5-sip4 to the old version 4.10.5 instead of the updated 4.11. Now all the apps are working. It seems a problem with sip4 dependencies.

009N 2010-11-13 07:26

Re: Python apps don't work after update
 
Thanks! I was trying to install swappolube. At first apt-get showed dependencies error and was looking for python2.5-qt4-maemo0 (4.7.4) instead of the installed version 4.7.5. Then apt-get install python2.5-qt4-common=4.7.4, which python2.5-qt4-maemo0 depends on. Swappolube installed but ran & quit in a few seconds.
After apt-get install python2.5-sip4=4.10.5-maemo0, swappolube worked again. :)

bobaseth 2010-11-14 07:16

Re: Python apps don't work after update
 
I bumpt into the same conflict! Have you guys came across any solutions? Thanks!

ikerrg 2010-11-14 12:05

Re: Python apps don't work after update
 
Quote:

Originally Posted by bobaseth (Post 872889)
I bumpt into the same conflict! Have you guys came across any solutions? Thanks!

It is in the previous posts. Try issuing the command "apt-get install python2.5-sip4=4.10.5-maemo0"

mikec 2010-11-14 12:14

Re: Python apps don't work after update
 
Python-Pygame is also broken at the moment as libsdl has moved to newer version . Need the owner to re-build pygame against the latest libsdl1.3

I have emailed the maintainer to see if he can rebuild

bobaseth 2010-11-14 20:01

Re: Python apps don't work after update
 
Quote:

Originally Posted by ikerrg (Post 873051)
It is in the previous posts. Try issuing the command "apt-get install python2.5-sip4=4.10.5-maemo0"

Forgive me "ikerrg" if there's any dupliacation in contacting you for I'm new at this. After I my input of "apt-get install python2.5-sip4=4.10.5-maemo0" I got "E: Could not open lock file /var/lib/dpkg/lock - open (13 permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Did I do it right and if so what next. Thanks man!

atilla 2010-11-14 20:18

Re: Python apps don't work after update
 
Quote:

Originally Posted by bobaseth (Post 873313)
Forgive me "ikerrg" if there's any dupliacation in contacting you for I'm new at this. After I my input of "apt-get install python2.5-sip4=4.10.5-maemo0" I got "E: Could not open lock file /var/lib/dpkg/lock - open (13 permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Did I do it right and if so what next. Thanks man!

you really shouldn't mess with any apt-get command if you don't even know whats root is.
trust me its better for you

Doctor Patch 2010-11-16 02:14

Re: Python apps don't work after update
 
Quote:

Originally Posted by bobaseth (Post 873313)
Forgive me "ikerrg" if there's any dupliacation in contacting you for I'm new at this. After I my input of "apt-get install python2.5-sip4=4.10.5-maemo0" I got "E: Could not open lock file /var/lib/dpkg/lock - open (13 permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Did I do it right and if so what next. Thanks man!

You need to run apt-get as root.

To do this you need to input

sudo gainroot


@Atilla - I disagree entirely; we should educate not leave people in the dark.


All times are GMT. The time now is 04:48.

vBulletin® Version 3.8.8