Attachment 'traceback.html'
Download--> -->
AttributeError
'module' object has no attribute 'datetime'
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/lib64/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestFastCGI object>)
- 1110 from MoinMoin.wikiaction import getHandler
- 1111 handler = getHandler(self, action)
- 1112 handler(self.page.page_name, self)
- 1113
- 1114 # generate page footer (actions that do not want this footer use
- handler = <function do_edit>
- self = <MoinMoin.request.RequestFastCGI object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.page_name = u'C/Macros'
/usr/lib64/python2.4/site-packages/MoinMoin/wikiaction.py in do_edit (pagename=u'C/Macros', request=<MoinMoin.request.RequestFastCGI object>)
- 643 else:
- 644 try:
- 645 savemsg = pg.saveText(savetext, rev, trivial=trivial, comment=comment)
- 646 except pg.EditConflict, msg:
- 647 # Handle conflict and send editor
- savemsg undefined
- pg = <MoinMoin.PageEditor.PageEditor instance>
- pg.saveText = <bound method PageEditor.saveText of <MoinMoin.PageEditor.PageEditor instance>>
- savetext = u'See KernighanRitchie Appendix A12.3 for full det..._language%29 m4].\n\n----\nCategoryProgrammingNotes\n'
- rev = 7
- trivial = 0
- comment = u''
/usr/lib64/python2.4/site-packages/MoinMoin/PageEditor.py in saveText (self=<MoinMoin.PageEditor.PageEditor instance>, newtext=u'See KernighanRitchie Appendix A12.3 for full det..._language%29 m4].\n\n----\nCategoryProgrammingNotes\n', rev=7, **kw={'comment': u'', 'trivial': 0})
- 898
- 899 msg = ""
- 900 if not self.request.user.may.save(self, newtext, rev, **kw):
- 901 msg = _('You are not allowed to edit this page!')
- 902 raise self.AccessDenied, msg
- self = <MoinMoin.PageEditor.PageEditor instance>
- self.request = <MoinMoin.request.RequestFastCGI object>
- self.request.user = <MoinMoin.user.User at 0x2aaaad9c78c0 name:u'JamesAspnes' id:1071346758.99.22152 valid:1>
- self.request.user.may = <MoinMoin.util.antispam.SecurityPolicy instance>
- self.request.user.may.save = <bound method SecurityPolicy.save of <MoinMoin.util.antispam.SecurityPolicy instance>>
- newtext = u'See KernighanRitchie Appendix A12.3 for full det..._language%29 m4].\n\n----\nCategoryProgrammingNotes\n'
- rev = 7
- kw = {'comment': u'', 'trivial': 0}
/usr/lib64/python2.4/site-packages/MoinMoin/util/antispam.py in save (self=<MoinMoin.util.antispam.SecurityPolicy instance>, editor=<MoinMoin.PageEditor.PageEditor instance>, newtext=u'See KernighanRitchie Appendix A12.3 for full det..._language%29 m4].\n\n----\nCategoryProgrammingNotes\n', rev=7, **kw={'comment': u'', 'trivial': 0})
- 166 for pn in BLACKLISTPAGES:
- 167 do_update = (pn != "LocalBadContent")
- 168 invalidate_cache_necessary, blacklist_entries = getblacklist(request, pn, do_update)
- 169 blacklist += blacklist_entries
- 170 invalidate_cache |= invalidate_cache_necessary
- invalidate_cache_necessary undefined
- blacklist_entries undefined
- global getblacklist = <function getblacklist>
- request = <MoinMoin.request.RequestFastCGI object>
- pn = 'BadContent'
- do_update = True
/usr/lib64/python2.4/site-packages/MoinMoin/util/antispam.py in getblacklist (request=<MoinMoin.request.RequestFastCGI object>, pagename='BadContent', do_update=True)
- 110 masterdate = response['lastModified']
- 111
- 112 if isinstance(masterdate, datetime.datetime):
- 113 # for python 2.5a
- 114 mydate = datetime.datetime(*tuple(time.gmtime(mymtime))[0:6])
- builtin isinstance = <built-in function isinstance>
- masterdate = <DateTime u'20060713T10:31:51' at 2aaaad35f950>
- global datetime = <module 'MoinMoin.util.datetime' from '/usr/lib6...hon2.4/site-packages/MoinMoin/util/datetime.pyc'>
- datetime.datetime undefined
AttributeError
'module' object has no attribute 'datetime'
- args = ("'module' object has no attribute 'datetime'",)
System Details
- Date: Fri, 14 Jul 2006 16:51:24 +0000
- Platform: Linux pine 2.6.13-15.10-smp #1 SMP Fri May 12 16:11:24 UTC 2006 x86_64
- Python: Python 2.4.1 (/srv/www/moin/pinewiki/)
- MoinMoin: Release 1.5.4 (release)
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.