AttributeError'unicode' object has no attribute 'getText' | Please include this information in your bug reports!: Python Python 2.3.2: /usr/bin/python2.3 Linux bryan-1.cocula.com 2.4.20-31.9 #1 Tue Apr 13 18:04:23 EDT 2004 i686 MoinMoin Release 1.3.4 [Revision 1.3.4 release] Fri Apr 8 17:45:40 2005 |
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/lib/python2.3/site-packages/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI instance>) |
916 else: |
917 try: |
918 cgitb.Hook(file=self).handle(saved_exc) |
919 # was: cgitb.handler() |
920 except: |
cgitb = <module 'MoinMoin.support.cgitb' from '/usr/lib/python2.3/site-packages/MoinMoin/support/cgitb.py'>, 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>) |
/usr/lib/python2.3/site-packages/MoinMoin/wikiaction.py in do_edit(pagename=u'CocktailTable', request=<MoinMoin.request.RequestCGI instance>) |
499 return |
500 from MoinMoin.PageEditor import PageEditor |
501 PageEditor(request, pagename).sendEditor() |
502 |
503 |
PageEditor = <class MoinMoin.PageEditor.PageEditor>, request = <MoinMoin.request.RequestCGI instance>, pagename = u'CocktailTable', ).sendEditor undefined |
/usr/lib/python2.3/site-packages/MoinMoin/PageEditor.py in __init__(self=<MoinMoin.PageEditor.PageEditor instance>, page_name=<MoinMoin.request.RequestCGI instance>, request=u'CocktailTable', **keywords={}) |
86 """ |
87 self.request = request |
88 self._ = request.getText |
89 Page.__init__(self, page_name, **keywords) |
90 |
self = <MoinMoin.PageEditor.PageEditor instance>, self._ undefined, request = u'CocktailTable', request.getText undefined |
AttributeError: 'unicode' object has no attribute 'getText'
__doc__ =
'Attribute not found.'
__getitem__ =
<bound method AttributeError.__getitem__ of <exceptions.AttributeError instance at 0x402ce04c>>
__init__ =
<bound method AttributeError.__init__ of <exceptions.AttributeError instance at 0x402ce04c>>
__module__ =
'exceptions'
__str__ =
<bound method AttributeError.__str__ of <exceptions.AttributeError instance at 0x402ce04c>>
args =
("'unicode' object has no attribute 'getText'",)