A while back, in bug 2512357, I reported a problem with the favorites
not being displayed properly prioritized in the web server and attached
a traceback similar to the one below. The bug report was closed when
I was too busy with other stuff to repspond to a comment.
Since I am now running a recent 1.8.4 svn, and have just had the same
traceback, it's probably worth discussing this and perhaps re-opening
that bug.
The main problem:
- the traceback below, ending in:
recordserver.py", line 596, in conflictResolution
conflictedProgram = conflictedPrograms[0]
IndexError: list index out of range
Seen when:
- this one was during a "freevo tv_grab"; in fact, this one
is from the tv_grab log file
- the TV listings have been downloaded and
TV.xml and TV.xml.pickled are new
- the schedulefavorites has not completed:
schedule.pickle is not current
Previously, I had also seen this error in the webserver log after
editing favorites from the web interface when I had also noted that
the favorites are not listed in the proper order. (This is still a
problem, by the way.) But the IndexError problem appears to be when
schedulefavorites is run.
My TV listings come from ScheduleDirect (tv_grab_na_dd) and are the
us-bcast ones for my area.
If I remove TV.xml* and start over, it will complete OK, and it will
be OK for a few more days, then the problem repeats.
This was a problem with 1.8.3 also.
-jr
================================================================================
Freevo 1.8.4-svn r11499 started at Sun May 17 03:00:02 2009
--------------------------------------------------------------------------------
2009-05-17 03:00:02,823 INFO config.py (523): LOGDIR: /var/log
/var/log/freevo
2009-05-17 03:00:02,825 INFO config.py (524): STATICDIR: /var/db
/var/db/freevo
2009-05-17 03:00:02,827 INFO config.py (525): CACHEDIR: /var/db
/var/db/freevo
2009-05-17 03:00:02,868 INFO config.py (544): Loading freevo configuration
file "/var/db/freevo/.freevo/freevo.conf"
2009-05-17 03:00:03,601 INFO new process watcher instance
2009-05-17 03:00:04,748 INFO config.py (633): Loading local configuration
file "/usr/local/etc/freevo/local_conf.py"
2009-05-17 03:00:04,852 INFO config.py (1033): overlaydir:
/var/db/freevo/vfs
Grabbing listings.
Sorting listings.
caching data, this may take a while
2009-05-17 03:17:04,984 INFO epg_xmltv.py (137): copying '/tmp/TV.xml.tmp'
-> '/var/db/freevo/TV.xml'
2009-05-17 03:17:12,827 INFO create thread notifier pipe
Scheduling favorites for recording:
2009-05-17 03:17:28,627 ERROR Unhandled InProgress exception:
IndexError: Exception raised asynchronously; traceback follows:
File "/usr/local/lib/python2.5/site-packages/kaa/rpc.py", line 466, in
_handle_packet_after_auth
result = self._callbacks[function](*args, **kwargs)
File "/usr/local/lib/python2.5/site-packages/freevo/helpers/recordserver.py",
line 1334, in updateFavoritesSchedule
self.scheduleRecording(prog)
File "/usr/local/lib/python2.5/site-packages/freevo/helpers/recordserver.py",
line 713, in scheduleRecording
(ableToResolveBool, resolutionReason, progsToChange) =
self.conflictResolution(prog)
File "/usr/local/lib/python2.5/site-packages/freevo/helpers/recordserver.py",
line 596, in conflictResolution
conflictedProgram = conflictedPrograms[0]
IndexError: list index out of range
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users