wildbill12 wrote:Having problems running RF-mod in linux, Mandriva 2007 distro.
Here's the error
Traceback (most recent call last):
File "/usr/local/src/lang/cx_Freeze-3.0.3/initscripts/Console.py", line 27, in ?
File "FretsOnFire.py", line 94, in ?
File "GameEngine.py", line 218, in
File "Data.py", line 48, in
File "Data.py", line 116, in loadSvgDrawing
File "Svg.py", line 576, in convertToTexture
File "Svg.py", line 597, in _render
File "Svg.py", line 554, in _cacheDrawing
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/sax2exts.py", line 37, in make_parser
return XMLParserFactory.make_parser(parser_list)
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/saxexts.py", line 75, in make_parser
sys.modules[parser_name].create_parser = _create_parser
KeyError: 'xml.sax.drivers2.drv_pyexpat'
Someone in this thread had this same error in Fedora, but it doesn't look like it was ever resolved.
Is this error related to the Ubuntu unicode error that someone explained how to fix?
The really odd thing about this is that my laptop running Mandriva 2007 runs RF-mod no problem, while the desktop does not. Same version of libxml, python-pyxml, libpython, etc.
Another thing. There is no /usr/lib/python2.4/site-packages/_xmlplus directory, rather that directory is in /usr/lib/python2.5. Can I simply change wherever this may be pointing to?
Thanks for the help
I dont really know the detailed answer to your question, but
the xml library is a very basic one in python.
_xmlplus is a suppliment library which overloads the xml library with additional functions.
xml.sax.drivers2.drv_pyexpat is really
_xmlplus.sax.drivers2.drv_pyexpat, but because of whatever overloading tricks python does it makes it seem like it's xml. I i know I had a lot of difficulties in originally getting it to work. My guess is either an incompatible library or it's not finding the correct one.
That explanation might point you in the right direction
If you're familiar with strace I would use that on the working one, and the non working one and see what library or other thing it's not finding and where it is trying to load it from.
-Alex