On Tue, 16 January, 2007 10:44 am, Mika Orajärvi wrote:
> Hi,
> I'm using Freevo 1.7.0-rc2, but this same problem has been around at least
>  since 1.5.x.
>
> I have the following fdx which I use to start xine for vdr usage:
>
>
> -------------------------------------
> <?xml version="1.0" ?>
> <freevo>
> <command title="Watch TV">
> <cmd>/home/htpc/startup_scripts/xine_start_tv</cmd>
> <stoposd />
> <info>
> <content>It is just a test</content>
> </info>
> </command>
> </freevo>
> --------------------------------------
>
>
> All goes well after choosing the command from main menu. But after ~15-20
>  minutes freevo crashes, leaving xine still running. But obviously after
> xine is closed there's nothing to return to.. Here's the debug output:

It looks like it is trying to draw something on a surface that doesn't
exist. I would guess that the event loop (rc.py) should pause when an
external command is running and stoposd has been specified.

May be the solution is simply preventing the draw or poll calls under this
condition but how to do this would need investigating.

I can remember that trying to use gimp didn't work too well with freevo
running.

Duncan

> __init__.py (216): Building the xml hash database...
> __init__.py (248): done
> osd.py (567): Setting fullscreen mode to 0 logging child to
> "/var/log/freevo/command-stdout.log"
> logging child to "/var/log/freevo/command-stderr.log" self.t1.isAlive
> ()=True, self.t2.isAlive()=True
> ChildApp.__init__(), pid=6329, app=
> /home/htpc/startup_scripts/xine_start_tv, poll=-1
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/freevo/main.py", line 285, in
> eventhand ler app.eventhandler(event) File
> "/usr/lib/python2.4/site-packages/freevo/menu.py", line 642, in
> eventhand ler action( arg=arg, menuw=self ) File
> "/usr/lib/python2.4/site-packages/freevo/plugins/command.py", line
> 234, i n flashpopup
> rc.poll() File "/usr/lib/python2.4/site -packages/freevo/rc.py", line 118,
> in poll return get_singleton().poll() File
> "/usr/lib/python2.4/site-packages/freevo/rc.py", line 552, in poll
> c[0](*c[4]) File
> "/usr/lib/python2.4/site-packages/freevo/plugins/idlebar/__init__.py", li
> ne 123, in poll
> skin.redraw() File
> "/usr/lib/python2.4/site-packages/freevo/skins/main/main.py", line
> 467, i n redraw
> self.draw(self.last_draw[0], self.last_draw[1], self.last_draw[2]) File
> "/usr/lib/python2.4/site-packages/freevo/skins/main/main.py", line
> 527, i n draw
> osd.update([self.screen.show (self.force_redraw)]) File
> "/usr/lib/python2.4/site-packages/freevo/skins/main/screen.py", line
> 199, in show
> osd.screenblit(layer, (u[0], u[1]), (u[0], u[1], u[2] - u[0], u[3] - u[1]))
>  File "/usr/lib/python2.4/site-packages/freevo/osd.py", line 791, in
> screenblit ret = self.screen.blit(source, destpos, sourcerect) error:
> display Surface quit osd.py (211): Couldnt load font "Arial_Bold.ttf"
> osd.py (217): trying alternate: verabd.ttf Crash!
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/freevo/main.py", line 458, in ?
> MainTread().run()
> File "/usr/lib/python2.4/site-packages/freevo/main.py", line 322, in run
> self.eventhandler(rc.get_event(True)) File
> "/usr/lib/python2.4/site-packages/freevo/main.py", line 310, in
> eventhand ler pop.show() File
> "/usr/lib/python2.4/site-packages/freevo/gui/GUIObject.py", line 191,
> in show self.draw() File "/usr/lib/python2.4/site
> -packages/freevo/gui/GUIObject.py", line 259,
> in draw self._draw() File
> "/usr/lib/python2.4/site-packages/freevo/gui/Window.py", line 133, in
> _dr aw
> self.surface = self.osd.Surface(self.get_size()).convert_alpha() error:
> cannot convert without pygame.display initialized childapp.py (194):
> childapp: killing pid 6329 signal 15
> childapp.py (200): childapp: Before wait(6329) childapp.py (215): childapp:
> After wait()
> Oops, command refuses to die, try bad hack....
> Try harder to kill the app....
> PANIC
> -------------------------------------------------------------------------
> 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
> Freevo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>
>



-------------------------------------------------------------------------
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
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to