Hans Meine wrote:
> Hi again,
> 
> maybe I should not run a potentially unstable development version on the 
> living room HTPC used by my wife, but now I am facing the following problems 
> (apart from the non-working recordserver):
> 
> 1) Freevo just showed her a "crash" message; the autoshutdown plugin seems to 
> suffer from some new event type:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/freevo/main.py", line 306, in 
> eventhandler
>     app.eventhandler(event)
>   File "/usr/lib/python2.5/site-packages/freevo/util/benchmark.py", line 91, 
> in origfunc
>     return func(*args, **kwargs)
>   File "/usr/lib/python2.5/site-packages/freevo/menu.py", line 816, in 
> eventhandler
>     if not isinstance(menu, Menu) and menu.eventhandler(event):
>   File "/usr/lib/python2.5/site-packages/freevo/tv/programitem.py", line 385, 
> in eventhandler
>     event_consumed = ScrollableTextScreen.eventhandler(self, event, menuw)
>   
> File 
> "/usr/lib/python2.5/site-packages/freevo/skin/widgets/scrollabletext_screen.py",
>  
> line 103, in eventhandler
>     self.menuw.eventhandler('MENU_SUBMENU')
>   File "/usr/lib/python2.5/site-packages/freevo/util/benchmark.py", line 91, 
> in origfunc
>     return func(*args, **kwargs)
>   File "/usr/lib/python2.5/site-packages/freevo/menu.py", line 894, in 
> eventhandler
>     if p.eventhandler(event=event, menuw=self):
>   File "/usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py", 
> line 
> 364, in eventhandler
>     if plugin.isevent(event) != 'IDENTIFY_MEDIA' and 
> event.name != 'SCREENSAVER_START':
> AttributeError: 'str' object has no attribute 'name'

This is weird, I use the autoshutdown module and don't see this error.
But I think the test is incorrect. It should be
and event != Event('SCREENSAVER_START')
again freevo prompt comes in handy here:
# freevo prompt
Python 2.6.1 (r261:67515, Jan 24 2009, 14:48:40)
[GCC 4.1.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from event import *
>>> Event('SCREENSAVER_START')
SCREENSAVER_START: <class 'event.Event'>

There seems to be problem with kaa.display and autoshutdown, at least
last time I enabled this. So I removed the kaa.display from the
site-packages which fixed the problem. I suspect that this could be a
problem with the SystemExit calls but have not had time to check that my
fixes are correct. (got distracted with the high CPU usage when using
DirectFB)

> 2) My wife guessed that one reason for the crashing recordserver (which I 
> told 
> her I believed to have something to do with conflict resolution, although I 
> do not assume that anymore) has to do with the favorites; until recently she 
> could manually select programs to be recorded and remove a conflicting 
> favorite; now schedulefavorites adds the favorite again and removes the 
> desired program instead.  This is a bad regression, but my wife just 
> changed/removed the favorite to work around that.
> 
> 3) The main.log is swamped now with messages concerning the rom drive polling:
> 
>   -> plugins.rom_drives.check_all
>     -> plugins.rom_drives.identify
>       -> plugins.rom_drives.get_drive_status
>         -> plugins.rom_drives.drive_status_text
>         <- plugins.rom_drives.drive_status_text: 0.0000
>       <- plugins.rom_drives.get_drive_status: 0.0068
>     <- plugins.rom_drives.identify: 0.0077
>     -> plugins.rom_drives.get_drive_status_changed
>     <- plugins.rom_drives.get_drive_status_changed: 0.0000
>   <- plugins.rom_drives.check_all: 0.0098
> 
> Since this happens frequently, the log is already some megabytes large 
> (although I had disabled debug output again).

Sorry, forgot to disable this.

> 4) I am getting these warnings, but so far I have just ignored them:
> 
> 2009-01-31 21:19:15,881 WARNING  v4l2.py (768): control "Audio Encoding 
> Layer" 
> does not exist
> 2009-01-31 21:19:15,990 WARNING  v4l2.py (768): control "Audio Encoding 
> Layer" 
> does not exist
> 2009-01-31 21:19:15,993 WARNING  v4l2.py (768): control "Audio Encoding 
> Layer" 
> does not exist
> 2009-01-31 21:19:15,997 WARNING  v4l2.py (781): control "Audio Encoding 
> Layer" 
> does not exist

AFAIK these are not important, it is because of one of the changes to
the IVTV driver (usually undocumented)

Duncan

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to