AttributeError'NoneType' object has no attribute 'saved_cookie' | Please include this information in your bug reports!: Python Python 2.3.3: /usr/bin/python2.3 Linux thinkmo 2.4.24-thinkmo-1 #2 Mon Jan 5 18:04:00 CET 2004 i686 MoinMoin Release 1.2.1 [Revision 1.184] Thu May 20 20:40:25 2004 |
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/twaldmann/moincvs/moin--main--1.2/MoinMoin/request.py in run(self=<MoinMoin.request.RequestTwisted instance>) |
454 else: |
455 try: |
456 cgitb.Hook(file=self).handle(saved_exc) |
457 # was: cgitb.handler() |
458 except: |
cgitb = <module 'MoinMoin.support.cgitb' from '/home/twa...ncvs/moin--main--1.2/MoinMoin/support/cgitb.pyc'>, cgitb.Hook = <class MoinMoin.support.cgitb.Hook>, file undefined, self = <MoinMoin.request.RequestTwisted instance>, ).handle undefined, saved_exc = (<class exceptions.AttributeError>, <exceptions.AttributeError instance>, <traceback object>) |
/home/twaldmann/moincvs/moin--main--1.2/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestTwisted instance>, msg='', **keywords={'count_hit': 1}) |
572 wikiutil.send_title(request, title, link=link, msg=msg, |
573 pagename=self.page_name, print_mode=print_mode, pi_refresh=pi_refresh, |
574 allow_doubleclick=1, trail=trail) |
575 |
576 # user-defined form preview? |
allow_doubleclick undefined, trail = ['MoinDev/TlaGuide', 'StartSeite', 'BenutzerEinstellungen', 'MoinDev', 'RecentChanges'] |
/org/de.wikiwikiweb.moinmoin/bin/MoinMoin/wikiutil.py in send_title(request=<MoinMoin.request.RequestTwisted instance>, text='RecentChanges', **keywords={'allow_doubleclick': 1, 'link': '/RecentChanges?action=fullsearch&value=RecentChanges&literal=1&case=1&context=40', 'msg': '', 'pagename': 'RecentChanges', 'pi_refresh': None, 'print_mode': False, 'trail': ['MoinDev/TlaGuide', 'StartSeite', 'BenutzerEinstellungen', 'MoinDev', 'RecentChanges']}) |
/home/twaldmann/moincvs/moin--main--1.2/MoinMoin/security.py in edit(self=<FarmConfig.wiki.SecurityPolicy instance>, pagename='RecentChanges', **kw={}) |
49 policies and is not used currently. |
50 """ |
51 return self.getACL(pagename).may(self.request, self.name, "write") |
52 |
53 def save(self, editor, newtext, datestamp, **kw): |
self = <FarmConfig.wiki.SecurityPolicy instance>, self.getACL = <bound method SecurityPolicy.getACL of <FarmConfig.wiki.SecurityPolicy instance>>, pagename = 'RecentChanges', ).may undefined, self.request = <MoinMoin.request.RequestTwisted instance>, self.name = 'FlorianFesti' |
/home/twaldmann/moincvs/moin--main--1.2/MoinMoin/wikiacl.py in may(self=<MoinMoin.wikiacl.AccessControlList instance>, request=<MoinMoin.request.RequestTwisted instance>, name='FlorianFesti', dowhat='write') |
169 if entry in self.special_users: |
170 handler = getattr(self, "_special_"+entry, None) |
171 allowed = handler(request, name, dowhat, rightsdict) |
172 elif self._is_group.get(entry) and is_group_member(entry, name): |
173 allowed = rightsdict.get(dowhat) |
allowed = None, handler = <bound method AccessControlList._special_Known of <MoinMoin.wikiacl.AccessControlList instance>>, request = <MoinMoin.request.RequestTwisted instance>, name = 'FlorianFesti', dowhat = 'write', rightsdict = {'admin': False, 'delete': True, 'read': True, 'revert': True, 'write': True} |
/home/twaldmann/moincvs/moin--main--1.2/MoinMoin/wikiacl.py in _special_Known(self=<MoinMoin.wikiacl.AccessControlList instance>, request=<MoinMoin.request.RequestTwisted instance>, name='FlorianFesti', dowhat='write', rightsdict={'admin': False, 'delete': True, 'read': True, 'revert': True, 'write': True}) |
190 works for subscription emails. |
191 """ |
192 u = user.User(None, name=name) |
193 if u.valid and name == u.name: # is a user with this name known? |
194 return rightsdict.get(dowhat) |
u undefined, global user = <module 'MoinMoin.user' from '/home/twaldmann/moincvs/moin--main--1.2/MoinMoin/user.py'>, user.User = <class MoinMoin.user.User>, None undefined, name = 'FlorianFesti' |
/home/twaldmann/moincvs/moin--main--1.2/MoinMoin/user.py in __init__(self=<MoinMoin.user.User instance>, request=None, id=None, name='FlorianFesti', password=None, auth_username='') |
179 except Cookie.CookieError: |
180 # ignore invalid cookies, else user can't relogin |
181 cookie = None |
182 if cookie and cookie.has_key('MOIN_ID'): |
183 self.id = cookie['MOIN_ID'].value |
cookie undefined, None undefined |
AttributeError: 'NoneType' object has no attribute 'saved_cookie'
__doc__ =
'Attribute not found.'
__getitem__ =
<bound method AttributeError.__getitem__ of <exceptions.AttributeError instance>>
__init__ =
<bound method AttributeError.__init__ of <exceptions.AttributeError instance>>
__module__ =
'exceptions'
__str__ =
<bound method AttributeError.__str__ of <exceptions.AttributeError instance>>
args =
("'NoneType' object has no attribute 'saved_cookie'",)