I found the bug and am in the process of adding the patch.
ScheduledTvProgram was a red herring, it was never used. Instead, tunerid
was set manually in scheduleRecording() function that I somehow missed in
the last couple of days.
On 1/28/07, Justin Wetherell <[EMAIL PROTECTED]> wrote:
I'm having trouble finding where ScheduledTvProgram is ever initiated. But
when I look into the record_schedule it is obviously called somewhere.
On 1/28/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
>
> Justin Wetherell wrote:
> > This is happening everytime, so there must be a new bug.
>
> The program.tunerid comes from the channel.tunerid. The channel tunerid
> is be default 0 unless it have been overridden by TV_CHANNELS.
>
> It looks like the scheduleRecording function is not being called. You
> have been sending patches for the recordserver, it there a chance that
> something got broken along the way?
>
> Duncan
>
> > On 1/26/07, *Justin Wetherell* < [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> > I don't know if this is along the same line but I got this error
> > today, while trying to record:
> > 2007/01/26 01:00 EST [*RecordServer*] Exception in thread
> Thread-1:
> > 2007/01/26 01:00 EST [*RecordServer*] Traceback (most recent call
> > last):
> > 2007/01/26 01:00 EST [*RecordServer*] File
> > "/usr/lib/python2.4/threading.py", line 442, in __bootstr
> > ap
> > 2007/01/26 01:00 EST [*RecordServer*] self.run()
> > 2007/01/26 01:00 EST [*RecordServer*] File
> > "/usr/local/freevo/src/tv/plugins/ivtv_record.py", line 1
> > 21, in run
> > 2007/01/26 01:00 EST [*RecordServer*] vg =
> > fc.getVideoGroup(self.prog.tunerid, False)
> > 2007/01/26 01:00 EST [*RecordServer*] AttributeError: TvProgram
> > instance has no attribute 'tunerid'
> > 2007/01/26 01:00 EST [*RecordServer*]
> > 2007/01/26 01:00 EST [*RecordServer*] received event RECORD_START
> > 2007/01/26 01:00 EST [*RecordServer*] fetch_image []
> > 2007/01/26 01:01 EST [*RecordServer*] GET: reading cached file
> > (/var/cache/freevo/record_schedule.xml)
> > 2007/01/26 01:01 EST [*RecordServer*] Return cached data
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> _______________________________________________
> Freevo-devel mailing list
> Freevo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel