PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 158 - Errors when running examples/mainwindows/mdi/mdi.py
: Errors when running examples/mainwindows/mdi/mdi.py
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: Examples
: HEAD
: All All
: P5 normal
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2010-02-22 11:32 EET by Bruno Araujo
Modified: 2010-03-24 16:31 EET (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Araujo 2010-02-22 11:32:03 EET
Each time a new document is created: 
[static Shiboken::TypeResolver* Shiboken::TypeResolver::get(const char*)] Can't
find type resolver for 15QWorkspaceChild

When you have 10 documents open and click on Window menu:

Error calling slot "updateWindowMenu" 
Traceback (most recent call last):
  File "mdi.py", line 255, in updateWindowMenu
    text = self.tr("%1 %2").arg(i + 1).arg(child.userFriendlyFile())
AttributeError: 'MdiChild' object has no attribute 'userFriendlyFile'
Comment 1 Bruno Araujo 2010-02-22 11:32:28 EET
Fix typo in bug summary.
Comment 2 Hugo Parente Lima 2010-03-17 17:44:26 EET
This is a bug in the example code, not in the bindings.
Comment 3 Hugo Parente Lima 2010-03-17 17:52:17 EET
Waiting for code reviews to get into mainline.

http://qt.gitorious.org/pyside/pyside-examples/merge_requests/7

btw, the messages displayed are normal and are only show when in a debug build.
Comment 4 Hugo Parente Lima 2010-03-17 19:12:07 EET
Fixed in commit pyside-examples/c86f1c442e409785b5e2bc51e97f577ccb0adc03