Bugs item #1608017, was opened at 2006-12-03 20:24 Message generated for change (Comment added) made by fdemmer You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1608017&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: program guide Group: 1.x svn Status: Open Resolution: None Priority: 5 Private: No Submitted By: f demmer (fdemmer) Assigned to: Nobody/Anonymous (nobody) Summary: channel id with %20 aka " " cause error in webserver Initial Comment: using svn rel-1, Rev 8687 (pretty recently) this is whats happening after clicking a show in the webinterface (what normally openes the detaisl box with the record button) 2006/12/03 20:15 CET [HTTPChannel,0,127.0.0.1] Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/twisted/protocols/basic.py", line 221, in dataReceived why = self.lineReceived(line) File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 961, in lineReceived self.allContentReceived() File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 1002, in allContentReceived req.requestReceived(command, path, version) File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 557, in requestReceived self.process() --- <exception caught here> --- File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 153, in process self.render(resrc) File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 160, in render body = resrc.render(self) File "/usr/lib/python2.4/site-packages/freevo/www/web_types.py", line 73, in render return self._render(request) File "/usr/share/freevo/htdocs/proginfo.rpy", line 52, in _render chan = guide.chan_dict[chanid] exceptions.KeyError: 'kabel 1.tvtoday.de' when searching for a show on a channel with a %20 in its id and then clicking the record link in the searchresult, there is no exception but this errormessage in the webitnerface: * ERROR: No program found on kabel 1.tvtoday.de at 12/05/06 20:15:00. (RecordServer::findProg: prog not found) by channel id, i mean the channel identifier used in my xmltv data. it is not up to me what that is, so i would say freevo should be able to handle that. ---------------------------------------------------------------------- >Comment By: f demmer (fdemmer) Date: 2006-12-03 23:15 Message: Logged In: YES user_id=866896 Originator: YES this seems to also cause problems with removing items from the scheduled recordings list: web.Server Traceback (most recent call last): exceptions.UnboundLocalError: local variable 'prog' referenced before assignment /usr/lib/python2.4/site-packages/twisted/web/server.py, line 153 in process 151 try: 152 resrc = self.site.getResourceFor(self) 153 self.render(resrc) 154 except: Self site twisted.web.server.Site instance @ -0x48c79bf4 <twisted.web.server.Site instance at 0xb738640c> Locals resrc __builtin__.RecordResource instance @ -0x491b09b4 <__builtin__.RecordResource instance at 0xb6e4f64c> self twisted.web.server.Request instance @ -0x48b72134 <GET /record.rpy?chan=pro%207.tvtoday.de&start=1165201500&action=remove HTTP/1.1> /usr/lib/python2.4/site-packages/twisted/web/server.py, line 160 in render 158 def render(self, resrc): 159 try: 160 body = resrc.render(self) 161 except UnsupportedMethod, e: Locals resrc __builtin__.RecordResource instance @ -0x491b09b4 <__builtin__.RecordResource instance at 0xb6e4f64c> self twisted.web.server.Request instance @ -0x48b72134 <GET /record.rpy?chan=pro%207.tvtoday.de&start=1165201500&action=remove HTTP/1.1> Globals UnsupportedMethod <class twisted.web.server.UnsupportedMethod at 0xb73f1a7c> /usr/lib/python2.4/site-packages/freevo/www/web_types.py, line 73 in render 71 return '<h1>401 Authentication required</h1>' 72 else: 73 return self._render(request) 74 Locals self __builtin__.RecordResource instance @ -0x491b09b4 <__builtin__.RecordResource instance at 0xb6e4f64c> request twisted.web.server.Request instance @ -0x48b72134 <GET /record.rpy?chan=pro%207.tvtoday.de&start=1165201500&action=remove HTTP/1.1> /usr/share/freevo/htdocs/record.rpy, line 73 in _render 71 prog = what 72 73 print 'want to remove prog: %s' % String(prog) 74 ri.removeScheduledRecording(prog) Locals what tv.epg_types.TvProgram instance @ -0x4919c2d4 <tv.epg_types.TvProgram instance at 0xb6e63d2c> Globals ri <module 'tv.record_client' from '/usr/lib/python2.4/site-packages/freevo/tv/record_client.pyc'> exceptions.UnboundLocalError: local variable 'prog' referenced before assignment no problems from within the freevo gui btw. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1608017&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