*** This bug is a duplicate of bug 81190 ***

OK, I debugged this.

The problem is line 554 in /usr/share/python-support/python-xdg/xdg/Menu.py:
parent.Name = child.childNodes[0].nodeValue

The problem is triggered when nodeValue contains non-ascii characters.

I'll attach a three-line patch which enables debug output to show the
problem. Unfortunately I don't know Python (or xdg) well enough to know
what the correct solution is and how to implement it.

But I think you will be able to fix it easily...

I'll also attach a .desktop file which triggers this behaviour. As I had
expected it got installed by Wine...

** Attachment added: "Patch to enable debug output"
   http://librarian.launchpad.net/6367862/xdg-menu-debug.patch

-- 
[apport] update-app-install crashed with UnicodeEncodeError in __eq__()
https://launchpad.net/bugs/84019

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to