GNOME Bugzilla – Bug 330268
app.py:834
Last modified: 2006-02-07 19:28:28 UTC
Package: Gazpacho Version: 0.6.5 Synopsis: app.py:834 Bugzilla-Product: Gazpacho Bugzilla-Component: general Date: 2006-02-07 14:39 User name: Thomas (Thomas-Keul@t-online.de) The user was doing the following task: I wanted to open the project I created yesterday. It is named "UI_Haushalt" - and the underline is transformed in the file menu into a shortcut "H" Exception traceback: File C:\Python24\Lib\site-packages\gazpacho\app\app.py, line 834, in _open_project_cb self.open_project(path) File C:\Python24\Lib\site-packages\gazpacho\app\app.py, line 644, in open_project project = Project.open(path, self) File C:\Python24\Lib\site-packages\gazpacho\project.py, line 217, in open loader = GazpachoObjectBuilder(filename=path, buffer=buffer, app=app) File C:\Python24\Lib\site-packages\gazpacho\project.py, line 46, in __init__ ObjectBuilder.__init__(self, **kwargs) File C:\Python24\Lib\site-packages\gazpacho\loader\loader.py, line 331, in __init__ self._parser.parse_file(filename) File C:\Python24\Lib\site-packages\gazpacho\loader\loader.py, line 145, in parse_file self._parser.ParseFile(fp) File C:\Python24\Lib\site-packages\gazpacho\loader\loader.py, line 165, in _handle_endelement func(item) File C:\Python24\Lib\site-packages\gazpacho\loader\loader.py, line 211, in _end_widget obj.gobj = self._build_phase1(obj) File C:\Python24\Lib\site-packages\gazpacho\loader\loader.py, line 635, in _build_phase1 gobj = self._uimanager_construct(constructor, obj.id) File C:\Python24\Lib\site-packages\gazpacho\loader\loader.py, line 521, in _uimanager_construct raise AssertionError AssertionError Gazpacho version: 0.6.5 Python version: 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] GTK+ version: (2, 8, 8) PyGTK version: (2, 8, 4) Platform: win32 ------- Bug created by bug-buddy at 2006-02-07 13:39 -------
Ok, the error is in the generated XML file. This line causes the crash: <widget constructor="initial-state" class="GtkToolbar" id="toolbar"> In detail it is the attribute constructor="initial-state". If I delete it gazpacho will accept the file and start but no toolbar is displayed. Same happens to menubar. Thomas
*** This bug has been marked as a duplicate of 304372 ***