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 1026 - mainwindows/recentfiles.py fails
: mainwindows/recentfiles.py fails
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: Examples
: 1.0.7
: PC Linux
: P3 normal
Assigned To: Paulo Alcantara
:
:
:
  Show dependency treegraph
 
Reported: 2011-10-16 13:45 EEST by anatoly techtonik
Modified: 2011-10-20 22:53 EEST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anatoly techtonik 2011-10-16 13:45:17 EEST
$ python recentfiles.py 
Traceback (most recent call last):
  File "recentfiles.py", line 220, in <module>
    mainWin = MainWindow()
  File "recentfiles.py", line 49, in __init__
    self.createMenus()
  File "recentfiles.py", line 132, in createMenus
    self.updateRecentFileActions()
  File "recentfiles.py", line 198, in updateRecentFileActions
    numRecentFiles = min(len(files), MainWindow.MaxRecentFiles)
TypeError: object of type 'NoneType' has no len()
Comment 1 Paulo Alcantara 2011-10-19 23:13:50 EEST
Fixed on commit 060dca8e4b82f301dfb33a7182767eaf8ad3d024.
Comment 2 Hugo Parente Lima 2011-10-20 22:53:45 EEST
Released on 1.0.8.