Bug#645470: alacarte: completely broken: cannot add nor menus nor items

Norbert Preining preining at logic.at
Sun Oct 16 00:02:09 UTC 2011


Package: alacarte
Version: 0.13.2-3
Severity: grave
Justification: renders package unusable

neither "New Menu" nor "New Item" buttons are functional, that means
it is useless.

Log in the terminal screen:
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "pk-gtk-module"
Traceback (most recent call last):
  File "/usr/share/alacarte/Alacarte/MainWindow.py", line 277, in waitForNewMenuProcess
    self.editor.insertExternalMenu(os.path.split(file_path)[1], parent_id)
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 229, in insertExternalMenu
    self.__addXmlDefaultLayout(self.__getXmlMenu(self.__getPath(parent), dom, dom) , dom)
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 473, in __getXmlMenu
    node = self.__addXmlMenuElement(element, name, dom)
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 484, in __addXmlMenuElement
    return element.appendChild(node)
  File "/usr/lib/python2.7/xml/dom/minidom.py", line 1550, in appendChild
    "two document elements disallowed")
xml.dom.HierarchyRequestErr: two document elements disallowed
Gtk-Message: Failed to load module "pk-gtk-module"
Traceback (most recent call last):
  File "/usr/share/alacarte/Alacarte/MainWindow.py", line 277, in waitForNewMenuProcess
    self.editor.insertExternalMenu(os.path.split(file_path)[1], parent_id)
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 229, in insertExternalMenu
    self.__addXmlDefaultLayout(self.__getXmlMenu(self.__getPath(parent), dom, dom) , dom)
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 473, in __getXmlMenu
    node = self.__addXmlMenuElement(element, name, dom)
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 484, in __addXmlMenuElement
    return element.appendChild(node)
  File "/usr/lib/python2.7/xml/dom/minidom.py", line 1550, in appendChild
    "two document elements disallowed")
xml.dom.HierarchyRequestErr: two document elements disallowed
Gtk-Message: Failed to load module "pk-gtk-module"
Traceback (most recent call last):
  File "/usr/share/alacarte/Alacarte/MainWindow.py", line 266, in waitForNewItemProcess
    self.editor.insertExternalItem(os.path.split(file_path)[1], parent)
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 216, in insertExternalItem
    self.__addItem(parent, file_id, dom)
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 651, in __addItem
    xml_parent = self.__getXmlMenu(self.__getPath(parent), dom, dom)
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 473, in __getXmlMenu
    node = self.__addXmlMenuElement(element, name, dom)
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 484, in __addXmlMenuElement
    return element.appendChild(node)
  File "/usr/lib/python2.7/xml/dom/minidom.py", line 1550, in appendChild
    "two document elements disallowed")
xml.dom.HierarchyRequestErr: two document elements disallowed


I tried to create a new menu called
	"Local"
that didn't succeed. Then I tried to create an item called mailatfobar
that also did not succeed.

Enjoy



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

Kernel: Linux 3.1.0-rc9-wb+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages alacarte depends on:
ii  gnome-menus     3.0.1-2 
ii  python          2.7.2-9 
ii  python-gmenu    3.0.1-2 
ii  python-gobject  2.28.6-5
ii  python-gtk2     2.24.0-2
ii  python-support  1.0.14  

Versions of packages alacarte recommends:
ii  gnome-panel  3.0.2-1

alacarte suggests no packages.

-- no debconf information





More information about the pkg-gnome-maintainers mailing list