I've adjusted the debug statement and haven't seen the error again. But it
wasn't happening 100% of the time, so I don't know if it's been solved just
yet.

On 1/25/07, Duncan Webb <[EMAIL PROTECTED]> wrote:

Justin:

Any progress with this problem?

Duncan

> Bugs item #1635253, was opened at 2007-01-14 17:42
> Message generated for change (Comment added) made by duncanwebb
> You can respond by visiting:
>
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1635253&group_id=46652
>
> Please note that this message will contain a full copy of the comment
thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: record server
> Group: 1.x svn (rel-1)
> Status: Open
> Resolution: None
> Priority: 5
> Private: No
> Submitted By: Justin Wetherell (phishman3579)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: Recording Error in svn 1.7.x
>
> Initial Comment:
> 2007/01/14 00:00 EST [*RecordServer*] Exception in thread Thread-1:
> 2007/01/14 00:00 EST [*RecordServer*] Traceback (most recent call last):
> 2007/01/14 00:00 EST [*RecordServer*]   File
"/usr/lib/python2.4/threading.py", line 442, in __bootstr
> ap
> 2007/01/14 00:00 EST [*RecordServer*]     self.run()
> 2007/01/14 00:00 EST [*RecordServer*]   File
"/usr/local/freevo/src/tv/plugins/ivtv_record.py", line 1
> 29, in run
> 2007/01/14 00:00 EST [*RecordServer*]     if DEBUG: v.print_settings()
> 2007/01/14 00:00 EST [*RecordServer*]   File
"/usr/local/freevo/src/tv/ivtv.py", line 386, in print_se
> ttings
> 2007/01/14 00:00 EST [*RecordServer*]
tv.v4l2.Videodev.print_settings(self)
> 2007/01/14 00:00 EST [*RecordServer*]   File
"/usr/local/freevo/src/tv/v4l2.py", line 645, in print_se
> ttings
> 2007/01/14 00:00 EST [*RecordServer*]     print "Read Frequency: %i" %
self.getfreq()
> 2007/01/14 00:00 EST [*RecordServer*]   File
"/usr/local/freevo/src/tv/v4l2.py", line 246, in getfreq
> 2007/01/14 00:00 EST [*RecordServer*]     if DEBUG >= 3: print "getfreq:
val=%r, r=%s, res=%r" % (val,
>  r, res)
> 2007/01/14 00:00 EST [*RecordServer*]   File
"/usr/lib/python2.4/site-packages/twisted/python/log.py",
>  line 307, in write
> 2007/01/14 00:00 EST [*RecordServer*]     d = (self.buf +
data).split('\n')
> 2007/01/14 00:00 EST [*RecordServer*] UnicodeDecodeError: 'utf8' codec
can't decode bytes in position
> 203-204: invalid data
> 2007/01/14 00:00 EST [*RecordServer*]
> 2007/01/14 00:00 EST [*RecordServer*] received event RECORD_START
>
>
> ----------------------------------------------------------------------
>
>> Comment By: Duncan Webb (duncanwebb)
> Date: 2007-01-18 06:56
>
> Message:
> Logged In: YES
> user_id=104395
> Originator: NO
>
> Don't think you changed anything:
> 2007/01/17 21:00 EST [*RecordServer*]     if DEBUG >= 3: print "getfreq:
> val=%r, r=%s, res=%r" % (val, r, res)
>
> Should have read:
> 2007/01/17 21:00 EST [*RecordServer*]     if DEBUG >= 3: print "getfreq:
> val=%r, r=%r, res=%r" % (val, r, res)
>
>
> ----------------------------------------------------------------------
>
> Comment By: Justin Wetherell (phishman3579)
> Date: 2007-01-18 03:06
>
> Message:
> Logged In: YES
> user_id=888010
> Originator: YES
>
> I'm getting this pretty consistently on three sperate channels:
> 2007/01/17 21:00 EST [*RecordServer*] Exception in thread Thread-1:
> 2007/01/17 21:00 EST [*RecordServer*] Traceback (most recent call last):
> 2007/01/17 21:00 EST [*RecordServer*]   File
> "/usr/lib/python2.4/threading.py", line 442, in __bootstr
> ap
> 2007/01/17 21:00 EST [*RecordServer*]     self.run()
> 2007/01/17 21:00 EST [*RecordServer*]   File
> "/usr/local/src/freevo-1.7/src/tv/plugins/ivtv_record.py"
> , line 129, in run
> 2007/01/17 21:00 EST [*RecordServer*]     if DEBUG: v.print_settings()
> 2007/01/17 21:00 EST [*RecordServer*]   File
> "/usr/local/src/freevo-1.7/src/tv/ivtv.py", line 386, in
> print_settings
> 2007/01/17 21:00 EST [*RecordServer*]
> tv.v4l2.Videodev.print_settings(self)
> 2007/01/17 21:00 EST [*RecordServer*]   File
> "/usr/local/src/freevo-1.7/src/tv/v4l2.py", line 645, in
> print_settings
> 2007/01/17 21:00 EST [*RecordServer*]     print "Read Frequency: %i" %
> self.getfreq()
> 2007/01/17 21:00 EST [*RecordServer*]   File
> "/usr/local/src/freevo-1.7/src/tv/v4l2.py", line 246, in
> getfreq
> 2007/01/17 21:00 EST [*RecordServer*]     if DEBUG >= 3: print "getfreq:
> val=%r, r=%s, res=%r" % (val,
>  r, res)
> 2007/01/17 21:00 EST [*RecordServer*]   File
> "/usr/lib/python2.4/site-packages/twisted/python/log.py",
>  line 307, in write
> 2007/01/17 21:00 EST [*RecordServer*]     d = (self.buf +
> data).split('\n')
> 2007/01/17 21:00 EST [*RecordServer*] UnicodeDecodeError: 'utf8' codec
> can't decode byte 0x94 in posit
> ion 203: unexpected code byte
> 2007/01/17 21:00 EST [*RecordServer*]
> 2007/01/17 21:00 EST [*RecordServer*] received event RECORD_START
>
>
> ----------------------------------------------------------------------
>
> Comment By: Duncan Webb (duncanwebb)
> Date: 2007-01-17 07:17
>
> Message:
> Logged In: YES
> user_id=104395
> Originator: NO
>
> Don't see any unicode characters there, all looks to be ascii.
>
> You could try changing:
> if DEBUG >= 3: print "getfreq: val=%r, r=%s, res=%r" % (val, r, res)
> to
> if DEBUG >= 3: print "getfreq: val=%r, r=%r, res=%r" % (val, r, res)
> difficult to see: r=%s to r=%r
> And then check what it says in the recordserver.log
>
>
> ----------------------------------------------------------------------
>
> Comment By: Justin Wetherell (phishman3579)
> Date: 2007-01-16 23:41
>
> Message:
> Logged In: YES
> user_id=888010
> Originator: YES
>
> It does this every time I try to record from a perticular channel. In
this
> case: Channel 7 WTXF
>
> Here is what is in my local_conf for the channel:
> ('I11930.labs.zap2it.com', '07 WTXF', '7'),
>
> Should I change that to:
> ('I11930.labs.zap2it.com', u'07 WTXF', '7'),
>
> ----------------------------------------------------------------------
>
> Comment By: Duncan Webb (duncanwebb)
> Date: 2007-01-15 22:23
>
> Message:
> Logged In: YES
> user_id=104395
> Originator: NO
>
> Need more info, this is not quite enough to debug the problem.
>
> It seems to be failing here, on the debug line here:
> def getfreq(self):
>  val = struct.pack(FREQUENCY_ST, 0,0,0)
>  r = fcntl.ioctl(self.device, i32(GETFREQ_NO), val)
>  res = struct.unpack(FREQUENCY_ST, r)
>  if DEBUG >= 3: print "getfreq: val=%r, r=%s, res=%r" % (val, r, res)
>  (tuner, type, freq,) = res
>  return freq
>
> val and res are raw strings and r should be a number so I don't see
where
> any utf-8 characters come from. Is this just one channel or all of them,
do
> you have some channel names with non-ascii characters? If so you can
have
> u'channel name' in local_conf.py
>
>
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
>
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1635253&group_id=46652
>



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

Reply via email to