Bug#622900: alacarte: AttributeError: 'NoneType' object has no attribute 'startswith'

Julian Andres Klode jak at debian.org
Fri Apr 15 17:23:48 UTC 2011


Package: alacarte
Version: 0.13.2-1
Severity: grave
Tags: experimental

Starting alacarte gives me:

Traceback (most recent call last):
  File "/usr/bin/alacarte", line 37, in <module>
    main()
  File "/usr/bin/alacarte", line 33, in main
    app = MainWindow(datadir, version, sys.argv)
  File "/usr/share/alacarte/Alacarte/MainWindow.py", line 49, in __init__
    self.editor = MenuEditor()
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 36, in __init__
    self.__loadMenus()
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 61, in __loadMenus
    self.settings.dom = xml.dom.minidom.parseString(util.getUserMenuXml(self.settings.tree)) 	 
  File "/usr/share/alacarte/Alacarte/util.py", line 196, in getUserMenuXml
    system_file = getSystemMenuPath(tree.get_menu_file())
  File "/usr/share/alacarte/Alacarte/util.py", line 190, in getSystemMenuPath
    file_path = os.path.join('/', 'etc', 'xdg', 'menus', file_name)
  File "/usr/lib/python2.6/posixpath.py", line 65, in join
    if b.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'

Tagging as experimental, as that's most likely related to gmenu 3.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (250, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages alacarte depends on:
ii  gnome-menus                  3.0.0-1     GNOME implementation of the freede
ii  python                       2.6.6-12    interactive high-level object-orie
ii  python-gmenu                 3.0.0-1     GNOME implementation of the freede
ii  python-gobject               2.28.3-2    Python bindings for the GObject li
ii  python-gtk2                  2.17.0-4+b1 Python bindings for the GTK+ widge
ii  python-support               1.0.11      automated rebuilding support for P

Versions of packages alacarte recommends:
ii  gnome-panel                   3.0.0.1-1  launcher and docking facility for 

alacarte suggests no packages.

-- no debconf information

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20110415/02e87df9/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list