Gillen Dan wrote: > Duncan Webb wrote: > >> Gillen Dan wrote: >> >> >>> Hi list >>> >>> I hope this is the right place to post this :) >>> >>> >> It is :) >> >> >> >>> I have installed freevo 1.7.0 under Slackware 11.0. >>> Freevo is running ok and I can watch TV too, but if I try to start the >>> webserver or the recordserver, the following error pops up: >>> >>> #freevo webserver start >>> Traceback (most recent call last): >>> File "freevo/helpers/webserver.py", line 53, in ? >>> from twisted.internet import app >>> File "/usr/lib/python2.4/site-packages/twisted/internet/app.py", line >>> 36, in ? from twisted.cred.authorizer import DefaultAuthorizer >>> File "/usr/lib/python2.4/site-packages/twisted/cred/authorizer.py", >>> line 24, in ? >>> from twisted.cred import identity, error >>> File "/usr/lib/python2.4/site-packages/twisted/cred/identity.py", line >>> 32, in ? >>> from error import Unauthorized, KeyNotFound >>> ImportError: cannot import name KeyNotFound >>> >>> I have installed Twisted 2.5.0 so freevo should run fine :( >>> >>> Is there anyone out there who could help me with this problem ? If you >>> need further >>> informations, feel free to ask me. >>> >>> >> See: >> http://sourceforge.net/tracker/index.php?func=detail&aid=1640870&group_id=46652&atid=446898 >> >> Duncan >> >> > Hi > > Thx for your answer. > > I managed to patch the webserver.py manually. It's quite the same > "incompability" as in recordserver.py. So the webserver > works now. > > For the recordserver, I applied the diff under the link above, and I can > start/stop the recordserver now without any errors, > but if I click on Watch TV on the freevo main menu, freevo freezes and I > get the following error in my recordserver.log: > > [HTTPChannel,1,127.0.0.1] Unhandled error in Deferred: > [HTTPChannel,1,127.0.0.1] Unhandled Error > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 157, > in render > body = resrc.render(self) > File "/usr/lib/python2.4/site-packages/twisted/web/xmlrpc.py", line 118, > in render > defer.maybeDeferred(function, *args).addErrback( > File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line > 191, in addCallback > callbackKeywords=kw) > File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line > 182, in addCallbacks > self._runCallbacks() > --- <exception caught here> --- > File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line > 317, in _runCallbacks > self.result = callback(self.result, *args, **kw) > File "/usr/lib/python2.4/site-packages/twisted/web/xmlrpc.py", line 134, > in _cbRender > s = xmlrpclib.dumps(f, methodresponse=True, allow_none=self.allowNone) > exceptions.AttributeError: RecordServer instance has no attribute > 'allowNone' > > Is there also a patch for this somewhere or is there someting else going > wrong ? > > Again, thx in advance :) > Hi
I solved the problem myself. Just downgraded Twisted from 2.5.0 to 2.4.0 :) ------------------------------------------------------------------------- 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-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users