google-code-export / labyrinth

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

Doesn't start #153

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I tried opening at the menu, but it didn't start.

What is the expected output? What do you see instead?
I tried it at the terminal, this is the result:
thomas@ubuntu:~$ labyrinth
/usr/lib/python2.6/dist-packages/labyrinth/MainWindow.py:24: 
DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
Traceback (most recent call last):
  File "/usr/bin/labyrinth", line 46, in <module>
    from labyrinth import Browser
  File "/usr/lib/python2.6/dist-packages/labyrinth/Browser.py", line 33, in <module>
    import MainWindow
  File "/usr/lib/python2.6/dist-packages/labyrinth/MainWindow.py", line 33, in <module>
    from MapList import MapList
  File "/usr/lib/python2.6/dist-packages/labyrinth/MapList.py", line 218, in <module>
    MapList.load_all_from_dir(utils.get_save_dir ())
  File "/usr/lib/python2.6/dist-packages/labyrinth/MapList.py", line 103, in load_all_from_dir
    cls.new_from_file(dir+f)
  File "/usr/lib/python2.6/dist-packages/labyrinth/MapList.py", line 112, in new_from_file
    map._read_from_file(filename)
  File "/usr/lib/python2.6/dist-packages/labyrinth/MapList.py", line 49, in _read_from_file
    doc = dom.parse (filename)
  File "/usr/lib/python2.6/xml/dom/minidom.py", line 1918, in parse
    return expatbuilder.parse(file)
  File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 924, in parse
    result = builder.parseFile(fp)
  File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 211, in parseFile
    parser.Parse("", True)
xml.parsers.expat.ExpatError: no element found: line 1, column 0
thomas@ubuntu:~$ 

What version of the product are you using? On what operating system?
0.4.1-0ubuntu5 on Ubuntu 10.10

Please provide any additional information below.

Original issue reported on code.google.com by berendst...@gmail.com on 8 Dec 2010 at 8:17

GoogleCodeExporter commented 9 years ago
I also am having this problem. Terminal output for "labyrinth" is identical to 
OP.

Original comment by cfree...@gmail.com on 8 Dec 2010 at 8:40

GoogleCodeExporter commented 9 years ago
The problem is a broken map file, the solution: 
Delete the broken map file in ~/.gnome2/labyrinth
Your map will be lost.

Original comment by berendst...@gmail.com on 9 Dec 2010 at 7:54

GoogleCodeExporter commented 9 years ago
Thanx!, i had the same problem, but now is working again!

Original comment by jaimeram...@gmail.com on 3 Mar 2011 at 8:55

GoogleCodeExporter commented 9 years ago
Thanks for figuring it on your own. That DeprecationWarning should also be gone 
by now.

Original comment by matthias...@gmail.com on 23 Apr 2011 at 2:18

GoogleCodeExporter commented 9 years ago
Hi, in my case was an empty file.
After removing from ~/.gnome2/labyrinth started working again

Original comment by luca.ca...@gmail.com on 24 Jun 2011 at 7:40