System and Help Pages Setup
Here you can install additional help and system pages for all other languages you want to support for your wiki users.
If you have already gained superuser rights, you should see install links for each package. Just click on the link for each of the packages you wish to install.
If you do not have superuser rights, follow these instructions:
Make sure you are logged in, and then gain superuser rights (see HelpOnConfiguration).
- Reload this page.
install links should appear for each package.
- Click on the link for each of the packages you wish to install.
--> -->
AttributeError
delete
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.
/usr/lib/python2.6/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestModPy object>)
- 1191 # Suggest non valid user to login
- 1192 msg += " " + _("Login and try again.", formatted=0)
- 1193 self.page.send_page(self, msg=msg)
- 1194
- 1195 # Try action
- self = <MoinMoin.request.RequestModPy object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>
- msg = u'You are not allowed to do AttachFile on this page. Login and try again.'
/usr/lib/python2.6/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>, msg=u'You are not allowed to do AttachFile on this page. Login and try again.', **keywords={})
- 1254 format_args=pi_formatargs,
- 1255 do_cache=do_cache,
- 1256 start_line=pi_lines)
- 1257
- 1258 # check for pending footnotes
- start_line undefined
- pi_lines = 7
/usr/lib/python2.6/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u"\n## Translator note: you don't need to translate...he packages you wish to install.\n\n[[AttachList]]\n", format_args=u'', do_cache=1, **kw={'start_line': 7})
- 1345 try:
- 1346 code = self.loadCache(request)
- 1347 self.execute(request, parser, code)
- 1348 except Exception, e:
- 1349 if not is_cache_exception(e):
- self = <MoinMoin.Page.Page instance>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance>>
- request = <MoinMoin.request.RequestModPy object>
- parser = <MoinMoin.parser.wiki.Parser instance>
- code = <code object <module> at 0x559d19fa5e40, file "SystemPagesSetup", line 2>
/usr/lib/python2.6/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>, parser=<MoinMoin.parser.wiki.Parser instance>, code=<code object <module> at 0x559d19fa5e40, file "SystemPagesSetup", line 2>)
- 1374 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1375 try:
- 1376 exec code
- 1377 except 'CacheNeedsUpdate':
- 1378 raise Exception('CacheNeedsUpdate')
- code = <code object <module> at 0x559d19fa5e40, file "SystemPagesSetup", line 2>
/SystemPagesSetup in
() /usr/lib/python2.6/site-packages/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'AttachList', args=None)
- 288 def macro(self, macro_obj, name, args):
- 289 # call the macro
- 290 return macro_obj.execute(name, args)
- 291
- 292 def _get_bang_args(self, line):
- macro_obj = <MoinMoin.wikimacro.Macro instance>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance>>
- name = u'AttachList'
- args = None
/usr/lib/python2.6/site-packages/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'AttachList', args=None)
- 118 else:
- 119 raise ImportError("Cannot load macro %s" % macro_name)
- 120 return execute(self, args)
- 121
- 122 def _m_lang(self, text):
- execute = <function execute>
- self = <MoinMoin.wikimacro.Macro instance>
- args = None
/usr/lib/python2.6/site-packages/MoinMoin/macro/AttachList.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, args=None)
- 25 pagename = args[0].strip()
- 26 if len(args) > 1 and args[1].strip():
- 27 mime_type = args[1].strip()
- 28 return _build_filelist(macro.request, pagename, 0, 1, mime_type=mime_type)
- 29
- global _build_filelist = <function _build_filelist>
- macro = <MoinMoin.wikimacro.Macro instance>
- macro.request = <MoinMoin.request.RequestModPy object>
- pagename = u'SystemPagesSetup'
- mime_type = '*'
/usr/lib/python2.6/site-packages/MoinMoin/action/AttachFile.py in _build_filelist (request=<MoinMoin.request.RequestModPy object>, pagename=u'SystemPagesSetup', showheader=0, readonly=1, mime_type='*')
- 259
- 260 del_link = ''
- 261 if request.user.may.delete(pagename) and not readonly:
- 262 del_link = '<a href="%(baseurl)s/%(urlpagename)s' \
- 263 '?action=%(action)s&do=del&target=%(urlfile)s">%(label_del)s</a> | ' % parmdict
- request = <MoinMoin.request.RequestModPy object>
- request.user = <MoinMoin.user.User at 0x559d19956368 name:'' id:1732554421.26.500 valid:0>
- request.user.may = <MoinMoin.security.Permissions instance>
- request.user.may.delete undefined
- pagename = u'SystemPagesSetup'
- readonly = 1
/usr/lib/python2.6/site-packages/MoinMoin/security.py in __getattr__ (self=<MoinMoin.security.Permissions instance>, attr='delete')
- 52 return lambda pagename, Page=Page, request=request, attr=attr: Page(request, pagename).getACL(request).may(request, self.name, attr)
- 53 else:
- 54 raise AttributeError, attr
- 55
- 56
- builtin AttributeError = <type 'exceptions.AttributeError'>
- attr = 'delete'
AttributeError
delete
- args = ('delete',)
- message = 'delete'
System Details
- Date: Mon, 25 Nov 2024 17:07:01 +0000
- Platform: Linux graphics.stanford.edu 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
- Python: Python 2.6.6 (/usr/bin/python)
- MoinMoin: Release 1.5.8 (release)