Justin Wetherell wrote:

Christoph Kaminski wrote:

Hi!

I have a Problem with MAME and freevo...

If I start it, freevo crashes and I see these errors:

Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/freevo/main.py", line 315, in eventhandler
app.eventhandler(event)
File "/usr/lib/python2.3/site-packages/freevo/menu.py", line 561, in eventhandler
action( arg=arg, menuw=self )
File "/usr/lib/python2.3/site-packages/freevo/directory.py", line 451, in cwd
self.check_password_and_build(arg=None, menuw=menuw)
File "/usr/lib/python2.3/site-packages/freevo/directory.py", line 506, in check_password_and_build
self.build(arg=arg, menuw=menuw)
File "/usr/lib/python2.3/site-packages/freevo/directory.py", line 612, in build
for i in p.get(self, files):
File "/usr/lib/python2.3/site-packages/freevo/games/__init__.py", line 92, in get
(rm_files, mame_list) = mame_cache.getMameItemInfoList(mame_files, cmd)
File "/usr/lib/python2.3/site-packages/freevo/games/mame_cache.py", line 312, in getMameItemInfoList
mame_ok = updateMameRomList(mame_cmd)
File "/usr/lib/python2.3/site-packages/freevo/games/mame_cache.py", line 284, in updateMameRomList
if xmame_semimajor_version( mame_cmd ) == FALSE :
File "/usr/lib/python2.3/site-packages/freevo/games/mame_cache.py", line 279, in xmame_semimajor_version
return result
UnboundLocalError: local variable 'result' referenced before assignment


What can I do?



Are you using xmame or advancemame? I believe I have fixed it.


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users

Try replacing this line:
this_re = re.compile( ".*version\s+(\d+)\.(\d+)\.(\d+)\s+" )
with:
this_re = re.compile( ".*[version|AdvanceMAME]\s+(\d+)\.(\d+)\.(\d+)\s+", re.IGNORECASE )
in file:
src/games/mame_cache.py


Which version of mame are you using?


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to