Re: [Freevo-users] recordserver problem

2007-07-29 Thread Duncan Webb
Jody Gugelhupf wrote:
 hi ppl :) 
 i run freevo 1.7.3 on ubuntu feisty, having problem with the recordserver, 
 something is going
 wrong, recordlog shows following:
 
 2007/07/16 23:24 CEST [HTTPChannel,13,127.0.0.1] going to record: Mon 
 2007-07-16 23:26-23:30
 (01:00)  mtv.com Manual Record
 2007/07/16 23:24 CEST [HTTPChannel,13,127.0.0.1] start recording: Mon 
 2007-07-16 23:26-23:30
 (01:00)  mtv.com Manual Record
 2007/07/16 23:24 CEST [HTTPChannel,13,127.0.0.1] channels.py (162): Using 
 custom frequency:
 chan=MTV, freq=767250
 2007/07/16 23:24 CEST [HTTPChannel,13,127.0.0.1] Recorder::Record: 
 /usr/local/bin/mencoder tv://
 -tv
 driver=v4l2:input=0:norm=pal:channel=MTV:chanlist=europe-west:width=320:height=240:brightness=-16:contrast=-20:saturation=100:outfmt=yuy2:device=/dev/video0:adevice=/dev/dsp:audiorate=44100
 -ovc x264 -x264encopts bitrate=1000 -oac mp3lame -lameopts br=128:cbr:mode=3 
 -ffourcc divx -endpos
 467 -o /home/jody/TVrecords/Manual_Record_-_07-16_23:26.avi
 2007/07/16 23:24 CEST [HTTPChannel,13,127.0.0.1] 127.0.0.1 - - 
 [16/Jul/2007:21:24:02 +] POST
 / HTTP/1.0 200 251 - xmlrpclib.py/1.0.1 (by www.pythonware.com)
 2007/07/16 23:24 CEST [-] Record_Thread::run: mode=record
 2007/07/16 23:24 CEST [-] Record_Thread::run: cmd=/usr/local/bin/mencoder 
 tv:// -tv
 driver=v4l2:input=0:norm=pal:channel=MTV:chanlist=europe-west:width=320:height=240:brightness=-16:contrast=-20:saturation=100:outfmt=yuy2:device=/dev/video0:adevice=/dev/dsp:audiorate=44100
 -ovc x264 -x264encopts bitrate=1000 -oac mp3lame -lameopts br=128:cbr:mode=3 
 -ffourcc divx -endpos
 467 -o /home/jody/TVrecords/Manual_Record_-_07-16_23:26.avi
 2007/07/16 23:24 CEST [-] Record logging to /tmp/freevo/recorder_stdout.log 
 and
 /tmp/freevo/recorder_stderr.log
 2007/07/16 23:24 CEST [-] childapp.py (134): Running (str) 
 /usr/local/bin/mencoder tv:// -tv
 driver=v4l2:input=0:norm=pal:channel=MTV:chanlist=europe-west:width=320:height=240:brightness=-16:contrast=-20:saturation=100:outfmt=yuy2:device=/dev/video0:adevice=/dev/dsp:audiorate=44100
 -ovc x264 -x264encopts bitrate=1000 -oac mp3lame -lameopts br=128:cbr:mode=3 
 -ffourcc divx -endpos
 467 -o /home/jody/TVrecords/Manual_Record_-_07-16_23:26.avi with pid 7471 
 prioity 0
 2007/07/16 23:24 CEST [-] childapp.py (406): logging stdout child to
 /tmp/freevo/mencoder-stdout.log
 2007/07/16 23:24 CEST [-] childapp.py (406): logging stderr child to
 /tmp/freevo/mencoder-stderr.log
 2007/07/16 23:24 CEST [*RecordServer*] RECORD_START Mon 2007-07-16 
 23:26-23:30 (01:00)  mtv.com
 Manual Record
 2007/07/16 23:24 CEST [*RecordServer*] fetch_image []
 2007/07/16 23:24 CEST [HTTPChannel,14,127.0.0.1] 127.0.0.1 - - 
 [16/Jul/2007:21:24:09 +] POST
 / HTTP/1.0 200 230 - xmlrpclib.py/1.0.1 (by www.pythonware.com)
 2007/07/16 23:24 CEST [HTTPChannel,15,127.0.0.1] 127.0.0.1 - - 
 [16/Jul/2007:21:24:09 +] POST
 / HTTP/1.0 200 3759 - xmlrpclib.py/1.0.1 (by www.pythonware.com)
 2007/07/16 23:25 CEST [*RecordServer*] checkToRecord 23:25:00
 2007/07/16 23:26 CEST [*RecordServer*] checkToRecord 23:26:00
 2007/07/16 23:27 CEST [*RecordServer*] checkToRecord 23:27:00
 2007/07/16 23:28 CEST [*RecordServer*] checkToRecord 23:28:00
 2007/07/16 23:29 CEST [*RecordServer*] checkToRecord 23:29:00
 2007/07/16 23:30 CEST [*RecordServer*] checkToRecord 23:30:00
 2007/07/16 23:31 CEST [*RecordServer*] checkToRecord 23:31:00
 2007/07/16 23:32 CEST [*RecordServer*] checkToRecord 23:32:00
 2007/07/16 23:32 CEST [*RecordServer*] found a program to clean: Mon 
 2007-07-16 23:26-23:30
 (01:00)  mtv.com Manual Record
 2007/07/16 23:32 CEST [-] autokill timeout, stopping recording
 2007/07/16 23:32 CEST [-] Record_Thread::run: past wait()!!
 2007/07/16 23:32 CEST [-] childapp.py (233): killing pid 7471 signal 2
 2007/07/16 23:32 CEST [-] childapp.py (239): Before wait(7471)
 2007/07/16 23:32 CEST [*RecordServer*] killing pid 7471 with signal 15
 2007/07/16 23:32 CEST [*RecordServer*] killing pid 7471 with signal 9
 2007/07/16 23:32 CEST [-] childapp.py (255): childapp: After wait()
 2007/07/16 23:32 CEST [-] childapp.py (423): stdout: no data, closing log
 2007/07/16 23:32 CEST [-] childapp.py (423): stderr: no data, closing log
 2007/07/16 23:32 CEST [*RecordServer*] failed to kill pid 7471
 2007/07/16 23:32 CEST [-] childapp.py (271): Oops, command refuses to die, 
 try bad hack
 2007/07/16 23:32 CEST [-] childapp.py (280): Try harder to kill the app
 2007/07/16 23:32 CEST [-] childapp.py (287): PANIC can't kill program
 2007/07/16 23:32 CEST [-] Record_Thread::run: finished recording
 2007/07/16 23:32 CEST [-] Record_Thread::run: mode=idle
 2007/07/16 23:32 CEST [*RecordServer*] RECORD_STOP Mon 2007-07-16 
 23:26-23:30 (01:00)  mtv.com
 Manual Record
 
 so it can't kill some processes, 'ps x' shows me these:
 
 7673 pts/1S  0:00 /usr/bin/python /home/jody/freevo-test/bin/freevo 
 execute
 /home/jody/freevo-test/lib/python2.5/site-packages/freevo/util/videothumb.pyc
 

Re: [Freevo-users] Recordserver problem

2005-09-30 Thread Henrik Farre
tor, 29 09 2005 kl. 21:00 +0200, skrev Robert Winder:

 Comment DEBUG=1 and try to record again. Long time ago but IRC DEBUG
 has to be disabled to record something with a ivtv card with 1.5.3.

That did the trick... :)

-- 
Mvh. / Kind regards
Henrik Farre - http://www.rockhopper.dk


signature.asc
Description: This is a digitally signed message part


Re: [Freevo-users] Recordserver problem

2005-09-29 Thread Robert Winder
On Thursday, September 29, 2005, 7:43:15 PM, freevo-users wrote:

 I can't get Freevo to record anything. Live TV works fine with MPlayer,
 but the recordserver only produces a *.fxd file but no recording.

 Output from recordserver-1000.log and my /etc/freevo/local_conf.py is
 attached.


Comment DEBUG=1 and try to record again. Long time ago but IRC DEBUG
has to be disabled to record something with a ivtv card with 1.5.3.


/Robert 



---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] recordserver problem

2004-02-07 Thread Josh Peck
it appears I missed one or two dependecies sorry guys :+)


On Sat, 2004-01-31 at 21:04, Josh Peck wrote:
 I've been wrestling with this for awhile
 
 I go to schedule a recording and i get an record_client.py unable to
 connect error in the OSD.
 
 through the web interface I get a page full of traceback data.
 
 here's my recordserver log (sorry about the length):
 
 2004/01/31 20:56 EST [-] Log opened.
 2004/01/31 20:56 EST [-] Record_Thread::run: mode=idle
 2004/01/31 20:56 EST [*RecordServer*] twisted.web.server.Site starting
 on 18001
 2004/01/31 20:56 EST [*RecordServer*] Starting factory
 twisted.web.server.Site
 instance at 0x41a4b2ec
 2004/01/31 20:57 EST [*RecordServer*] Traceback (most recent call last):
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/python/log.py, line 
 52, in callWithContext
 return context.call({ILogContext: newCtx}, func, *args,
 **kw)
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/python/context.py, 
 line 32, in callWithContext
 return func(*args,**kw)
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/internet/default.py, 
 line 122, in run
 self.mainLoop()
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/internet/default.py, 
 line 130, in mainLoop
 self.runUntilCurrent()
 --- exception caught here ---
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/internet/base.py, 
 line 411, in runUntilCurrent
 call.func(*call.args, **call.kw)
   File /usr/local/freevo/src/helpers/recordserver.py, line
 742, in minuteCheck
 rec_prog = self.checkToRecord()
   File /usr/local/freevo/src/helpers/recordserver.py, line
 318, in checkToRecord
 scheduledRecordings = self.getScheduledRecordings()
   File /usr/local/freevo/src/helpers/recordserver.py, line
 157, in getScheduledRecordings
 scheduledRecordings =
 marmalade.unjellyFromXML(open(config.RECORD_SCHEDULE, 'r'))
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/persisted/marmalade.py,
  line 413, in unjellyFromXML
 return unjellyFromDOM(document)
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/persisted/marmalade.py,
  line 390, in unjellyFromDOM
 return du.unjelly(document)
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/persisted/marmalade.py,
  line 245, in unjelly
 self.unjellyInto(l, 0, doc.childNodes[0])
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/persisted/marmalade.py,
  line 120, in unjellyInto
 o = self.unjellyNode(node)
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/persisted/marmalade.py,
  line 205, in unjellyNode
 clasz = namedClass(className)
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/python/reflect.py, 
 line 381, in namedObject
 module = namedModule(string.join(classSplit[:-1], '.'))
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/python/reflect.py, 
 line 369, in namedModule
 topLevel = __import__(name)
 exceptions.ImportError: No module named record_types
  
 2004/01/31 20:57 EST [HTTPChannel,0,127.0.0.1] 127.0.0.1 - -
 [01/Feb/2004:01:57:40 +] POST / HTTP/1.0 200 230 -
 xmlrpclib.py/1.0.1 (by www.pythonware.com)
 2004/01/31 20:57 EST [HTTPChannel,1,127.0.0.1] Traceback (most recent
 call last):
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/protocols/http.py, 
 line 549, in requestReceived
 self.process()
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/web/server.py, line 
 159, in process
 self.render(resrc)
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/web/server.py, line 
 166, in render
 body = resrc.render(self)
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/web/xmlrpc.py, line 
 131, in render
 defer.maybeDeferred(function, *args).addErrback(
 --- exception caught here ---
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/internet/defer.py, 
 line 104, in maybeDeferred
 result = f(*args, **kw)
   File /usr/local/freevo/src/helpers/recordserver.py, line
 587, in xmlrpc_getScheduledRecordings
 return (TRUE,
 marmalade.jellyToXML(self.getScheduledRecordings()))
   File /usr/local/freevo/src/helpers/recordserver.py, line
 157, in getScheduledRecordings
 scheduledRecordings =
 marmalade.unjellyFromXML(open(config.RECORD_SCHEDULE, 'r'))
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/persisted/marmalade.py,
  line 413, in 

Re: [Freevo-users] recordserver problem

2004-01-31 Thread Rob Shortt
Hmm, it looks like you updated from a fairly old version of Freevo.  Try 
either removing your record_schedule.xml or changing any instance of 
'record_types' to 'tv.record_types' if I recall correctly.

Josh Peck wrote:
I've been wrestling with this for awhile

I go to schedule a recording and i get an record_client.py unable to
connect error in the OSD.
through the web interface I get a page full of traceback data.

here's my recordserver log (sorry about the length):

2004/01/31 20:56 EST [-] Log opened.
2004/01/31 20:56 EST [-] Record_Thread::run: mode=idle
2004/01/31 20:56 EST [*RecordServer*] twisted.web.server.Site starting
on 18001
2004/01/31 20:56 EST [*RecordServer*] Starting factory
twisted.web.server.Site
instance at 0x41a4b2ec
2004/01/31 20:57 EST [*RecordServer*] Traceback (most recent call last):
  File
/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/python/log.py, line 52, in callWithContext
return context.call({ILogContext: newCtx}, func, *args,
**kw)
  File
/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/python/context.py, line 32, in callWithContext
return func(*args,**kw)
  File
/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/internet/default.py, line 122, in run
self.mainLoop()
  File
/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/internet/default.py, line 130, in mainLoop
self.runUntilCurrent()
--- exception caught here ---
  File
/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/internet/base.py, line 411, in runUntilCurrent
call.func(*call.args, **call.kw)
  File /usr/local/freevo/src/helpers/recordserver.py, line
742, in minuteCheck
rec_prog = self.checkToRecord()
  File /usr/local/freevo/src/helpers/recordserver.py, line
318, in checkToRecord
scheduledRecordings = self.getScheduledRecordings()
  File /usr/local/freevo/src/helpers/recordserver.py, line
157, in getScheduledRecordings
scheduledRecordings =
marmalade.unjellyFromXML(open(config.RECORD_SCHEDULE, 'r'))
  File
/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/persisted/marmalade.py, line 413, in unjellyFromXML
return unjellyFromDOM(document)
  File
/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/persisted/marmalade.py, line 390, in unjellyFromDOM
return du.unjelly(document)
  File
/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/persisted/marmalade.py, line 245, in unjelly
self.unjellyInto(l, 0, doc.childNodes[0])
  File
/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/persisted/marmalade.py, line 120, in unjellyInto
o = self.unjellyNode(node)
  File
/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/persisted/marmalade.py, line 205, in unjellyNode
clasz = namedClass(className)
  File
/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/python/reflect.py, line 381, in namedObject
module = namedModule(string.join(classSplit[:-1], '.'))
  File
/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/python/reflect.py, line 369, in namedModule
topLevel = __import__(name)
exceptions.ImportError: No module named record_types
 
2004/01/31 20:57 EST [HTTPChannel,0,127.0.0.1] 127.0.0.1 - -
[01/Feb/2004:01:57:40 +] POST / HTTP/1.0 200 230 -
xmlrpclib.py/1.0.1 (by www.pythonware.com)
2004/01/31 20:57 EST [HTTPChannel,1,127.0.0.1] Traceback (most recent
call last):
  File
/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/protocols/http.py, line 549, in requestReceived
self.process()
  File
/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/web/server.py, line 159, in process
self.render(resrc)
  File
/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/web/server.py, line 166, in render
body = resrc.render(self)
  File
/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/web/xmlrpc.py, line 131, in render
defer.maybeDeferred(function, *args).addErrback(
--- exception caught here ---
  File
/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/internet/defer.py, line 104, in maybeDeferred
result = f(*args, **kw)
  File /usr/local/freevo/src/helpers/recordserver.py, line
587, in xmlrpc_getScheduledRecordings
return (TRUE,
marmalade.jellyToXML(self.getScheduledRecordings()))
  File /usr/local/freevo/src/helpers/recordserver.py, line
157, in getScheduledRecordings
scheduledRecordings =
marmalade.unjellyFromXML(open(config.RECORD_SCHEDULE, 'r'))
  File
/usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/persisted/marmalade.py, line 413, in unjellyFromXML

Re: [Freevo-users] recordserver problem

2004-01-31 Thread Josh Peck
any access to recording schedule gives me a traceback there was an
authentication error. I originally had 1.3.4 redhat 8.0 rpms
(uninstalled them) upgraded to rh9 and installed freevo 1.4.1 via lynx
install.sh.

I used to use the record_daemon via cron with 1.3.4

ther were no instances of record_schedule.xml and I'm unsure if you're
saying I should modify /usr/local/freevo/src/tv/record_types.py and
recompile?

On Sat, 2004-01-31 at 22:16, Rob Shortt wrote:
 Hmm, it looks like you updated from a fairly old version of Freevo.  Try 
 either removing your record_schedule.xml or changing any instance of 
 'record_types' to 'tv.record_types' if I recall correctly.
 
 Josh Peck wrote:
  I've been wrestling with this for awhile
  
  I go to schedule a recording and i get an record_client.py unable to
  connect error in the OSD.
  
  through the web interface I get a page full of traceback data.
  
  here's my recordserver log (sorry about the length):
  
  2004/01/31 20:56 EST [-] Log opened.
  2004/01/31 20:56 EST [-] Record_Thread::run: mode=idle
  2004/01/31 20:56 EST [*RecordServer*] twisted.web.server.Site starting
  on 18001
  2004/01/31 20:56 EST [*RecordServer*] Starting factory
  twisted.web.server.Site
  instance at 0x41a4b2ec
  2004/01/31 20:57 EST [*RecordServer*] Traceback (most recent call last):
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/python/log.py, 
  line 52, in callWithContext
  return context.call({ILogContext: newCtx}, func, *args,
  **kw)
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/python/context.py, 
  line 32, in callWithContext
  return func(*args,**kw)
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/internet/default.py,
   line 122, in run
  self.mainLoop()
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/internet/default.py,
   line 130, in mainLoop
  self.runUntilCurrent()
  --- exception caught here ---
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/internet/base.py, 
  line 411, in runUntilCurrent
  call.func(*call.args, **call.kw)
File /usr/local/freevo/src/helpers/recordserver.py, line
  742, in minuteCheck
  rec_prog = self.checkToRecord()
File /usr/local/freevo/src/helpers/recordserver.py, line
  318, in checkToRecord
  scheduledRecordings = self.getScheduledRecordings()
File /usr/local/freevo/src/helpers/recordserver.py, line
  157, in getScheduledRecordings
  scheduledRecordings =
  marmalade.unjellyFromXML(open(config.RECORD_SCHEDULE, 'r'))
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/persisted/marmalade.py,
   line 413, in unjellyFromXML
  return unjellyFromDOM(document)
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/persisted/marmalade.py,
   line 390, in unjellyFromDOM
  return du.unjelly(document)
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/persisted/marmalade.py,
   line 245, in unjelly
  self.unjellyInto(l, 0, doc.childNodes[0])
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/persisted/marmalade.py,
   line 120, in unjellyInto
  o = self.unjellyNode(node)
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/persisted/marmalade.py,
   line 205, in unjellyNode
  clasz = namedClass(className)
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/python/reflect.py, 
  line 381, in namedObject
  module = namedModule(string.join(classSplit[:-1], '.'))
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/python/reflect.py, 
  line 369, in namedModule
  topLevel = __import__(name)
  exceptions.ImportError: No module named record_types
   
  2004/01/31 20:57 EST [HTTPChannel,0,127.0.0.1] 127.0.0.1 - -
  [01/Feb/2004:01:57:40 +] POST / HTTP/1.0 200 230 -
  xmlrpclib.py/1.0.1 (by www.pythonware.com)
  2004/01/31 20:57 EST [HTTPChannel,1,127.0.0.1] Traceback (most recent
  call last):
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/protocols/http.py, 
  line 549, in requestReceived
  self.process()
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/web/server.py, 
  line 159, in process
  self.render(resrc)
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/web/server.py, 
  line 166, in render
  body = resrc.render(self)
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/twisted/web/xmlrpc.py, 
  line 131, in render
  defer.maybeDeferred(function, *args).addErrback(
  --- exception caught