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 590506 - hamster-applet crashed with GError in load_ui_file()
hamster-applet crashed with GError in load_ui_file()
Status: RESOLVED FIXED
Product: hamster-applet
Classification: Deprecated
Component: general
2.27.x
Other All
: Normal minor
: ---
Assigned To: hamster-applet-maint
hamster-applet-maint
Depends on:
Blocks:
 
 
Reported: 2009-08-02 06:24 UTC by Krzysztof Klimonda
Modified: 2009-08-02 09:12 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28



Description Krzysztof Klimonda 2009-08-02 06:24:34 UTC
Please describe the problem:
A following traceback is thrown when I try to access a preferences menu:
Traceback (most recent call last):
  • File "/usr/lib/python2.6/dist-packages/hamster/applet.py", line 878 in show_preferences
    self.preferences_editor = PreferencesEditor(self)
  • File "/usr/lib/python2.6/dist-packages/hamster/preferences.py", line 94 in __init__
    self._gui = stuff.load_ui_file("preferences.ui")
  • File "/usr/lib/python2.6/dist-packages/hamster/stuff.py", line 36 in load_ui_file
    ui.add_from_file(os.path.join(SHARED_DATA_DIR, name))
GError: Duplicate object id 'dummy' on line 272 (previously on line 222)

Steps to reproduce:
1. Right-click on hamster-applet
2. Select Preferences
3. Profit


Actual results:
A traceback is thrown

Expected results:
To see open Preferences dialog

Does this happen every time?
No, but it's fairly often - I was able to reproduce it ~10 times in last 10 minutes.

Other information:
Downstream bug from Ubuntu: https://bugs.edge.launchpad.net/bugs/387939
Comment 1 Toms Bauģis 2009-08-02 09:08:18 UTC
Thanks for the report Krzysztof!

Gave all the objects with id "dummy" more appropriate names.
Just out of interest - I could not reproduce the crush on my system though - are you running some kind of special testing version or are you testing gnome 2.27 all together?

Fixed in git master
Comment 2 Krzysztof Klimonda 2009-08-02 09:12:25 UTC
It's a Ubuntu development version so I have most of GNOME 2.27.x (and GTK+ 2.17.x).