Bug 503

Summary: PyQt4's uic has a little bug that prevents the uic to run
Product: Mageia Reporter: Lucien XU <sfietkonstantin>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

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