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 591149 - regression in the project settings dialog
regression in the project settings dialog
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: User interface
Git
Other Linux
: Normal blocker
: 0.13.2
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2009-08-08 13:11 UTC by Jean-François Fortin Tam
Modified: 2009-08-10 18:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2009-08-08 13:11:39 UTC
As of current git pitivi, the project settings dialog only shows the name and description fields. In the terminal, the following traceback occurs:

jeff@kusanagi:~/trunks/pitivi/pitivi$ bin/pitivi 
AttributeError: 'module' object has no attribute 'Element'
Traceback (most recent call last):
  • File "pitivi/ui/glade.py", line 61 in flumotion_glade_custom_handler
    % (code, module, e))
RuntimeError: Failed call ExportSettingsWidget() in module pitivi.ui.exportsettingswidget: __init__() takes exactly 2 arguments (1 given)
Traceback (most recent call last):
  File "pitivi/ui/mainwindow.py", line 562, in _projectSettingsCb
    ProjectSettingsDialog(self, self.app.current).show()
  File "pitivi/ui/projectsettings.py", line 35, in __init__
    self.widgets["exportwidget"].setSettings(self.project.getSettings())
AttributeError: 'gtk.Label' object has no attribute 'setSettings'
Comment 1 Edward Hervey 2009-08-10 18:05:52 UTC
According to git-bisect, it was broken by this commit:

commit d957370d1a652e724e65970f33b5ab8bccff8dbb
Author: Brandon Lewis <brandon_lewis@berkeley.edu>
Date:   Sat Aug 1 15:11:33 2009 -0700

    encodingdialog.py, exportesttingswidget.py: pass application instance in
    constructor
Comment 2 Edward Hervey 2009-08-10 18:46:17 UTC
commit 369b8774f216f014bf52c28d3123f07f00f64753
Author: Edward Hervey <bilboed@bilboed.com>
Date:   Mon Aug 10 20:43:39 2009 +0200

    ProjectSettings: Manually create/add Widget. Fixes #591149
    
    The problem was introduced by commit d957370, which required an extra
    __init__ argument to ExportSettingsWidget... which glade didn't have.