Duncan-

> What you can try is to uncomment the line and then add a print or _debug_
> just below the line.
>
> Like:
> print 'command=%r' % (command,)
> or
> _debug_('command=%r' % (command,))
> it needs to be indented at the same level as the command.append(file)

After adding the debug statement _and_ uncommenting line 73 the tuxnes
is working and the log shows the following:
2007-12-17 17:52:05,578 DEBUG    genericitem.py (74):
command=['--prio=-20', '/usr/bin/tuxnes', '-1/dev/input/js0',
'-2/dev/input/js1', '-G800x600', '/mnt/
anime/NES/1942.NES']
2007-12-17 17:52:05,581 DEBUG    genericitem.py (74):
command=['--prio=-20', '/usr/bin/tuxnes', '-1/dev/input/js0',
'-2/dev/input/js1', '-G800x600', '/mnt/
anime/NES/720.NES']
2007-12-17 17:52:05,583 DEBUG    genericitem.py (74):
command=['--prio=-20', '/usr/bin/tuxnes', '-1/dev/input/js0',
'-2/dev/input/js1', '-G800x600', '/mnt/
anime/NES/ABOYANDH.NES']
<repeated for every game in the Dir>
2007-12-17 17:52:05,586 DEBUG    genericitem.py (74):
command=['--prio=-20', '/usr/bin/tuxnes', '-1/dev/input/js0',
'-2/dev/input/js1', '-G800x600', '/mnt/
anime/NES/BARTVSWO.NES']

2007-12-17 15:20:22,249 DEBUG    genericitem.py (107): Playing:
/mnt/anime/NES/digdug.nes
2007-12-17 15:20:22,286 DEBUG    game.py (99): Game.play(): Starting
thread, cmd=['--prio=-20', '/usr/bin/tuxnes', '-1/dev/input/j0',
'-2/dev/input/j1', '-G800x600', '/mnt/anime/NES/digdug.nes']
2007-12-17 15:20:22,363 DEBUG    childapp.py (147): Running (list)
"/usr/bin/tuxnes -1/dev/input/j0 -2/dev/input/j1 -G800x600
/mnt/anime/NES/digdug.nes" with pid 2780 priority -20


As a side note I find the pylirc disablement to be a bit of annoying.
I makes it hard to leave the games. I do not have this issue with
1.6.2, so I am wondering why the change.

With line 73 commented out I get this=
2007-12-17 18:10:46,277 DEBUG    genericitem.py (74):
command=['--prio=-20', '/usr/bin/tuxnes', '-1/dev/input/js0',
'-2/dev/input/js1', '-G800x600', '-e4']
2007-12-17 18:10:46,279 DEBUG    genericitem.py (74):
command=['--prio=-20', '/usr/bin/tuxnes', '-1/dev/input/js0',
'-2/dev/input/js1', '-G800x600', '-e4']
<this repeated for every game in the Dir>
2007-12-17 18:10:46,282 DEBUG    genericitem.py (74):
command=['--prio=-20', '/usr/bin/tuxnes', '-1/dev/input/js0',
'-2/dev/input/js1', '-G800x600', '-e4']
.....
2007-12-17 18:12:09,088 DEBUG    genericitem.py (107): Playing:
/mnt/anime/NES/digdug.nes
2007-12-17 18:12:09,108 DEBUG    game.py (99): Game.play(): Starting
thread, cmd=['--prio=-20', '/usr/bin/tuxnes', '-1/dev/input/js0',
'-2/dev/input/js1', '-G800x600', '-e4']
2007-12-17 18:12:09,144 DEBUG    childapp.py (147): Running (list)
"/usr/bin/tuxnes -1/dev/input/js0 -2/dev/input/js1 -G800x600 -e4" with
pid 6034 priority -20


Evan
(Maybe slow I but iget there eventually)

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to