Converting VisualSiteMap.py to 1.2?
Cove Schneider <[email protected]>
| Newsgroups | gmane.comp.web.wiki.moin.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello,
This looks like it's an easy enough fix. Does anyone happen to know off
the top of their head?
Any info appreciated.
Thanks,
Cove
AttributeError'module' object has no attribute 'http_headers'
Please include this information in your bug reports!:
Python Python 2.2.2: /usr/bin/python
Linux intranet 2.4.20-20.9 #1 Mon Aug 18 11:45:58 EDT 2003 i686
MoinMoin Release 1.2 [Revision 1.183]
Tue Mar 2 15:25:58 2004
A problem occurred in a Python script. Here is the sequence of function
calls leading up to the error, in the order they occurred.
/usr/local/moin-1.2/lib/python2.2/site-packages/MoinMoin/request.py in
run(self=<MoinMoin.request.RequestCGI instance>)
454 else:
455 try:
456 cgitb.Hook(file=self).handle(saved_exc)
457 # was: cgitb.handler()
458 except:
cgitb = <module 'MoinMoin.support.cgitb' from
'/usr/loca...hon2.2/site-packages/MoinMoin/support/cgitb.pyc'>,
cgitb.Hook = <class MoinMoin.support.cgitb.Hook>, file undefined,
self = <MoinMoin.request.RequestCGI instance>, ).handle undefined,
saved_exc = (<class exceptions.AttributeError>,
<exceptions.AttributeError instance>, <traceback object>)
/home/wp2/site/intranet/moin/instances/dev/data/plugin/action/
VisualSiteMap.py in execute(pagename='FrontPage',
request=<MoinMoin.request.RequestCGI instance>)
69 maxdepth = MAX_DEPTH;
70
71 webapi.http_headers(request);
72 wikiutil.send_title(request, _('Visual Map of %s') % (pagename
), pagename=pagename);
73
global webapi = <module 'MoinMoin.webapi' from
'/usr/local/moin-...n2.2/site-packages/MoinMoin/webapi/__init__.pyc'>,
webapi.http_headers undefined, request = <MoinMoin.request.RequestCGI
instance>
AttributeError: 'module' object has no attribute 'http_headers'
__doc__ = 'Attribute not found.'
__getitem__ = <bound method AttributeError.__getitem__ of
<exceptions.AttributeError instance>>
__init__ = <bound method AttributeError.__init__ of
<exceptions.AttributeError instance>>
__module__ = 'exceptions'
__str__ = <bound method AttributeError.__str__ of
<exceptions.AttributeError instance>>
args = ("'module' object has no attribute 'http_headers'",)
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click