What steps will reproduce the problem?
1. Start Hooke
Error message:
python hooke.py
Starting Hooke.
Traceback (most recent call last):
File "hooke.py", line 61, in <module>
config=config_obj.load_config('hooke.conf')
File "/home/phdstudent/hooke/libhooke.py", line 165, in load_config
self.config_tree=xml.dom.minidom.parseString(the_file)
File "/usr/lib/python2.5/xml/dom/minidom.py", line 1925, in parseString
return expatbuilder.parseString(string)
File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 940, in parseString
return builder.parseString(string)
File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 1
This is due to the hooke.conf file being corrupted. The easiest way this
happens is:
- modify your hooke.conf
- update latest snapshot with SVN
- SVN messes with hooke.conf
- try to restart it
Best solution I can think of now is taking hooke.conf away from svn and
using a hooke.conf.EXAMPLE file, but this would require the user to mess by
hand everytime. Gotta think about that.
Original issue reported on code.google.com by devicera...@gmail.com on 7 Jul 2009 at 2:30
Original issue reported on code.google.com by
devicera...@gmail.com
on 7 Jul 2009 at 2:30