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 660112 - gmenu-simple-editor broken due to unfinished port to PyGi
gmenu-simple-editor broken due to unfinished port to PyGi
Status: RESOLVED FIXED
Product: gnome-menus
Classification: Core
Component: general
3.2.x
Other OpenBSD
: Normal major
: ---
Assigned To: gnome-menus dummy account
gnome-menus dummy account
Depends on:
Blocks:
 
 
Reported: 2011-09-26 09:37 UTC by Jasper Lievisse Adriaanse
Modified: 2011-09-27 10:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jasper Lievisse Adriaanse 2011-09-26 09:37:41 UTC
It seems the port of gmenu-simple-editor was never really finished, or at least it doesn't work with the latest PyGi:
Traceback (most recent call last):
  • File "/usr/local/bin/gmenu-simple-editor", line 28 in <module>
    GMenuSimpleEditor.main.main (sys.argv[1:])
  • File "/usr/local/lib/python2.7/site-packages/GMenuSimpleEditor/main.py", line 26 in main
    from gi.repository import Gtk
  • File "/usr/local/lib/python2.7/site-packages/gi/__init__.py", line 23 in <module>
    from ._gi import _API, Repository
ImportError: could not import gobject (error was: ImportError('When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject".',))

doings  a simple 's,import gobject,from gi.repository import GObject,g' isn't really enough yet, so it would be appreciated if someone could finish this port.
Comment 1 Vincent Untz 2011-09-27 10:10:14 UTC
Fixed it in git.
Comment 2 Jasper Lievisse Adriaanse 2011-09-27 10:22:41 UTC
Great, thanks.