Re: [Freevo-users] recordserver 1.7.3-svn r9661 Traceback
Duncan Webb wrote: > John Molohan wrote: > >> Duncan Webb wrote: >> Just updated svn and now get the following traceback from the recordserver. >>> Oops, I fix this this evening. I copied the debug function from config and >>> didn't have any unicode strings when I was testing. A quick and dirty fix >>> is to change line 104 so: >>> -except UnicodeEncodeError: >>> +except UnicodeEncodeError, NameError: >>> or turn off debugging. >>> >> Looks good now, thanks. >> > > The correct fix is to change encoding to config.encoding, well at least > I hope it is. This change is now in svn at r9666 > > Duncan > > One recording done, seems fine thanks. John - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] recordserver 1.7.3-svn r9661 Traceback
John Molohan wrote: > Duncan Webb wrote: >>> Just updated svn and now get the following traceback from the >>> recordserver. >>> >> Oops, I fix this this evening. I copied the debug function from config and >> didn't have any unicode strings when I was testing. A quick and dirty fix >> is to change line 104 so: >> -except UnicodeEncodeError: >> +except UnicodeEncodeError, NameError: >> or turn off debugging. > > Looks good now, thanks. The correct fix is to change encoding to config.encoding, well at least I hope it is. This change is now in svn at r9666 Duncan - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] recordserver 1.7.3-svn r9661 Traceback
Duncan Webb wrote: >> Just updated svn and now get the following traceback from the >> recordserver. >> > > Oops, I fix this this evening. I copied the debug function from config and > didn't have any unicode strings when I was testing. A quick and dirty fix > is to change line 104 so: > -except UnicodeEncodeError: > +except UnicodeEncodeError, NameError: > or turn off debugging. > > Duncan > Looks good now, thanks. > >> Traceback (most recent call last): >> File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 601, >> in requestReceived >> self.process() >> File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line >> 160, in process >> self.render(resrc) >> File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line >> 167, in render >> body = resrc.render(self) >> File "/usr/lib/python2.4/site-packages/twisted/web/xmlrpc.py", line >> 117, in render >> defer.maybeDeferred(function, *args).addErrback( >> --- --- >> File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", >> line 107, in maybeDeferred >> result = f(*args, **kw) >> File >> "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", line >> 1251, in xmlrpc_findNextProgram >> response = self.findNextProgram() >> File >> "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", line >> 207, in findNextProgram >> _debug_('%s is recording %s stopping at %s' % (prog.title, recording >> and 'yes' or 'no', endtime), 3) >> File >> "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", line >> 90, in _debug_function_ >> s = s.encode(encoding, 'replace') >> exceptions.NameError: global name 'encoding' is not defined >> > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Freevo-users mailing list > Freevo-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-users > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] recordserver 1.7.3-svn r9661 Traceback
> Just updated svn and now get the following traceback from the > recordserver. Oops, I fix this this evening. I copied the debug function from config and didn't have any unicode strings when I was testing. A quick and dirty fix is to change line 104 so: -except UnicodeEncodeError: +except UnicodeEncodeError, NameError: or turn off debugging. Duncan > > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 601, > in requestReceived > self.process() > File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line > 160, in process > self.render(resrc) > File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line > 167, in render > body = resrc.render(self) > File "/usr/lib/python2.4/site-packages/twisted/web/xmlrpc.py", line > 117, in render > defer.maybeDeferred(function, *args).addErrback( > --- --- > File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", > line 107, in maybeDeferred > result = f(*args, **kw) > File > "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", line > 1251, in xmlrpc_findNextProgram > response = self.findNextProgram() > File > "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", line > 207, in findNextProgram > _debug_('%s is recording %s stopping at %s' % (prog.title, recording > and 'yes' or 'no', endtime), 3) > File > "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", line > 90, in _debug_function_ > s = s.encode(encoding, 'replace') > exceptions.NameError: global name 'encoding' is not defined - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users