Traceback (most recent call last):
File "/usr/share/alacarte/Alacarte/MainWindow.py", line 432, in
on_item_tree_show_toggled
self.editor.setVisible(item, False)
File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 200, in setVisible
menu_xml = self.__getXmlMenu(self.__getPath(item), 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
The cause for both these bugs seems to be python 2.7. If I change
/usr/bin/alacarte's shebang line to "#! /usr/bin/python2.6 -OOt" it
works again as expected.
- Fabian
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]