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 330268 - app.py:834
app.py:834
Status: RESOLVED DUPLICATE of bug 304372
Product: Gazpacho
Classification: Deprecated
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: Gazpacho Maintainer(s)
Gazpacho Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2006-02-07 13:39 UTC by Thomas-Keul
Modified: 2006-02-07 19:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thomas-Keul 2006-02-07 13:39:24 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 -------

Comment 1 Thomas-Keul 2006-02-07 19:25:24 UTC
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
Comment 2 Johan (not receiving bugmail) Dahlin 2006-02-07 19:28:28 UTC

*** This bug has been marked as a duplicate of 304372 ***