Bug 503 - PyQt4's uic has a little bug that prevents the uic to run
Summary: PyQt4's uic has a little bug that prevents the uic to run
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal minor
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-23 19:24 CET by Lucien XU
Modified: 2011-03-26 00:28 CET (History)
0 users

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Lucien XU 2011-03-23 19:24:03 CET
Description of problem:
In one of the UIC source file, there is a typo that prevents UIC to run.
I do not know how to write patches but here is the correction : 

in /usr/lib/python2.7/site-packages/PyQt4/uic, there is a file that is called uiparser.py. In this file, at line 161, replace StackedWidget by QStackedWidget.


Version-Release number of selected component (if applicable):
4.8.2-2mga1

How reproducible:
Always

Steps to Reproduce:
1. Use UIC in a program
2. The python trace will complain that at line 161 of the uiparser.py the StackedWidget is not found.
3. Correct the file will allow the UIC to work.


Reproducible: 

Steps to Reproduce:
Comment 1 Ahmad Samir 2011-03-26 00:28:16 CET
python-qt4-4.8.3 included that exact fix, so this bug was fixed by the update.

Closing.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.