Attachment 'traceback.html'
Download--> -->
AttributeError
'NoneType' object has no attribute 'get'
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.
/var/kunden/webs/mp/MoinMoin/request.py in __init__ (self=<MoinMoin.request.RequestCGI object>, properties={})
- 1332 def __init__(self, properties={}):
- 1333 try:
- 1334 self._setup_vars_from_std_env(os.environ)
- 1335 RequestBase.__init__(self, properties)
- 1336
- self = <MoinMoin.request.RequestCGI object>
- self._setup_vars_from_std_env = <bound method RequestCGI._setup_vars_from_std_env of <MoinMoin.request.RequestCGI object>>
- global os = <module 'os' from '/usr/lib/python2.3/os.pyc'>
- os.environ = {'DOCUMENT_ROOT': '/var/kunden/webs/mp/', 'GATEWAY_INTERFACE': 'Python-CGI/1.1', 'HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pj...cation/vnd.ms-powerpoint, application/msword, */*', 'HTTP_ACCEPT_ENCODING': 'deflate, gzip, x-gzip, identity, *;q=0', 'HTTP_ACCEPT_LANGUAGE': 'de', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_COOKIE': 'AWSUSER_ID=awsuser_id1134653509734r2448; __utma=...ash/neue_offizielle_homepage.html|utmcmd=referral', 'HTTP_COOKIE2': '$Version=1', 'HTTP_HOST': 'www.domain.com', 'HTTP_REFERER': 'http://www.domain.com/wiki.py/FrontPage', ...}
/var/kunden/webs/mp/MoinMoin/request.py in _setup_vars_from_std_env (self=<MoinMoin.request.RequestCGI object>, env={'DOCUMENT_ROOT': '/var/kunden/webs/mp/', 'GATEWAY_INTERFACE': 'Python-CGI/1.1', 'HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pj...cation/vnd.ms-powerpoint, application/msword, */*', 'HTTP_ACCEPT_ENCODING': 'deflate, gzip, x-gzip, identity, *;q=0', 'HTTP_ACCEPT_LANGUAGE': 'de', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_COOKIE': 'AWSUSER_ID=awsuser_id1134653509734r2448; __utma=...ash/neue_offizielle_homepage.html|utmcmd=referral', 'HTTP_COOKIE2': '$Version=1', 'HTTP_HOST': 'www.domain.com', 'HTTP_REFERER': 'http://www.domain.com/wiki.py/FrontPage', ...})
- 246
- 247 # Values that need more work
- 248 self.setHttpReferer(env.get('HTTP_REFERER'))
- 249 self.setIsSSL(env)
- 250 self.setHost(env.get('HTTP_HOST'))
- self = <MoinMoin.request.RequestCGI object>
- self.setHttpReferer = <bound method RequestCGI.setHttpReferer of <MoinMoin.request.RequestCGI object>>
- env = {'DOCUMENT_ROOT': '/var/kunden/webs/mp/', 'GATEWAY_INTERFACE': 'Python-CGI/1.1', 'HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pj...cation/vnd.ms-powerpoint, application/msword, */*', 'HTTP_ACCEPT_ENCODING': 'deflate, gzip, x-gzip, identity, *;q=0', 'HTTP_ACCEPT_LANGUAGE': 'de', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_COOKIE': 'AWSUSER_ID=awsuser_id1134653509734r2448; __utma=...ash/neue_offizielle_homepage.html|utmcmd=referral', 'HTTP_COOKIE2': '$Version=1', 'HTTP_HOST': 'www.domain.com', 'HTTP_REFERER': 'http://www.domain.com/wiki.py/FrontPage', ...}
- env.get = <built-in method get of dict object>
/var/kunden/webs/mp/MoinMoin/request.py in setHttpReferer (self=<MoinMoin.request.RequestCGI object>, referer='http://www.domain.com/wiki.py/FrontPage')
- 262 if referer:
- 263 value = unicode(referer, 'ascii', 'replace')
- 264 value = value.encode('ascii', 'replace')
- 265 self.http_referer = value
- 266
- value = u'http://www.domain.com/wiki.py/FrontPage'
- value.encode = <built-in method encode of unicode object>
/usr/lib/python2.3/encodings/__init__.py in search_function (encoding='ascii')
- 69
- 70 # Cache lookup
- 71 entry = _cache.get(encoding, _unknown)
- 72 if entry is not _unknown:
- 73 return entry
- entry undefined
- global _cache = None
- _cache.get undefined
- encoding = 'ascii'
- global _unknown = None
AttributeError
'NoneType' object has no attribute 'get'
- args = ("'NoneType' object has no attribute 'get'",)
System Details
- Date: Wed, 25 Jan 2006 08:43:37 +0000
- Platform: Linux domain.com 2.6.8-2-386 #1 Thu May 19 17:40:50 JST 2005 i686
- Python: Python 2.3.4 (/usr/bin/python)
- MoinMoin: Release 1.5.0 (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.