At the weekend I upgraded my freevo setup to 1.5-pre1. It is a Gentoo system and I just modified the old ebuild to get 1.5-pre1 instead of 1.4.1. Everything works fine (well except for a few funnies because I haven't got around to installing mmpython 0.4 yet) apart from the webserver. If I go to the web address I get the following error:
web.Server Traceback (most recent call last):
exceptions.AttributeError: 'module' object has no attribute 'encoding'
/usr/lib/python2.2/site-packages/twisted/web/server.py, line 159 in process
157 try:
158 resrc = self.site.getResourceFor(self)
159 self.render(resrc)
160 except:
Self
site
twisted.web.server.Site instance @ 0x843ede4 <twisted.web.server.Site instance at 0x843ede4>
Locals
resrc
__builtin__.IndexResource instance @ 0x8580b7c <__builtin__.IndexResource instance at 0x8580b7c>
self
twisted.web.server.Request instance @ 0x843f5e4 <GET / HTTP/1.1>
/usr/lib/python2.2/site-packages/twisted/web/server.py, line 166 in render
164 def render(self, resrc):
165 try:
166 body = resrc.render(self)
167 except UnsupportedMethod, e:
Locals
resrc
__builtin__.IndexResource instance @ 0x8580b7c <__builtin__.IndexResource instance at 0x8580b7c>
self
twisted.web.server.Request instance @ 0x843f5e4 <GET / HTTP/1.1>
Globals
UnsupportedMethod <class twisted.web.server.UnsupportedMethod at 0x83ff574>
/usr/lib/python2.2/site-packages/freevo/www/web_types.py, line 137 in render
135 return '<h1>401 Authentication required</h1>'
136 else:
137 return self._render(request)
138
Locals
self
__builtin__.IndexResource instance @ 0x8580b7c <__builtin__.IndexResource instance at 0x8580b7c>
request
twisted.web.server.Request instance @ 0x843f5e4 <GET / HTTP/1.1>
/usr/share/freevo/htdocs/index.rpy, line 107 in _render
105 fv = HTMLResource()
106
107 fv.printHeader(_('Welcome'), 'styles/main.css',selected=_('Home'))
108 fv.res += '<div id="contentmain">\n'
Locals
fv
www.web_types.HTMLResource instance @ 0x867ce5c <www.web_types.HTMLResource instance at 0x867ce5c>
Globals HTMLResource <class www.web_types.HTMLResource at 0x84fb2c4>
/usr/lib/python2.2/site-packages/freevo/www/web_types.py, line 162 in printHeader
160 strprefix = '../' * prefix
161
162 self.res += '<?xml version="1.0" encoding="'+ config.encoding +'"?>\n'
163 self.res += '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n'
Self
res ''
Locals
prefix 0
strprefix ''
self
www.web_types.HTMLResource instance @ 0x867ce5c <www.web_types.HTMLResource instance at 0x867ce5c>
Globals
config <module 'config' from '/usr/lib/python2.2/site-packages/freevo/config.pyc'>
exceptions.AttributeError: 'module' object has no attribute 'encoding'
If the copy and paste is not very clear I can give the actual web address.
Thanks Paul
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
