--> -->
AttributeError
'Request' object has no attribute 'makeUniqueID'
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/__init__.py in run (self=<MoinMoin.request.request_wsgi.Request object>)
- 1309 self.page.send_page()
- 1310 else:
- 1311 handler(self.page.page_name, self)
- 1312
- 1313 # every action that didn't use to raise MoinMoinFinish must call this now:
- handler = <function do_show>
- self = <MoinMoin.request.request_wsgi.Request object>
- self.page = <MoinMoin.Page.Page object>
- self.page.page_name = u'Bandymas'
/usr/lib/python2.6/site-packages/MoinMoin/action/__init__.py in do_show (pagename=u'Bandymas', request=<MoinMoin.request.request_wsgi.Request object>, content_only=0, count_hit=1, cacheable=1, print_mode=0)
- 251 count_hit=count_hit,
- 252 print_mode=print_mode,
- 253 content_only=content_only,
- 254 )
- 255
- content_only = 0
/usr/lib/python2.6/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
- 1198 format_args=pi['formatargs'],
- 1199 do_cache=do_cache,
- 1200 start_line=pi['lines'])
- 1201
- 1202 # check for pending footnotes
- start_line undefined
- pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': 'wiki', 'formatargs': '', 'language': 'lt', 'lines': 0}
/usr/lib/python2.6/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_wsgi.Request object>, body=u'<<NewPage(naujienosRuosinys, Ra\u0161yti naujien\u0105,nau...$",sort=descending,items=10,editlink,tabulate)>>\n', format='wiki', format_args='', do_cache=1, **kw={'start_line': 0})
- 1292 try:
- 1293 code = self.loadCache(request)
- 1294 self.execute(request, parser, code)
- 1295 except Exception, e:
- 1296 if not is_cache_exception(e):
- self = <MoinMoin.Page.Page object>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page object>>
- request = <MoinMoin.request.request_wsgi.Request object>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance>
- code = <code object <module> at 0xb841c7b8, file "Bandymas", line 2>
/usr/lib/python2.6/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_wsgi.Request object>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>, code=<code object <module> at 0xb841c7b8, file "Bandymas", line 2>)
- 1323 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1324 try:
- 1325 exec code
- 1326 except "CacheNeedsUpdate": # convert the exception
- 1327 raise Exception("CacheNeedsUpdate")
- code = <code object <module> at 0xb841c7b8, file "Bandymas", line 2>
/Bandymas in
() /usr/lib/python2.6/site-packages/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.macro.Macro instance>, name=u'Include2', args=u'^naujienos/.*,,to="^----$",sort=descending,items=10,editlink,tabulate', markup=u'<<Include2(^naujienos/.*,,to="^----$",sort=descending,items=10,editlink,tabulate)>>')
- 308 # call the macro
- 309 try:
- 310 return macro_obj.execute(name, args)
- 311 except ImportError, err:
- 312 errmsg = unicode(err)
- macro_obj = <MoinMoin.macro.Macro instance>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance>>
- name = u'Include2'
- args = u'^naujienos/.*,,to="^----$",sort=descending,items=10,editlink,tabulate'
/usr/lib/python2.6/site-packages/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance>, macro_name=u'Include2', args=u'^naujienos/.*,,to="^----$",sort=descending,items=10,editlink,tabulate')
- 127 else:
- 128 raise ImportError("Cannot load macro %s" % macro_name)
- 129 return execute(self, args)
- 130
- 131 def _m_lang(self, text):
- execute = <function execute>
- self = <MoinMoin.macro.Macro instance>
- args = u'^naujienos/.*,,to="^----$",sort=descending,items=10,editlink,tabulate'
/var/web/atviras.lt/moinmoin-1.7.1/data/plugin/macro/Include2.py in execute (macro=<MoinMoin.macro.Macro instance>, text=u'^naujienos/.*,,to="^----$",sort=descending,items=10,editlink,tabulate', args_re=<_sre.SRE_Pattern object>, title_re=<_sre.SRE_Pattern object>, called_by_toc=0)
- 273 request.redirect(strfile)
- 274 try:
- 275 cid = request.makeUniqueID("Include_%s" % wikiutil.quoteWikinameFS(inc_page.page_name))
- 276 inc_page.send_page(request, content_only=1, content_id=cid)
- 277 result.append(strfile.getvalue())
- cid undefined
- request = <MoinMoin.request.request_wsgi.Request object>
- request.makeUniqueID undefined
- global wikiutil = <module 'MoinMoin.wikiutil' from '/usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py'>
- wikiutil.quoteWikinameFS = <function quoteWikinameFS>
- inc_page = <MoinMoin.Page.Page object>
- inc_page.page_name = u'naujienos/2011-12-18/Slackware - Pirmieji \u017dingsniai'
AttributeError
'Request' object has no attribute 'makeUniqueID'
- args = ("'Request' object has no attribute 'makeUniqueID'",)
- message = "'Request' object has no attribute 'makeUniqueID'"
System Details
- Date: Sun, 05 Feb 2012 03:05:11 +0000
- Platform: Linux takezo 2.6.37.6-takezo #6 Mon Jan 2 22:46:55 EET 2012 i686
- Python: Python 2.6.6 (/usr/bin/python)
- MoinMoin: Release 1.8.8 (release)