Michael Brown wrote:
> Hi Folks!
> 
> Hoping someone can help me get duplicate detection going in the recordserver. 
>  If I enable it, I get the following errors in the log:
> 
> 2007-09-30 11:50:41,737 INFO     new process watcher instance
> 2007-09-30 11:50:42,088 INFO     recordserver.py (136) : PLUGIN_RECORD: 33
> 2007-09-30 11:50:42,093 INFO     ivtv_record.py (67)  : ACTIVATING IVTV 
> RECORD PLUGIN
> 2007-09-30 11:50:42,096 INFO     recordserver.py (1523): top of the minute in 
> 18 seconds
> 2007-09-30 11:51:00,241 INFO     recordserver.py (281) : Got 
> ScheduledRecordings (version 2).
> 2007-09-30 11:51:24,716 INFO     recordserver.py (671) : Duplicate detection 
> enabled
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 601, in 
> requestReceived
>     self.process()
>   File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 160, in 
> process
>     self.render(resrc)
>   File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 167, in 
> render
>     body = resrc.render(self)
>   File "/usr/lib/python2.4/site-packages/twisted/web/xmlrpc.py", line 117, in 
> render
>     defer.maybeDeferred(function, *args).addErrback(
> --- <exception caught here> ---
>   File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 
> 107, in maybeDeferred
>     result = f(*args, **kw)
>   File "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", 
> line 1489, in xmlrpc_updateFavoritesSchedule
>     (status, response) = self.updateFavoritesSchedule()
>   File "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", 
> line 1231, in updateFavoritesSchedule
>     self.scheduleRecording(prog)
>   File "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", 
> line 710, in scheduleRecording
>     (duplicateBool, duplicateReason) = self.checkDuplicateDetection(prog)
>   File "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", 
> line 672, in checkDuplicateDetection
>     if self.doesFavoriteAllowDuplicates(prog):
>   File "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", 
> line 1147, in doesFavoriteAllowDuplicates
>     _debug_('DUP: %s'%fav.allowDuplicates, config.DINFO)
> exceptions.AttributeError: Favorite instance has no attribute 
> 'allowDuplicates'
> 
> Same thing happens if I enable 'onlyNew'.
> 
> I'm gessing that there is a database that has the favourites, and that the 
> schema doesn't have those fields.
> 
> Any idea how to fix it?  If it's a schema issue, should there be a function 
> to upgrade the db schema on freevo upgrades?

One solution is to turn off debugging as this is being caused by a bug
in a debug statement, :).

This is only a temp solution, can you raise a bug report of the tracker?
https://sourceforge.net/tracker/?func=add&group_id=46652&atid=446895

Duncan


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to