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 654167 - alacarte crashed with ExpatError in parseFile(): not well-formed (invalid token): line 3, column 2
alacarte crashed with ExpatError in parseFile(): not well-formed (invalid tok...
Status: RESOLVED FIXED
Product: alacarte
Classification: Applications
Component: general
0.13.x
Other Linux
: Normal critical
: ---
Assigned To: Alacarte Maintainer(s)
Alacarte Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-07-07 15:41 UTC by Pedro Villavicencio
Modified: 2012-06-01 06:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pedro Villavicencio 2011-07-07 15:41:41 UTC
this report has been filed here:

https://bugs.launchpad.net/ubuntu/+source/alacarte/+bug/806987

"while right clicking on "Applications" to edit the menu of course i cant edit the menu (as it crash)"

"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 60 in __loadMenus
    self.settings.dom = xml.dom.minidom.parse(self.settings.path)
  • File "/usr/lib/python2.7/xml/dom/minidom.py", line 1914 in parse
    return expatbuilder.parse(file)
  • File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 924 in parse
    result = builder.parseFile(fp)
  • File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 207 in parseFile
    parser.Parse(buffer, 0)
ExpatError: not well-formed (invalid token): line 3, column 2"

Comment 1 Jasper St. Pierre (not reading bugmail) 2012-06-01 06:10:06 UTC
Somehow an invalid XML file was written to that location. I'm now guarding against ExpatError.