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/lib/python2.3/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestTwisted object>)
- 1135 from MoinMoin.wikiaction import getHandler
- 1136 handler = getHandler(self, action)
- 1137 handler(self.page.page_name, self)
- 1138
- 1139 # 5. Or redirect to another page
- handler = <function do_edit>
- self = <MoinMoin.request.RequestTwisted object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.page_name = u'Liste des entr\xe9es du glossaire'
/usr/lib/python2.3/site-packages/MoinMoin/wikiaction.py in do_edit (pagename=u'Liste des entr\xe9es du glossaire', request=<MoinMoin.request.RequestTwisted object>)
- 636 else:
- 637 try:
- 638 savemsg = pg.saveText(savetext, rev, trivial=trivial, comment=comment)
- 639 except pg.EditConflict, msg:
- 640 # 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"Cette page contient l'inventaire de toutes les e...lus simple :)\n\n[[GoTo]]\n\n----\nCat\xe9gorieCat\xe9gorie\n"
- rev = 15
- trivial = 0
- comment = u''
/usr/lib/python2.3/site-packages/MoinMoin/PageEditor.py in saveText (self=<MoinMoin.PageEditor.PageEditor instance>, newtext=u"Cette page contient l'inventaire de toutes les e...lus simple :)\n\n[[GoTo]]\n\n----\nCat\xe9gorieCat\xe9gorie\n", rev=15, **kw={'comment': u'', 'trivial': 0})
- 846
- 847 msg = ""
- 848 if not self.request.user.may.save(self, newtext, rev, **kw):
- 849 msg = _('You are not allowed to edit this page!')
- 850 raise self.AccessDenied, msg
- self = <MoinMoin.PageEditor.PageEditor instance>
- self.request = <MoinMoin.request.RequestTwisted object>
- self.request.user = <MoinMoin.user.User at 0x914656c name:u'JeanPhilippeGu\xe9rard' id:1121712278.49.42394 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"Cette page contient l'inventaire de toutes les e...lus simple :)\n\n[[GoTo]]\n\n----\nCat\xe9gorieCat\xe9gorie\n"
- rev = 15
- kw = {'comment': u'', 'trivial': 0}
/usr/lib/python2.3/site-packages/MoinMoin/util/antispam.py in save (self=<MoinMoin.util.antispam.SecurityPolicy instance>, editor=<MoinMoin.PageEditor.PageEditor instance>, newtext=u"Cette page contient l'inventaire de toutes les e...lus simple :)\n\n[[GoTo]]\n\n----\nCat\xe9gorieCat\xe9gorie\n", rev=15, **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.RequestTwisted object>
- pn = 'BadContent'
- do_update = True
/usr/lib/python2.3/site-packages/MoinMoin/util/antispam.py in getblacklist (request=<MoinMoin.request.RequestTwisted 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'20060426T21:15:22' at 9153cec>
- global datetime = <module 'MoinMoin.util.datetime' from '/usr/lib/python2.3/site-packages/MoinMoin/util/datetime.py'>
- datetime.datetime undefined
AttributeError
'module' object has no attribute 'datetime'
- args = ("'module' object has no attribute 'datetime'",)
System Details
- Date: Thu, 27 Apr 2006 20:10:13 +0000
- Platform: Linux benji1 2.4.27-grsec #1 Thu Sep 16 23:07:27 CEST 2004 i686
- Python: Python 2.3.5 (/usr/bin/python2.3)
- MoinMoin: Release 1.5.3 (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.