--> -->

AttributeError

'Request' object has no attribute '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. /home/schemingmind/SmWiki/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_twisted.Request object>)

    1. 1309 self.page.send_page()
    2. 1310 else:
    3. 1311 handler(self.page.page_name, self)
    4. 1312
    5. 1313 # every action that didn't use to raise MoinMoinFinish must call this now:
    • handler = <function do_show>
    • self = <MoinMoin.request.request_twisted.Request object>
    • self.page = <MoinMoin.Page.Page object>
    • self.page.page_name = u'Makruk'
  2. /home/schemingmind/SmWiki/site-packages/MoinMoin/action/__init__.py in do_show (pagename=u'Makruk', request=<MoinMoin.request.request_twisted.Request object>, content_only=0, count_hit=1, cacheable=1, print_mode=0)

    1. 241 """
    2. 242 # We must check if the current page has different ACLs.
    3. 243 if not request.user.may.read(pagename):
    4. 244 Page(request, pagename).send_page()
    5. 245 else:
    • request = <MoinMoin.request.request_twisted.Request object>
    • request.user undefined
    • pagename = u'Makruk'

AttributeError

'Request' object has no attribute 'user'

  • args = ("'Request' object has no attribute 'user'",)
  • message = "'Request' object has no attribute 'user'"

System Details