There is an issue with xmame crashing when it scans for roms.
I changed line 222 in vi
/usr/lib/python2.4/site-packages/freevo/games/mame_cache to fix this issue.
from :
listinfo = os.popen( mame_cmd + ' --listxml', 'r' )
to:
os.system( mame_cmd + ' -listxml -out /tmp/roms')
listinfo = os.popen( 'cat /tmp/roms', 'r')
This error is caused by the fact that when you call the '-listxml'
command xmame prints errors and general information also. By using the
'-out' option also it allows you to capture ONLY the output from
'-listxml' and dump it to a file. Then we can just read that file with
the XML parser. This may not be the cleanest way to do this, if
/tmp/roms exists it will just add to the file not replace it, but at
least we know where the issue is now.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel