Re: [Freevo-users] Re: python-2.4 maybe again
Op do 25-08-2005, om 22:22 schreef Dirk Meyer: Great. More feedback and I will release 1.5.4. Everything seems to work fine so far, all things not working with 2.4 are working but I got one bug remaining but that was also in there with 2.3 When deleting a recording from the webinterface (a recording so an mpeg + fxd file, plain files are OK) a big error page is showing in my browser, see attachement. Something totaly off-topic: In the docs I believe is stated that the freevo cache command has to be run when freevo is stopped, but since my freevo is running 24/7 and my logs are recomending me to run freevo cache... What to do? -- Groetjes Japie http://www.japie.deserver.nl 2.6.13-ck1 GNU/Linux The sad thing about Windows bashing is that it's all true. ;^) Title: web.Server Traceback (most recent call last) web.Server Traceback (most recent call last): exceptions.SystemExit: 1 /usr/lib/python2.4/site-packages/twisted/web/server.py, line 165 in process 163try: 164resrc = self.site.getResourceFor(self) 165self.render(resrc) 166except: Self sitetwisted.web.server.Site instance @ 0x5206a02c twisted.web.server.Site instance at 0x5206a02c Locals resrc__builtin__.LibraryResource instance @ 0x51a56fac __builtin__.LibraryResource instance at 0x51a56fac selftwisted.web.server.Request instance @ 0x5206a70c GET /library.rpy?action="" HTTP/1.1 /usr/lib/python2.4/site-packages/twisted/web/server.py, line 172 in render 170def render(self, resrc): 171try: 172body = resrc.render(self) 173except UnsupportedMethod, e: Locals resrc__builtin__.LibraryResource instance @ 0x51a56fac __builtin__.LibraryResource instance at 0x51a56fac selftwisted.web.server.Request instance @ 0x5206a70c GET /library.rpy?action="" HTTP/1.1 Globals UnsupportedMethodclass twisted.web.server.UnsupportedMethod at 0x51f3ae0c /usr/lib/python2.4/site-packages/freevo/www/web_types.py, line 88 in render 86return 'h1401 Authentication required/h1' 87else: 88return self._render(request) 89 Locals self__builtin__.LibraryResource instance @ 0x51a56fac __builtin__.LibraryResource instance at 0x51a56fac requesttwisted.web.server.Request instance @ 0x5206a70c GET /library.rpy?action="" HTTP/1.1 /usr/share/freevo/htdocs/library.rpy, line 370 in _render 368elif action_mediatype and len(action_dir) and action != download: 369if not self.check_dir(action_mediatype,action_dir) and action != 'view': 370sys.exit(1) 371 Locals action_mediatype'rectv' action_diru'/srv/freevo/media/tv' action'delete' self__builtin__.LibraryResource instance @ 0x51a56fac __builtin__.LibraryResource instance at 0x51a56fac Globals sysmodule 'sys' (built-in) exceptions.SystemExit: 1
Re: [Freevo-users] Re: python-2.4 maybe again
As far as the cache is concerned, just schedule a cron job to run freevo cache every night (or whenever). -Davin Jaap Struyk wrote: Op do 25-08-2005, om 22:22 schreef Dirk Meyer: Great. More feedback and I will release 1.5.4. Everything seems to work fine so far, all things not working with 2.4 are working but I got one bug remaining but that was also in there with 2.3 When deleting a recording from the webinterface (a recording so an mpeg + fxd file, plain files are OK) a big error page is showing in my browser, see attachement. Something totaly off-topic: In the docs I believe is stated that the "freevo cache" command has to be run when freevo is stopped, but since my freevo is running 24/7 and my logs are recomending me to run freevo cache... What to do? web.Server Traceback (most recent call last) web.Server Traceback (most recent call last): exceptions.SystemExit: 1 /usr/lib/python2.4/site-packages/twisted/web/server.py, line 165 in process 163try: 164resrc = self.site.getResourceFor(self) 165self.render(resrc) 166except: Self site twisted.web.server.Site instance @ 0x5206a02c twisted.web.server.Site instance at 0x5206a02c Locals resrc __builtin__.LibraryResource instance @ 0x51a56fac __builtin__.LibraryResource instance at 0x51a56fac self twisted.web.server.Request instance @ 0x5206a70c GET /library.rpy?action="" HTTP/1.1 /usr/lib/python2.4/site-packages/twisted/web/server.py, line 172 in render 170def render(self, resrc): 171try: 172body = resrc.render(self) 173except UnsupportedMethod, e: Locals resrc __builtin__.LibraryResource instance @ 0x51a56fac __builtin__.LibraryResource instance at 0x51a56fac self twisted.web.server.Request instance @ 0x5206a70c GET /library.rpy?action="" HTTP/1.1 Globals UnsupportedMethod class twisted.web.server.UnsupportedMethod at 0x51f3ae0c /usr/lib/python2.4/site-packages/freevo/www/web_types.py, line 88 in render 86return 'h1401 Authentication required/h1' 87else: 88return self._render(request) 89 Locals self __builtin__.LibraryResource instance @ 0x51a56fac __builtin__.LibraryResource instance at 0x51a56fac request twisted.web.server.Request instance @ 0x5206a70c GET /library.rpy?action="" HTTP/1.1 /usr/share/freevo/htdocs/library.rpy, line 370 in _render 368elif action_mediatype and len(action_dir) and action != "download": 369if not self.check_dir(action_mediatype,action_dir) and action != 'view': 370sys.exit(1) 371 Locals action_mediatype 'rectv' action_dir u'/srv/freevo/media/tv' action 'delete' self __builtin__.LibraryResource instance @ 0x51a56fac __builtin__.LibraryResource instance at 0x51a56fac Globals sys module 'sys' (built-in) exceptions.SystemExit: 1