google-code-export / labyrinth

Automatically exported from code.google.com/p/labyrinth
GNU General Public License v2.0
2 stars 0 forks source link

Labyrinth crashes after recent updates #139

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install updates between 9/14 and 9/17 2009
2. Try to run labyrinth
3. Cry deeply.

What is the expected output? What do you see instead?
Crashes with these messages:
Traceback (most recent call last):
  File "/usr/bin/labyrinth", line 46, in <module>
    import Browser
  File "/usr/lib/python2.5/site-packages/labyrinth/Browser.py", line 33, in
<module>
    import MainWindow
  File "/usr/lib/python2.5/site-packages/labyrinth/MainWindow.py", line 33,
in <module>
    from MapList import MapList
  File "/usr/lib/python2.5/site-packages/labyrinth/MapList.py", line 200,
in <module>
    MapList.load_all_from_dir(utils.get_save_dir ())
  File "/usr/lib/python2.5/site-packages/labyrinth/MapList.py", line 108,
in load_all_from_dir
    cls.new_from_file(dir+f)
  File "/usr/lib/python2.5/site-packages/labyrinth/MapList.py", line 117,
in new_from_file
    map._read_from_file(filename)
  File "/usr/lib/python2.5/site-packages/labyrinth/MapList.py", line 49, in
_read_from_file
    doc = dom.parse (filename)
  File "/usr/lib/python2.5/xml/dom/minidom.py", line 1915, in parse
    return expatbuilder.parse(file)
  File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 924, in parse
    result = builder.parseFile(fp)
  File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 211, in parseFile
    parser.Parse("", True)
xml.parsers.expat.ExpatError: no element found: line 1, column 0

What version of the product are you using? On what operating system?
Ubuntu 8.04 -- I am using whatever version is currently available in the
Ubuntu repositories. (0.4 maybe?)

Please provide any additional information below.
I used it on Monday, so some system update that was patched between then
(9/14/09) and now (9/17/09) causes Labyrinth to tank.

Original issue reported on code.google.com by armahi...@gmail.com on 17 Sep 2009 at 3:13

GoogleCodeExporter commented 9 years ago
If you check ~/.gnome2/labyrinth/ then you'll likely find that some of your 
previous 
mindmaps are 0-byte files for some reason.
If you remove the 0-byte files then Labyrinth will work once more.

Original comment by daniel.r...@gmail.com on 6 Dec 2009 at 2:29

GoogleCodeExporter commented 9 years ago
Fixed with revision 354

Original comment by matthias...@gmail.com on 23 Apr 2011 at 3:37