Bug#571203: RuntimeError: the sip module implements API v6.0 but the PyQt4.QtCore module requires API v7.0

2010-04-14 Thread Daniele Tricoli
On Wednesday 07 April 2010 13:57:26 Jens Link wrote:
 I can confirm the bug. System is squeeze/sid. One of the packages
 affected is gns3.

I can confirm this bug too on squeeze/sid. I just noticed that another 
package affected is hgview, but more interesting is the traceback:
[...]
File /usr/lib/pymodules/python2.5/hgviewlib/qt4/hgfileviewer.py, line 30, 
in module
from PyQt4 import QtGui, QtCore, Qsci
RuntimeError: the sip module implements API v7.0 to v7.1 but the PyQt4.Qsci 
module requires API v6.0

I have an application of mine that use QtGui and QtCore modules and is 
still working, so the problem seems to be related to Qsci module:

 from PyQt4 import Qsci
Traceback (most recent call last):
  File stdin, line 1, in module
RuntimeError: the sip module implements API v7.0 to v7.1 but the PyQt4.Qsci 
module requires API v6.0

HTH,

-- 
 Daniele Tricoli 'Eriol'
 http://mornie.org



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#571203: RuntimeError: the sip module implements API v6.0 but the PyQt4.QtCore module requires API v7.0

2010-04-14 Thread Daniele Tricoli
On Wednesday 14 April 2010 10:11:16 Daniele Tricoli wrote:
 I have an application of mine that use QtGui and QtCore modules and is 
 still working, so the problem seems to be related to Qsci module

Yes it worked! Simply rebuilding python-qscintilla2 fixed the problem! :)

Import is working
 from PyQt4 import Qsci
 Qsci
module 'PyQt4.Qsci' from '/usr/lib/pymodules/python2.5/PyQt4/Qsci.so'

hgview is working too.

@Jens Link
I just tested gns3: it works too after the rebuilding of python-
qscintilla2.

HTH,

-- 
 Daniele Tricoli 'Eriol'
 http://mornie.org



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#571203: RuntimeError: the sip module implements API v6.0 but the PyQt4.QtCore module requires API v7.0

2010-04-07 Thread Jens Link
Hi,

@Torsten Marek 

I can confirm the bug. System is squeeze/sid. One of the packages
affected is gns3.

I think it's working on testing but can't confirm it, because my testing
system is a couple of 100km away an powered off.

cheers

Jens
-- 
-
| Foelderichstr. 40   | 13595 Berlin, Germany| +49-151-18721264 |
| http://blog.quux.de | jabber: jensl...@guug.de | ---  | 
-



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#571203: RuntimeError: the sip module implements API v6.0 but the PyQt4.QtCore module requires API v7.0

2010-03-28 Thread Torsten Marek
Hi,


@Paul:

Please report any Ubuntu bugs to the Ubuntu bug trackers, it's quite
unlikely that you'll be able to mix  match packages from Debian and
Ubuntu right now due to the large number of transitions going on. By
now, Ubuntu does have the updated sip/PyQt4 packages with the new
dependency scheme.


@Victor:

Does the error still persist? I've had no other reports about this
problem.


best,


Torsten
-- 
.: Torsten Marek
.: http://shlomme.diotavelli.net
.: tors...@diotavelli.net -- GnuPG: 1024D/A244C858



signature.asc
Description: This is a digitally signed message part


Bug#571203: RuntimeError: the sip module implements API v6.0 but the PyQt4.QtCore module requires API v7.0

2010-02-24 Thread Victor Stinner
Package: python-qt4
Version: 4.7-2
Severity: grave
Justification: renders package unusable


After a dist-upgrade, my PyQt application doesn't work anymore.
I removed the packages sip4 and python-sip4 but it doesn't fix this
issue. I tried to remove python-sip and then reinstall python-qt4 is
still present.

I don't understand because the new python-sip packages provides SIP API
7.0 whereas the error message starts with the sip module implements
API v6.0!?

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-qt4 depends on:
ii  libc6 2.10.2-5   Embedded GNU C Library: Shared lib
ii  libgcc1   1:4.4.3-2  GCC support library
ii  libqt4-assistant  4:4.5.3-4  Qt 4 assistant module
ii  libqt4-designer   4:4.5.3-4  Qt 4 designer module
ii  libqt4-help   4:4.5.3-4  Qt 4 help module
ii  libqt4-network4:4.5.3-4  Qt 4 network module
ii  libqt4-script 4:4.5.3-4  Qt 4 script module
ii  libqt4-scripttools4:4.5.3-4  Qt 4 script tools module
ii  libqt4-svg4:4.5.3-4  Qt 4 SVG module
ii  libqt4-test   4:4.5.3-4  Qt 4 test module
ii  libqt4-webkit 4:4.5.3-4  Qt 4 WebKit module
ii  libqt4-xml4:4.5.3-4  Qt 4 XML module
ii  libqt4-xmlpatterns4:4.5.3-4  Qt 4 XML patterns module
ii  libqtcore44:4.5.3-4  Qt 4 core module
ii  libqtgui4 4:4.5.3-4  Qt 4 GUI module
ii  libstdc++64.4.3-2The GNU Standard C++ Library v3
ii  python2.5.4-9An interactive high-level object-o
ii  python-sip [sip-api-7.0]  4.10-2 Python/C++ bindings generator runt
ii  python-support1.0.6.1automated rebuilding support for P
ii  python2.5 2.5.5-2An interactive high-level object-o

python-qt4 recommends no packages.

Versions of packages python-qt4 suggests:
pn  python-qt4-dbgnone (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#571203: [Python-modules-team] Bug#571203: RuntimeError: the sip module implements API v6.0 but the PyQt4.QtCore module requires API v7.0

2010-02-24 Thread Torsten Marek
Am Mittwoch, den 24.02.2010, 11:22 +0100 schrieb Victor Stinner:
 Package: python-qt4
 Version: 4.7-2
 Severity: grave
 Justification: renders package unusable
 
 
 After a dist-upgrade, my PyQt application doesn't work anymore.
 I removed the packages sip4 and python-sip4 but it doesn't fix this
 issue. I tried to remove python-sip and then reinstall python-qt4 is
 still present.
 
 I don't understand because the new python-sip packages provides SIP API
 7.0 whereas the error message starts with the sip module implements
 API v6.0!?

Hi,

does 


$ python
 from PyQt4 import QtCore

lead to the same error? Did you ever install sip manually? Do you get
the following output?

$ python -v
...
 from PyQt4 import QtCore
dlopen(/usr/lib/pymodules/python2.5/PyQt4/QtCore.so, 2);
dlopen(/usr/lib/pymodules/python2.5/sip.so, 2);
import sip # dynamically loaded from /usr/lib/pymodules/python2.5/sip.so
import PyQt4.QtCore # dynamically loaded from 
/usr/lib/pymodules/python2.5/PyQt4/QtCore.so

best,


Torsten
-- 
.: Torsten Marek
.: http://shlomme.diotavelli.net
.: tors...@diotavelli.net -- GnuPG: 1024D/A244C858



signature.asc
Description: This is a digitally signed message part