[Kde-bindings] [Bug 269710] New: pykdeuic4 broken in 4.6.x
Kevin Kofler
kevin.kofler at chello.at
Tue Mar 29 15:27:50 UTC 2011
https://bugs.kde.org/show_bug.cgi?id=269710
Summary: pykdeuic4 broken in 4.6.x
Product: bindings
Version: unspecified
Platform: Fedora RPMs
OS/Version: Linux
Status: NEW
Severity: crash
Priority: NOR
Component: general
AssignedTo: kde-bindings at kde.org
ReportedBy: kevin.kofler at chello.at
Version: unspecified (using KDE 4.6.1)
OS: Linux
pykdeuic4 in kdebindings 4.6.x doesn't work with PyQt4 4.8.2 which it
supposedly requires. See: https://bugzilla.redhat.com/show_bug.cgi?id=684419
Reproducible: Always
Steps to Reproduce:
1.create ui file with qt-designer
2.pykdeuic4 -o file.py file.ui
Actual Results:
Traceback
Expected Results:
No traceback
At first you get:
Traceback (most recent call last):
File "/usr/bin/pykdeuic4", line 148, in <module>
main()
File "/usr/bin/pykdeuic4", line 145, in main
processUI(args[0], output_filename, exe)
File "/usr/bin/pykdeuic4", line 74, in processUI
winfo = comp.compileUi(uifile, output)
TypeError: compileUi() takes exactly 4 arguments (3 given)
This is fixed in master, so it can be fixed by backporting:
https://projects.kde.org/projects/kde/kdebindings/pykde4/repository/revisions/3d84be0316c62136aa02f6a0a5482652d9582242
But that only gets you until the next traceback:
Traceback (most recent call last):
File "/usr/bin/pykdeuic4", line 148, in <module>
main()
File "/usr/bin/pykdeuic4", line 145, in main
processUI(args[0], output_filename, exe)
File "/usr/bin/pykdeuic4", line 74, in processUI
winfo = comp.compileUi(uifile, output, None)
File "/usr/lib64/python2.7/site-packages/PyQt4/uic/Compiler/compiler.py",
line 119, in compileUi
w = self.parse(input_stream)
File "/usr/lib64/python2.7/site-packages/PyQt4/uic/uiparser.py", line 879, in
parse
actor(elem)
File "/usr/lib64/python2.7/site-packages/PyQt4/uic/uiparser.py", line 720, in
createUserInterface
self.wprops.setProperties(self.toplevelWidget, elem)
File "/usr/lib64/python2.7/site-packages/PyQt4/uic/properties.py", line 403,
in setProperties
prop_value = self.convert(prop, widget)
File "/usr/lib64/python2.7/site-packages/PyQt4/uic/properties.py", line 368,
in convert
return func(prop[0], **args)
File "/usr/lib64/python2.7/site-packages/PyQt4/uic/properties.py", line 148,
in _string
prop.get('comment'), QtGui.QApplication.UnicodeUTF8)
File "/usr/lib64/python2.7/site-packages/PyQt4/uic/Compiler/qtproxies.py",
line 238, in translate
return i18n_string(text or "", disambig)
TypeError: __init__() takes exactly 2 arguments (3 given)
which doesn't appear to be fixed in master either.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kde-bindings
mailing list