[Python-modules-team] Bug#550589: [pyqt4-dev-tools] Fails to build .ui files due API version issues

Bastian Venthur venthur at debian.org
Sun Oct 11 11:54:19 UTC 2009


Package: pyqt4-dev-tools
Version: 4.6-1
Severity: grave

--- Please enter the report below this line. ---
Hi when I'm trying to generate a .py from a .ui I get the following error:

# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'mainwindow.ui'
#
# Created: Sun Oct 11 13:51:09 2009
#      by: PyQt4 UI code generator 4.6
#
# WARNING! All changes made in this file will be lost!

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.5/PyQt4/uic/port_v2/invoke.py", line
12, in invoke
    exit_status = driver.invoke()
  File "/usr/lib/pymodules/python2.5/PyQt4/uic/driver.py", line 37, in
invoke
    self._generate()
  File "/usr/lib/pymodules/python2.5/PyQt4/uic/driver.py", line 63, in
_generate
    self._opts.pyqt3_wrapper)
  File "/usr/lib/pymodules/python2.5/PyQt4/uic/__init__.py", line 128,
in compileUi
    winfo = compiler.UICompiler().compileUi(uifile, pyfile)
  File "/usr/lib/pymodules/python2.5/PyQt4/uic/Compiler/compiler.py",
line 14, in __init__
    CompilerCreatorPolicy())
  File "/usr/lib/pymodules/python2.5/PyQt4/uic/uiparser.py", line 87, in
__init__
    self.factory = QObjectCreator(creatorPolicy)
  File "/usr/lib/pymodules/python2.5/PyQt4/uic/objcreator.py", line 49,
in __init__
    self._cwFilters.append(plugin_locals["getFilter"]())
  File "<string>", line 22, in getFilter
RuntimeError: the sip module implements API v6.0 but the PyKDE4.kdeui
module requires API v5.0


I attached the .ui file so you can test it yourself.


Cheers,

Bastian


--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.30-2-686

Debian Release: squeeze/sid
  500 unstable        ftp.de.debian.org
  500 unstable        debian-multimedia.org

--- Package information. ---
Depends           (Version) | Installed
===========================-+-=============
libc6            (>= 2.1.3) | 2.9-27
libgcc1        (>= 1:4.1.1) | 1:4.4.1-6
libqt4-xml     (>= 4:4.5.3) | 4:4.5.3-2
libqtcore4     (>= 4:4.5.3) | 4:4.5.3-2
libqtgui4      (>= 4:4.5.3) | 4:4.5.3-2
libstdc++6       (>= 4.1.1) | 4.4.1-6
python                      | 2.5.4-2
python-qt4        (= 4.6-1) | 4.6-1


Package's Recommends field is empty.

Package's Suggests field is empty.




-- 
Bastian Venthur                                      http://venthur.de
Debian Developer                                 venthur at debian org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mainwindow.ui
Type: text/xml
Size: 8097 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20091011/00c836a4/attachment.bin>


More information about the Python-modules-team mailing list