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/jo

[Freevo-users] recordserver problem

2007-07-29 Thread Jody Gugelhupf
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
/usr/local/bin/mplayer /home/jody/TVrecords/Manual_Record_-_07-16_23:26.avi
/home/jody/

[Freevo-users] Recordserver Problem

2005-12-08 Thread Matt Opie
I am unable to record anything with the recordserver. When It starts to 
try and record it crashes with the below error. What is it trying to 
tell me? How do I go about debugging it?


Cheers

Matt

2005/12/09 14:56 NZDT [*RecordServer*] Traceback (most recent call last):
 File "/usr/lib/python2.4/site-packages/twisted/python/log.py", 
line 52

, in callWithContext
   return context.call({ILogContext: newCtx}, func, *args, **kw)
 File 
"/usr/lib/python2.4/site-packages/twisted/python/context.py", lin

e 43, in callWithContext
   return func(*args,**kw)
 File 
"/usr/lib/python2.4/site-packages/twisted/internet/default.py", l

ine 126, in run
   self.mainLoop()
 File 
"/usr/lib/python2.4/site-packages/twisted/internet/default.py", l

ine 134, in mainLoop
   self.runUntilCurrent()
   ---  ---
 File 
"/usr/lib/python2.4/site-packages/twisted/internet/base.py", line

423, in runUntilCurrent
   call.func(*call.args, **call.kw)
 File 
"/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py"

, line 908, in minuteCheck
   self.checkToRecord()
 File 
"/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py"

, line 499, in checkToRecord
   self.record_app.Record(rec_prog)
 File 
"/usr/lib/python2.4/site-packages/freevo/tv/plugins/generic_recor

d.py", line 95, in Record
   frequency = self.fc.chanSet(str(rec_prog.tunerid), 'record 
plugin')
   exceptions.AttributeError: TvProgram instance has no attribute 
'tunerid'



 



===
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.
===



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


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


[Freevo-users] Recordserver problem

2005-09-29 Thread Henrik Farre
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.

-- 
Mvh. / Kind regards
Henrik Farre - http://www.rockhopper.dk
2005/09/29 15:40 CEST [*RecordServer*] Recorder::Record: 2005-09-29 15:40 to 2005-09-29 15:45  001.tv.tv2.dk Manuel optagelse
2005/09/29 15:40 CEST [*RecordServer*] Record_Thread::run: mode=record
2005/09/29 15:40 CEST [*RecordServer*] Record_Thread::run: started recording
2005/09/29 15:40 CEST [*RecordServer*] CHAN: K11
2005/09/29 15:40 CEST [*RecordServer*] Video Opened at /dev/video0
2005/09/29 15:40 CEST [*RecordServer*] Setting Input to 6
2005/09/29 15:40 CEST [*RecordServer*] Setting Channel to K11
2005/09/29 15:40 CEST [*RecordServer*] USING CUSTOM FREQUENCY: chan="K11", freq="217250"
2005/09/29 15:40 CEST [*RecordServer*] Video Opened at /dev/video0
2005/09/29 15:40 CEST [*RecordServer*] Driver: ivtv
2005/09/29 15:40 CEST [*RecordServer*] Card: WinTV PVR 150
2005/09/29 15:40 CEST [*RecordServer*] Version: 777
2005/09/29 15:40 CEST [*RecordServer*] Capabilities: 17235985
2005/09/29 15:40 CEST [*RecordServer*] Enumerating supported Standards.
2005/09/29 15:40 CEST [*RecordServer*]   0: 0x3000 NTSC
2005/09/29 15:40 CEST [*RecordServer*]   1: 0xff PAL
2005/09/29 15:40 CEST [*RecordServer*]   2: 0x7f SECAM
2005/09/29 15:40 CEST [*RecordServer*] Current Standard is: 0xff
2005/09/29 15:40 CEST [*RecordServer*] Enumerating supported Inputs. 
2005/09/29 15:40 CEST [*RecordServer*]   0: S-Video 0
2005/09/29 15:40 CEST [*RecordServer*]   1: S-Video 1
2005/09/29 15:40 CEST [*RecordServer*]   2: Composite 0
2005/09/29 15:40 CEST [*RecordServer*]   3: Composite 1
2005/09/29 15:40 CEST [*RecordServer*]   4: Composite 2
2005/09/29 15:40 CEST [*RecordServer*]   5: Composite 3
2005/09/29 15:40 CEST [*RecordServer*]   6: Tuner 0
2005/09/29 15:40 CEST [*RecordServer*]   7: Tuner 1
2005/09/29 15:40 CEST [*RecordServer*] Input: 6
2005/09/29 15:40 CEST [*RecordServer*] Exception in thread Thread-1:Traceback (most recent call last):
2005/09/29 15:40 CEST [*RecordServer*]   File "/usr/lib/python2.3/threading.py", line 442, in __bootstrap
2005/09/29 15:40 CEST [*RecordServer*] self.run()
2005/09/29 15:40 CEST [*RecordServer*]   File "/usr/lib/python2.3/site-packages/freevo/tv/plugins/ivtv_record.py", line 160, in run
2005/09/29 15:40 CEST [*RecordServer*] if DEBUG: v.print_settings()
2005/09/29 15:40 CEST [*RecordServer*]   File "/usr/lib/python2.3/site-packages/freevo/tv/ivtv.py", line 139, in print_settings
2005/09/29 15:40 CEST [*RecordServer*] tv.v4l2.Videodev.print_settings(self)
2005/09/29 15:40 CEST [*RecordServer*]   File "/usr/lib/python2.3/site-packages/freevo/tv/v4l2.py", line 316, in print_settings
2005/09/29 15:40 CEST [*RecordServer*] (buf_type, width, height, pixelformat, field, bytesperline,
2005/09/29 15:40 CEST [*RecordServer*]   File "/usr/lib/python2.3/site-packages/freevo/tv/v4l2.py", line 247, in getfmt
2005/09/29 15:40 CEST [*RecordServer*] r = fcntl.ioctl(self.device,GET_FMT_NO,val)
2005/09/29 15:40 CEST [*RecordServer*] IOError: [Errno 22] Invalid argument
2005/09/29 15:41 CEST [*RecordServer*] in checkToRecord
CONFIG_VERSION = 5.14

CHILDAPP_DEBUG = 1 
DEBUG = 1

MAJOR_AUDIO_CTRL= 'PCM'   # Freevo takes control over one audio ctrl
CONTROL_ALL_AUDIO   = 1   # Should Freevo take complete control of audio
MAX_VOLUME  = 90  # Set what you want maximum volume level to be.
DEFAULT_VOLUME  = 84  # Set default volume level.
DEV_MIXER   = ''# mixer device 
START_FULLSCREEN_X  = 1   # Start in fullscreen mode if using x11 or xv.
ROM_DRIVES = [ ('/mnt/cdrom', '/dev/cdrom', 'DVD') ]
HIDE_UNUSABLE_DISCS = 1   
ROM_SPEED = 8
CONFIRM_SHUTDOWN= 1   # ask before shutdown
ENABLE_SHUTDOWN_SYS = 0
SHUTDOWN_SYS_CMD = 'sudo /sbin/shutdown -h now'
RESTART_SYS_CMD  = 'sudo /sbin/shutdown -r now'
MENU_ARROW_NAVIGATION = 1
USE_NETWORK = 1
UMASK = 002
MMPYTHON_CREATE_MD5_ID = 1
MEDIAINFO_USE_MEMORY   = 1
CACHE_IMAGES = 1


plugin.remove('tv.generic_record')
plugin_record = plugin.activate('tv.ivtv_record')

plugin.remove('audio.mplayer')

plugin.activate('headlines', level=45) 
HEADLINES_LOCATIONS = [ ('Slashdot', 'http://slashdot.org/index.rss') ] 

plugin.activate('video.appletrailers')
plugin.activate( 'idlebar' ) 
plugin.activate( 'idlebar.logo', level=5 )
plugin.activate( 'idlebar.clock', level=50, args=('%a %m %d %H:%M') )
plugin.activate( 'audio.coversearch', args=('0XXEP25NFRDV7MHWGB02'))

plugin.activate('audio.cdbackup') 
AUDIO_BACKUP_DIR = '/home/freevo/Music/' 
CD_RIP_PN_PREF= '%(artist)s/%(album)s/%(song)s' 
CDPAR_CMD = 'cdparanoia' 
LAME_CMD = 'lame' 
CD_RIP_LAME_OPTS = '-h --abr 160 --vbr-new' 
   
IMDB_REMOVE_FROM_LABEL = ('season[\._ -][0-9]+', 'disc[\._ -][0-9]+', 'd[\._ -][0-9]+', 'german', 'cd

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
>  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()
> ---  ---
>   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(
> ---  ---
>   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/

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
> >  > 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()
> > ---  ---
> >   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
>

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

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()
---  ---
  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(
---  ---
  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
return unjellyF

[Freevo-users] recordserver problem

2004-01-31 Thread Josh Peck
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

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()
---  ---
  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(
---  ---
  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
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/run