Attachment 'traceback.html'

Download

--> -->

AttributeError

'RequestTwisted' object has no attribute 'get_user'

If you want to report a bug, please save this page and attach it to your bug report.

Traceback

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

  1. /org/moin_tw/moin-1.5/MoinMoin/request.py in run (self=<MoinMoin.request.RequestTwisted object>)

    1. 1135 from MoinMoin.wikiaction import getHandler
    2. 1136 handler = getHandler(self, action)
    3. 1137 handler(self.page.page_name, self)
    4. 1138
    5. 1139 # 5. Or redirect to another page
    • handler = <function do_userform>
    • self = <MoinMoin.request.RequestTwisted object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'UserPreferences'
  2. /org/moin_tw/moin-1.5/MoinMoin/wikiaction.py in do_userform (pagename=u'UserPreferences', request=<MoinMoin.request.RequestTwisted object>)

    1. 726 def do_userform(pagename, request):
    2. 727 from MoinMoin import userform
    3. 728 savemsg = userform.savedata(request)
    4. 729 Page(request, pagename).send_page(request, msg=savemsg)
    5. 730
    • savemsg undefined
    • userform = <module 'MoinMoin.userform' from '/org/moin_tw/moin-1.5/MoinMoin/userform.py'>
    • userform.savedata = <function savedata>
    • request = <MoinMoin.request.RequestTwisted object>
  3. /org/moin_tw/moin-1.5/MoinMoin/userform.py in savedata (request=<MoinMoin.request.RequestTwisted object>)

    1. 23 Return error msg or None.
    2. 24 """
    3. 25 return UserSettingsHandler(request).handleData()
    4. 26
    5. 27
    • global UserSettingsHandler = <class MoinMoin.userform.UserSettingsHandler>
    • request = <MoinMoin.request.RequestTwisted object>
    • ).handleData undefined
  4. /org/moin_tw/moin-1.5/MoinMoin/userform.py in handleData (self=<MoinMoin.userform.UserSettingsHandler instance>)

    1. 180 if self.request.request_method != 'POST':
    2. 181 return _("Use UserPreferences to change your settings or create an account.")
    3. 182 theuser = self.request.get_user()
    4. 183
    5. 184 if not 'name' in theuser.auth_attribs:
    • theuser undefined
    • self = <MoinMoin.userform.UserSettingsHandler instance>
    • self.request = <MoinMoin.request.RequestTwisted object>
    • self.request.get_user undefined

AttributeError

'RequestTwisted' object has no attribute 'get_user'

  • args = ("'RequestTwisted' object has no attribute 'get_user'",)

System Details

  • Date: Sun, 26 Feb 2006 22:52:23 +0000
  • Platform: Linux thinkmo 2.6.14-thinkmo-1 #1 SMP Wed Nov 9 17:33:56 CET 2005 x86_64
  • Python: Python 2.4.2 (/usr/local/bin/python2.4)
  • MoinMoin: Release 1.5.2 (patch-456)

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2006-02-26 23:02:35, 7.1 KB) [[attachment:traceback.html]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.