Launchpad Bug Tracker
2011-04-26 04:07:01 UTC
You have been subscribed to a public bug:
1. Impact: .ui files are not compiled into .py files. Instead a
Python traceback is output and the resulting .py file is mostly blank (a
bit of explanatory "this file was generated" text is all that's there)
2. How it's fixed: Modify the compileUi() call to include an additional
argument ("False") to satisfy the API change in Qt.Compiler
3. Patch: see
http://people.ubuntu.com/~maco.m/needs_sponsorship/kdebindings_4.6.2b-
0ubuntu2.dsc
4. TEST CASE
1. See attached .ui file
2. pykdeuic4 -o ui_twoPanes.py twoPanes.ui
Expected result:
- no traceback crashy Python output
- ui_twoPanes.py has lots of Python inside
(Bad result = crashy Python output and mostly blank ui_TwoPanes.py)
5. No known regression potential. Patch is coming from upstream.
=====
Symptoms are the following in a build log:
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)
Followed by an ImportError when the application being built is
eventually run.
** Affects: kdebindings (Ubuntu)
Importance: Medium
Assignee: Mackenzie Morgan (maco.m)
Status: Triaged
** Tags: amd64 apport-bug natty
1. Impact: .ui files are not compiled into .py files. Instead a
Python traceback is output and the resulting .py file is mostly blank (a
bit of explanatory "this file was generated" text is all that's there)
2. How it's fixed: Modify the compileUi() call to include an additional
argument ("False") to satisfy the API change in Qt.Compiler
3. Patch: see
http://people.ubuntu.com/~maco.m/needs_sponsorship/kdebindings_4.6.2b-
0ubuntu2.dsc
4. TEST CASE
1. See attached .ui file
2. pykdeuic4 -o ui_twoPanes.py twoPanes.ui
Expected result:
- no traceback crashy Python output
- ui_twoPanes.py has lots of Python inside
(Bad result = crashy Python output and mostly blank ui_TwoPanes.py)
5. No known regression potential. Patch is coming from upstream.
=====
Symptoms are the following in a build log:
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)
Followed by an ImportError when the application being built is
eventually run.
** Affects: kdebindings (Ubuntu)
Importance: Medium
Assignee: Mackenzie Morgan (maco.m)
Status: Triaged
** Tags: amd64 apport-bug natty
--
pykdeuic4's processUi() calls compileUi() with 3 args instead of the 4 required by PyQt4.uic.Compiler.compiler
https://bugs.launchpad.net/bugs/695590
You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to kdebindings in Ubuntu.
pykdeuic4's processUi() calls compileUi() with 3 args instead of the 4 required by PyQt4.uic.Compiler.compiler
https://bugs.launchpad.net/bugs/695590
You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to kdebindings in Ubuntu.