After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 656532 - Traceback when trying to open project settings
Traceback when trying to open project settings
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: User interface
0.14.2
Other Linux
: Normal major
: 0.15
Assigned To: Stéphane Maniaci
Pitivi maintainers
: 657041 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-08-14 20:43 UTC by Jean-François Fortin Tam
Modified: 2011-08-22 01:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2011-08-14 20:43:50 UTC


  • File "pitivi/ui/projectsettings.py", line 539 in updateUI
    year = int(self.project.year)
ValueError: invalid literal for int() with base 10: '2011.0'

Comment 1 Jean-François Fortin Tam 2011-08-16 17:38:01 UTC
commit 14820f76de66af1a50a00d6e438daef7391c6e8e
Author: Jean-François Fortin Tam <nekohayo@gmail.com>
Date:   Tue Aug 16 13:21:11 2011 -0400

    Get the project year as an integer from the project settings UI
    
    Fixes bug #656532
Comment 2 Jean-François Fortin Tam 2011-08-16 17:41:22 UTC
Note: if someone uses pitivi 0.14.2, the project year will incorrectly be written as a float converted to string in the project file. This commit prevents that kind of thing to be written in the future, but if someone has already been affected, you need to edit the .xptv file with a text editor and remove the ".0" after the year.

Example: "2011.0" needs to be replaced by "2011".
Comment 3 Fabio Durán Verdugo 2011-08-22 01:08:20 UTC
*** Bug 657041 has been marked as a duplicate of this bug. ***