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 354415 - error when clicking on "Applications"
error when clicking on "Applications"
Status: RESOLVED FIXED
Product: gimmie
Classification: Deprecated
Component: general
0.1.x
Other All
: Normal normal
: ---
Assigned To: Gimmie Maintainers
Gimmie Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-09-05 10:57 UTC by Claudio Belotti
Modified: 2006-10-08 19:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Claudio Belotti 2006-09-05 10:57:16 UTC
Please describe the problem:
when I click on the "Applications" label nothing happens and I got the
following:

Traceback (most recent call last):
  • File "/tmp/gimmie-0.1.1/gimmie_gui.py", line 382 in do_clicked
    self.topic_win = self.topic.get_topic_window()
  • File "/tmp/gimmie-0.1.1/gimmie_base.py", line 324 in get_topic_window
    self.topic_window = TopicWindow(self)
  • File "/tmp/gimmie-0.1.1/gimmie_topicwin.py", line 631 in __init__
    self._find_first_button()
  • File "/tmp/gimmie-0.1.1/gimmie_topicwin.py", line 683 in _find_first_button
    items = source.get_items()
  • File "/tmp/gimmie-0.1.1/gimmie_base.py", line 183 in get_items
    self.do_reload()
  • File "/tmp/gimmie-0.1.1/gimmie_applications.py", line 311 in do_reload
    self.add_recurse(self.menu_directory.contents, items)
  • File "/tmp/gimmie-0.1.1/gimmie_applications.py", line 321 in add_recurse
    self.add_recurse(child.contents, items)
  • File "/tmp/gimmie-0.1.1/gimmie_applications.py", line 322 in add_recurse
    elif child.get_desktop_file_id() not in (x.get_desktop_file_id() for x in items):
AttributeError: 'gmenu.Separator' object has no attribute 'get_desktop_file_id'


Steps to reproduce:
1. run ./gimmie.py
2. left-click on the label "Applications"


Actual results:
nothing happens, I got an error on the terminal

Expected results:
I expect an Application window to open

Does this happen every time?
yes

Other information:
Debian 'etch', Linux 2.6.16-2-686
python-gmenu 2.14.3-1
python-gnome2-dev 2.12.4-4
python-gnome2-extras-dev 2.14.2-1
python-gnome2-desktop-dev 2.14.0-3
Comment 1 David Trowbridge 2006-10-08 19:01:32 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.

2006-10-08  David Trowbridge  <trowbrds@gmail.com>

        * gimmie_applications.py (MenuSource): don't assume that gmenu items
        which aren't directories are entries.  This fixes bug #354415.