Hello,
I have a problem with Freevo 1.5.2 recordserver. I am using the web interface 
and sometimes in the TV Guide when I click on a program to schedule it for 
recording, it won't schedule it. The "Scheduled Recordings" screen loads but 
the program isn't there. 
If I go to freevo directory, run "./freevo recordserver stop" and "./freevo 
recordserver start" and then do it again, the program is added to scheduled 
recordings.

Here's the part of recordserver log that (hopefully?) shows  what is happening:

2005/01/31 11:07 EET [HTTPChannel,59,127.0.0.1] GET: reading cached file 
(/var/cache/freevo/record_schedule.xml)
2005/01/31 11:07 EET [HTTPChannel,59,127.0.0.1] Return cached data
2005/01/31 11:07 EET [HTTPChannel,59,127.0.0.1] 127.0.0.1 - - 
[31/Jan/2005:09:07:36 +0000] "POST / HTTP/1.0" 200 9468 "-" "xmlrpclib.
py/1.0.1 (by www.pythonware.com)"
2005/01/31 11:07 EET [HTTPChannel,60,127.0.0.1] 127.0.0.1 - - 
[31/Jan/2005:09:07:44 +0000] "POST / HTTP/1.0" 200 230 "-" "xmlrpclib.p
y/1.0.1 (by www.pythonware.com)"
2005/01/31 11:07 EET [HTTPChannel,61,127.0.0.1] findProg: 3.katso.fi, 1107206700
2005/01/31 11:07 EET [HTTPChannel,61,127.0.0.1] CHANNEL MATCH: 3.katso.fi
2005/01/31 11:07 EET [HTTPChannel,61,127.0.0.1] PROGRAM MATCH: Ruuvit 
löysällä
2005/01/31 11:07 EET [HTTPChannel,61,127.0.0.1] 127.0.0.1 - - 
[31/Jan/2005:09:07:44 +0000] "POST / HTTP/1.0" 200 1520 "-" "xmlrpclib.
py/1.0.1 (by www.pythonware.com)"
2005/01/31 11:07 EET [HTTPChannel,62,127.0.0.1] scheduleRecording: 
prog.channel_id="3.katso.fi" chan.id="3.katso.fi" chan.tunerid="E1
0"
2005/01/31 11:07 EET [HTTPChannel,62,127.0.0.1] GET: reading cached file 
(/var/cache/freevo/record_schedule.xml)
2005/01/31 11:07 EET [HTTPChannel,62,127.0.0.1] Return cached data
2005/01/31 11:07 EET [HTTPChannel,62,127.0.0.1] addProgram: key is 
"3.katso.fi:1107206700"
2005/01/31 11:07 EET [HTTPChannel,62,127.0.0.1] Traceback (most recent call 
last):
          File 
"/home/tomi/freevo-1.5.2/runtime/lib/python2.3/site-packages/twisted/protocols/http.py",
 line 549, in requestReceived
            self.process()
          File 
"/home/tomi/freevo-1.5.2/runtime/lib/python2.3/site-packages/twisted/web/server.py",
 line 159, in process
            self.render(resrc)
          File 
"/home/tomi/freevo-1.5.2/runtime/lib/python2.3/site-packages/twisted/web/server.py",
 line 166, in render
            body = resrc.render(self)
          File 
"/home/tomi/freevo-1.5.2/runtime/lib/python2.3/site-packages/twisted/web/xmlrpc.py",
 line 131, in render
            defer.maybeDeferred(function, *args).addErrback(
        --- <exception caught here> ---
          File 
"/home/tomi/freevo-1.5.2/runtime/lib/python2.3/site-packages/twisted/internet/defer.py",
 line 104, in maybeDeferred
            result = f(*args, **kw)
          File "/home/tomi/freevo-1.5.2/src/helpers/recordserver.py", line 743, 
in xmlrpc_scheduleRecording
            (status, response) = self.scheduleRecording(prog)
          File "/home/tomi/freevo-1.5.2/src/helpers/recordserver.py", line 255, 
in scheduleRecording
            scheduledRecordings.addProgram(prog, tv_util.getKey(prog))
          File "/home/tomi/freevo-1.5.2/src/tv/record_types.py", line 69, in 
addProgram
            print 'addProgram: actually adding "%s"' % String(prog)
          File 
"/home/tomi/freevo-1.5.2/runtime/lib/python2.3/site-packages/twisted/python/log.py",
 line 295, in write
            d = (self.buf + data).split('\n')
        exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in 
position 86: ordinal not in range(128)

2005/01/31 11:07 EET [HTTPChannel,62,127.0.0.1] 127.0.0.1 - - 
[31/Jan/2005:09:07:44 +0000] "POST / HTTP/1.0" 200 263 "-" "xmlrpclib.p
y/1.0.1 (by www.pythonware.com)"
2005/01/31 11:07 EET [HTTPChannel,63,127.0.0.1] GET: reading cached file 
(/var/cache/freevo/record_schedule.xml)
2005/01/31 11:07 EET [HTTPChannel,63,127.0.0.1] Return cached data
2005/01/31 11:07 EET [HTTPChannel,63,127.0.0.1] 127.0.0.1 - - 
[31/Jan/2005:09:07:44 +0000] "POST / HTTP/1.0" 200 9468 "-" "xmlrpclib.
py/1.0.1 (by www.pythonware.com)"
2005/01/31 11:07 EET [HTTPChannel,64,127.0.0.1] GET: reading cached file 
(/var/cache/freevo/record_schedule.xml)
2005/01/31 11:07 EET [HTTPChannel,64,127.0.0.1] Return cached data
2005/01/31 11:07 EET [HTTPChannel,64,127.0.0.1] 127.0.0.1 - - 
[31/Jan/2005:09:07:44 +0000] "POST / HTTP/1.0" 200 6207 "-" "xmlrpclib.
py/1.0.1 (by www.pythonware.com)"
2005/01/31 11:07 EET [HTTPChannel,65,127.0.0.1] 127.0.0.1 - - 
[31/Jan/2005:09:07:45 +0000] "POST / HTTP/1.0" 200 243 "-" "xmlrpclib.p
y/1.0.1 (by www.pythonware.com)"
2005/01/31 11:07 EET [HTTPChannel,66,127.0.0.1] 127.0.0.1 - - 
[31/Jan/2005:09:07:45 +0000] "POST / HTTP/1.0" 200 243 "-" "xmlrpclib.p
y/1.0.1 (by www.pythonware.com)"
2005/01/31 11:07 EET [twisted.web.server.Site] (Port 18001 Closed)
2005/01/31 11:07 EET [twisted.web.server.Site] Stopping factory 
<twisted.web.server.Site instance at 0x41a2806c>
2005/01/31 11:07 EET [*RecordServer*] Main loop terminated.
2005/01/31 11:08 EET [-] Log opened.
2005/01/31 11:08 EET [-] ACTIVATING GENERIC RECORD PLUGIN
2005/01/31 11:08 EET [-] Record_Thread::run: mode=idle
2005/01/31 11:08 EET [-] top of the minute in 50 seconds
2005/01/31 11:08 EET [*RecordServer*] twisted.web.server.Site starting on 18001
2005/01/31 11:08 EET [*RecordServer*] Starting factory <twisted.web.server.Site 
instance at 0x41a2806c>
2005/01/31 11:08 EET [HTTPChannel,0,127.0.0.1] 127.0.0.1 - - 
[31/Jan/2005:09:08:10 +0000] "POST / HTTP/1.0" 200 230 "-" "xmlrpclib.py
/1.0.1 (by www.pythonware.com)"
2005/01/31 11:08 EET [HTTPChannel,1,127.0.0.1] findProg: 3.katso.fi, 1107206700
2005/01/31 11:08 EET [HTTPChannel,1,127.0.0.1] epg_xmltv.py (101): XMLTV, 
reading cached file (/var/cache/freevo/TV.xml.pickled)
2005/01/31 11:08 EET [HTTPChannel,1,127.0.0.1] epg_xmltv.py (129): XMLTV, got 
cached guide (version 6).
2005/01/31 11:08 EET [HTTPChannel,1,127.0.0.1] CHANNEL MATCH: 3.katso.fi
2005/01/31 11:08 EET [HTTPChannel,1,127.0.0.1] PROGRAM MATCH: Ruuvit löysällä
2005/01/31 11:08 EET [HTTPChannel,1,127.0.0.1] 127.0.0.1 - - 
[31/Jan/2005:09:08:10 +0000] "POST / HTTP/1.0" 200 1520 "-" "xmlrpclib.p
y/1.0.1 (by www.pythonware.com)"
2005/01/31 11:08 EET [HTTPChannel,2,127.0.0.1] scheduleRecording: 
prog.channel_id="3.katso.fi" chan.id="3.katso.fi" chan.tunerid="E10
"
2005/01/31 11:08 EET [HTTPChannel,2,127.0.0.1] GET: reading cached file 
(/var/cache/freevo/record_schedule.xml)
2005/01/31 11:08 EET [HTTPChannel,2,127.0.0.1] Got ScheduledRecordings (version 
2).
2005/01/31 11:08 EET [HTTPChannel,2,127.0.0.1] ScheduledRecordings has 2 items.
2005/01/31 11:08 EET [HTTPChannel,2,127.0.0.1] addProgram: key is 
"3.katso.fi:1107206700"
2005/01/31 11:08 EET [HTTPChannel,2,127.0.0.1] addProgram: actually adding 
"2005-01-31 23:25 to 2005-02-01 00:05  3.katso.fi Ruuvit l
öysällä"
2005/01/31 11:08 EET [HTTPChannel,2,127.0.0.1] addProgram: len is "3"
2005/01/31 11:08 EET [HTTPChannel,2,127.0.0.1] SAVE: saving cached file 
(/var/cache/freevo/record_schedule.xml)
2005/01/31 11:08 EET [HTTPChannel,2,127.0.0.1] SAVE: ScheduledRecordings has 3 
items.
2005/01/31 11:08 EET [HTTPChannel,2,127.0.0.1] in checkToRecord
2005/01/31 11:08 EET [HTTPChannel,2,127.0.0.1] GET: reading cached file 
(/var/cache/freevo/record_schedule.xml)
2005/01/31 11:08 EET [HTTPChannel,2,127.0.0.1] Return cached data
2005/01/31 11:08 EET [HTTPChannel,2,127.0.0.1] checkToRecord: progloop = 
2005-01-31 19:05 to 2005-01-31 20:00  1.katso.fi Prisma: Par
antava solu
2005/01/31 11:08 EET [HTTPChannel,2,127.0.0.1] checkToRecord: progloop = 
2005-01-31 22:00 to 2005-01-31 22:35  4.katso.fi Paritellen
2005/01/31 11:08 EET [HTTPChannel,2,127.0.0.1] checkToRecord: progloop = 
2005-01-31 23:25 to 2005-02-01 00:05  3.katso.fi Ruuvit löys
ällä


First I try to schedule a program and recordserver catches an exception. The I 
stop and restart the recordserver and schedule the program successfully. 

Thanks,
Tomi


...................................................................
Luukku Plus paketilla pääset eroon tila- ja turvallisuusongelmista.
Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to