Attachment 'traceback7.html'
Download--> -->
AttributeError
'NoneType' object has no attribute '_backend'
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.
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_standalone.Request object at 0x1725550>)
- 1279
- 1280 # Disallow non available actions
- 1281 elif action_name[0].isupper() and not action_name in self.getAvailableActions(self.page):
- 1282 msg = _("You are not allowed to do %(action_name)s on this page.") % {
- 1283 'action_name': wikiutil.escape(action_name), }
- action_name = u'AttachFile'
- ].isupper = <built-in method isupper of unicode object at 0x151c600>
- self = <MoinMoin.request.request_standalone.Request object at 0x1725550>
- self.getAvailableActions = <bound method Request.getAvailableActions of <Mo....request_standalone.Request object at 0x1725550>>
- self.page = <MoinMoin.Page.Page object at 0x18cba10>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/request/__init__.py in getAvailableActions (self=<MoinMoin.request.request_standalone.Request object at 0x1725550>, page=<MoinMoin.Page.Page object at 0x18cba10>)
- 821 # Filter actions by page type, acl and user state
- 822 excluded = []
- 823 if ((page.isUnderlayPage() and not page.isStandardPage()) or
- 824 not self.user.may.write(page.page_name) or
- 825 not self.user.may.delete(page.page_name)):
- page = <MoinMoin.Page.Page object at 0x18cba10>
- page.isUnderlayPage = <bound method Page.isUnderlayPage of <MoinMoin.Page.Page object at 0x18cba10>>
- page.isStandardPage = <bound method Page.isStandardPage of <MoinMoin.Page.Page object at 0x18cba10>>
- self = <MoinMoin.request.request_standalone.Request object at 0x1725550>
- self.user = <MoinMoin.user.User at 0x1514fc8 name:u'ReimarBauer' valid:1>
- self.user.may = <MoinMoin.security.Permissions instance at 0x15147a0>
- self.user.may.write = <function <lambda> at 0x18d71b8>
- page.page_name = u'Example'
- self.user.may.delete = <function <lambda> at 0x18d7140>
/home/user/workspace/1.8-mercurialbackend-ppacana/MoinMoin/Page.py in isUnderlayPage (self=<MoinMoin.Page.Page object at 0x18cba10>, includeDeleted=True)
- 430 if not includeDeleted and self._rev.deleted:
- 431 return False
- 432 return hasattr(self._item._backend, '_layer_marked_underlay')
- 433
- 434 def isStandardPage(self, includeDeleted=True):
- builtin hasattr = <built-in function hasattr>
- self = <MoinMoin.Page.Page object at 0x18cba10>
- self._item = None
- self._item._backend undefined
AttributeError
'NoneType' object has no attribute '_backend'
- args = ("'NoneType' object has no attribute '_backend'",)
- message = "'NoneType' object has no attribute '_backend'"
System Details
- Date: Sun, 17 Aug 2008 20:24:04 +0000
- Platform: Linux linux 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008 x86_64
- Python: Python 2.5.2 (/usr/bin/python)
- MoinMoin: Release 1.8.0 (alpha)
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.You are not allowed to attach a file to this page.