PyQt issues on Diablo?

PyQt issues on Diablo?

Ed Page
Karma: 1052
2010-12-08 02:50 UTC
I've been working on porting DialCentral to Qt. I've got some users
wanting to test this out on Diablo but they are getting the following
error:
dialcentral_qt.py
Traceback (most recent call last):
File "/opt/dialcentral/lib/dialcentral_qt.py", line 12, in <module>
from PyQt4 import QtGui
RuntimeError: the sip module implements API v8.0 but the PyQt4.QtGui
module requires API v7.0

User Reports:
http://talk.maemo.org/showpost.php?p=887774&postcount=1350
http://talk.maemo.org/showpost.php?p=891411&postcount=1375
http://talk.maemo.org/showpost.php?p=892019&postcount=1378

I've not seen this at all on my n810. Seems like some packages got
out of sync somehow. Anyone know anything further?

Thanks
Ed Page
  •  Reply

Re: PyQt issues on Diablo?

Attila Csipa
Karma: 1430
2010-12-08 10:58 UTC
On Wed, Dec 8, 2010 at 4:50 AM, Edward Page <eopage@byu.net> wrote:

> I've been working on porting DialCentral to Qt. I've got some users
> wanting to test this out on Diablo but they are getting the following
> error:
> dialcentral_qt.py
> Traceback (most recent call last):
> File "/opt/dialcentral/lib/dialcentral_qt.py", line 12, in <module>
> from PyQt4 import QtGui
> RuntimeError: the sip module implements API v8.0 but the PyQt4.QtGui
> module requires API v7.0
>
> User Reports:
> http://talk.maemo.org/showpost.php?p=887774&postcount=1350
> http://talk.maemo.org/showpost.php?p=891411&postcount=1375
> http://talk.maemo.org/showpost.php?p=892019&postcount=1378
>
> I've not seen this at all on my n810. Seems like some packages got
> out of sync somehow. Anyone know anything further?
>

This issue was due to some dependency/promotion issues which left PyQt in a
half-promoted state. An update has been made some three weeks ago (during
the conference :) and everything should be dandy after that. If not, the
user should apt-get update to the latest PyQt (the problem is that the
application manager might refuse to pull in all dependant packages and
instead opt not to install the application).

Best regards,
Attila

  •  Reply

Re: PyQt issues on Diablo?

Ed Page
Karma: 1052
2010-12-10 03:09 UTC
On Wed, Dec 8, 2010 at 4:58 AM, Attila Csipa <maemo@csipa.in.rs> wrote:
> This issue was due to some dependency/promotion issues which left PyQt in a
> half-promoted state. An update has been made some three weeks ago (during
> the conference :) and everything should be dandy after that. If not, the
> user should apt-get update to the latest PyQt (the problem is that the
> application manager might refuse to pull in all dependant packages and
> instead opt not to install the application).

Hmm, I installed all of my Qt apps before then without a problem.
Most of my users grabbed it this last week and are having the issues.
Just to test that I could keep my device in a good state, I did what I
expect my users to do (with extras-devel enabled):
apt-get remove python2.5-sip4
apt-get autoremove
apt-get update
apt-get install dialcentral ejpi gonvert

After doing all of that I ended up in the same situation as my users:
Nokia-N810-43-7:~# /opt/ejpi/lib/ejpi_qt.py
Traceback (most recent call last):
File "/opt/ejpi/lib/ejpi_qt.py", line 12, in <module>
from PyQt4 import QtGui
RuntimeError: the sip module implements API v8.0 but the PyQt4.QtGui
module requires API v7.0

Any idea why it is still happening?

Ed Page
  •  Reply

Re: PyQt issues on Diablo?

Attila Csipa
Karma: 1430
2010-12-10 08:25 UTC
Oooh, just realized we're talking about *Diablo*. Let me check.

On Fri, Dec 10, 2010 at 5:09 AM, Edward Page <eopage@byu.net> wrote:

> On Wed, Dec 8, 2010 at 4:58 AM, Attila Csipa <maemo@csipa.in.rs> wrote:
> > This issue was due to some dependency/promotion issues which left PyQt in
> a
> > half-promoted state. An update has been made some three weeks ago (during
> > the conference :) and everything should be dandy after that. If not, the
> > user should apt-get update to the latest PyQt (the problem is that the
> > application manager might refuse to pull in all dependant packages and
> > instead opt not to install the application).
>
> Hmm, I installed all of my Qt apps before then without a problem.
> Most of my users grabbed it this last week and are having the issues.
> Just to test that I could keep my device in a good state, I did what I
> expect my users to do (with extras-devel enabled):
> apt-get remove python2.5-sip4
> apt-get autoremove
> apt-get update
> apt-get install dialcentral ejpi gonvert
>
> After doing all of that I ended up in the same situation as my users:
> Nokia-N810-43-7:~# /opt/ejpi/lib/ejpi_qt.py
> Traceback (most recent call last):
> File "/opt/ejpi/lib/ejpi_qt.py", line 12, in <module>
> from PyQt4 import QtGui
> RuntimeError: the sip module implements API v8.0 but the PyQt4.QtGui
> module requires API v7.0
>
> Any idea why it is still happening?
>
> Ed Page
>

  •  Reply

Re: PyQt issues on Diablo?

Ed Page
Karma: 1052
2010-12-29 15:07 UTC
On Fri, Dec 10, 2010 at 2:25 AM, Attila Csipa <maemo@csipa.in.rs> wrote:
> Oooh, just realized we're talking about *Diablo*. Let me check.

Any update on this? Sadly too many people use software out of
extras-devel and end up in this situation, despite the warnings I add
on top of all of the other warnings. I actually wonder if they are
being bought used with extras-devel enabled.

Some examples:
http://talk.maemo.org/showthread.php?p=906262
http://talk.maemo.org/showthread.php?p=894112

Thanks
Ed Page
  •  Reply