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
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<author>Bastian Venthur</author>
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>948</width>
<height>682</height>
</rect>
</property>
<property name="windowTitle">
<string>Reportbug-NG</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Q&uery or Filter:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>lineEdit</cstring>
</property>
</widget>
</item>
<item>
<widget class="PackageLineEdit" name="lineEdit">
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="toolButton">
<property name="text">
<string>...</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QSplitter" name="splitter">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<widget class="QTableView" name="tableView">
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="tabKeyNavigation">
<bool>false</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="showGrid">
<bool>false</bool>
</property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
</widget>
<widget class="QWebView" name="webView"/>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>948</width>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menuReportbug_NG">
<property name="title">
<string>&File</string>
</property>
<addaction name="actionQuit"/>
</widget>
<widget class="QMenu" name="menuBugreport">
<property name="title">
<string>&Bugs</string>
</property>
<addaction name="actionNewBugreport"/>
<addaction name="actionAdditionalInfo"/>
<addaction name="actionCloseBugreport"/>
<addaction name="separator"/>
<addaction name="actionNewWnpp"/>
</widget>
<widget class="QMenu" name="menuEdit">
<property name="title">
<string>&Edit</string>
</property>
<addaction name="actionSettings"/>
</widget>
<widget class="QMenu" name="menu_Help">
<property name="title">
<string>&Help</string>
</property>
<addaction name="actionAbout"/>
<addaction name="actionAboutQt"/>
</widget>
<addaction name="menuReportbug_NG"/>
<addaction name="menuEdit"/>
<addaction name="menuBugreport"/>
<addaction name="menu_Help"/>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<widget class="QToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actionNewBugreport"/>
<addaction name="actionAdditionalInfo"/>
<addaction name="actionCloseBugreport"/>
<addaction name="actionNewWnpp"/>
</widget>
<action name="actionNewBugreport">
<property name="icon">
<iconset resource="icons.qrc">
<normaloff>:/face-devilish.png</normaloff>:/face-devilish.png</iconset>
</property>
<property name="text">
<string>&New Bugreport...</string>
</property>
<property name="statusTip">
<string>Create a new Bugreport for the current package.</string>
</property>
<property name="shortcut">
<string>Ctrl+N</string>
</property>
</action>
<action name="actionAdditionalInfo">
<property name="icon">
<iconset resource="icons.qrc">
<normaloff>:/face-glasses.png</normaloff>:/face-glasses.png</iconset>
</property>
<property name="text">
<string>&Additional Information...</string>
</property>
<property name="statusTip">
<string>Provide additional information for this Bugreport.</string>
</property>
<property name="shortcut">
<string>Ctrl+A</string>
</property>
</action>
<action name="actionCloseBugreport">
<property name="icon">
<iconset resource="icons.qrc">
<normaloff>:/face-angel.png</normaloff>:/face-angel.png</iconset>
</property>
<property name="text">
<string>&Close Bugreport...</string>
</property>
<property name="statusTip">
<string>Close the current Bugreport.</string>
</property>
<property name="shortcut">
<string>Ctrl+L</string>
</property>
</action>
<action name="actionNewWnpp">
<property name="icon">
<iconset resource="icons.qrc">
<normaloff>:/face-smile-gearhead-female.png</normaloff>:/face-smile-gearhead-female.png</iconset>
</property>
<property name="text">
<string>New &WNPP Bugreport...</string>
</property>
<property name="statusTip">
<string>Create a new WNPP Bugreport.</string>
</property>
<property name="shortcut">
<string>Ctrl+W</string>
</property>
</action>
<action name="actionClearLineEdit">
<property name="icon">
<iconset resource="icons.qrc">
<normaloff>:/edit-clear-locationbar-rtl.png</normaloff>:/edit-clear-locationbar-rtl.png</iconset>
</property>
<property name="text">
<string>Clear</string>
</property>
<property name="statusTip">
<string>Clear.</string>
</property>
</action>
<action name="actionQuit">
<property name="icon">
<iconset resource="icons.qrc">
<normaloff>:/window-close.png</normaloff>:/window-close.png</iconset>
</property>
<property name="text">
<string>&Quit</string>
</property>
<property name="statusTip">
<string>Quit Reportbug-NG.</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
</action>
<action name="actionSettings">
<property name="text">
<string>&Settings</string>
</property>
<property name="statusTip">
<string>Change Reportbug-NG's settings.</string>
</property>
</action>
<action name="actionAbout">
<property name="text">
<string>About Reportbug NG</string>
</property>
</action>
<action name="actionAboutQt">
<property name="text">
<string>About Qt</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>
<class>QWebView</class>
<extends>QWidget</extends>
<header>QtWebKit/QWebView</header>
</customwidget>
<customwidget>
<class>PackageLineEdit</class>
<extends>QLineEdit</extends>
<header>packagelineedit.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>lineEdit</tabstop>
<tabstop>tableView</tabstop>
<tabstop>webView</tabstop>
</tabstops>
<resources>
<include location="icons.qrc"/>
</resources>
<connections>
<connection>
<sender>actionQuit</sender>
<signal>activated()</signal>
<receiver>MainWindow</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>473</x>
<y>340</y>
</hint>
</hints>
</connection>
</connections>
</ui>