Attachment 'stacktrace.html'
Download--> -->
TypeError
unsupported operand type(s) for +: 'NoneType' and 'str'
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/local/lib/python2.4/site-packages/MoinMoin/request.py in __init__ (self=<MoinMoin.request.RequestModPy object>, req=<mod_python.apache.Request instance>)
- 1838 env=req.subprocess_env
- 1839 self._setup_vars_from_std_env(env)
- 1840 RequestBase.__init__(self)
- 1841
- 1842 except Exception, err:
- global RequestBase = <class 'MoinMoin.request.RequestBase'>
- RequestBase.__init__ = <unbound method RequestBase.__init__>
- self = <MoinMoin.request.RequestModPy object>
/usr/local/lib/python2.4/site-packages/MoinMoin/request.py in __init__ (self=<MoinMoin.request.RequestModPy object>, properties={})
- 140 # MOVED: this was in run() method, but moved here for auth module being able to use it
- 141 if not self.query_string.startswith('action=xmlrpc'):
- 142 self.args = self.form = self.setup_args()
- 143
- 144 rootname = u''
- self = <MoinMoin.request.RequestModPy object>
- self.args = {}
- self.form = {}
- self.setup_args = <bound method RequestModPy.setup_args of <MoinMoin.request.RequestModPy object>>
/usr/local/lib/python2.4/site-packages/MoinMoin/request.py in setup_args (self=<MoinMoin.request.RequestModPy object>, form=None)
- 917 """
- 918 if form is not None or self.request_method == 'POST':
- 919 return self._setup_args_from_cgi_form(form)
- 920 args = cgi.parse_qs(self.query_string, keep_blank_values=1)
- 921 return self.decodeArgs(args)
- self = <MoinMoin.request.RequestModPy object>
- self._setup_args_from_cgi_form = <bound method RequestModPy._setup_args_from_cgi_form of <MoinMoin.request.RequestModPy object>>
- form = None
/usr/local/lib/python2.4/site-packages/MoinMoin/request.py in _setup_args_from_cgi_form (self=<MoinMoin.request.RequestModPy object>, form=<mod_python.util.FieldStorage instance>)
- 1907 args[key] = fixedResult
- 1908
- 1909 return self.decodeArgs(args)
- 1910
- 1911 def run(self, req):
- self = <MoinMoin.request.RequestModPy object>
- self.decodeArgs = <bound method RequestModPy.decodeArgs of <MoinMoin.request.RequestModPy object>>
- args = {None: [''], 'action': ['AttachFile'], 'do': ['upload'], 'file': ['%PDF-1.3\n%\xc4\xe5\xf2\xe5\xeb\xa7\xf3\xa0\xd0\xc4\xc6\n2 0 obj\n<< /Length 4 0 R /...2efe7bfabde890d4a187> ] >>\nstartxref\n27334\n%%EOF\n'], 'file__filename__': 'requirementsurvey.pdf', 'rename': ['requirementsurvey.pdf']}
/usr/local/lib/python2.4/site-packages/MoinMoin/request.py in decodeArgs (self=<MoinMoin.request.RequestModPy object>, args={None: [''], 'action': ['AttachFile'], 'do': ['upload'], 'file': ['%PDF-1.3\n%\xc4\xe5\xf2\xe5\xeb\xa7\xf3\xa0\xd0\xc4\xc6\n2 0 obj\n<< /Length 4 0 R /...2efe7bfabde890d4a187> ] >>\nstartxref\n27334\n%%EOF\n'], 'file__filename__': 'requirementsurvey.pdf', 'rename': ['requirementsurvey.pdf']})
- 958 result = {}
- 959 for key in args:
- 960 if key + '__filename__' in args:
- 961 # Copy file data as is
- 962 result[key] = args[key]
- key = None
- args = {None: [''], 'action': ['AttachFile'], 'do': ['upload'], 'file': ['%PDF-1.3\n%\xc4\xe5\xf2\xe5\xeb\xa7\xf3\xa0\xd0\xc4\xc6\n2 0 obj\n<< /Length 4 0 R /...2efe7bfabde890d4a187> ] >>\nstartxref\n27334\n%%EOF\n'], 'file__filename__': 'requirementsurvey.pdf', 'rename': ['requirementsurvey.pdf']}
TypeError
unsupported operand type(s) for +: 'NoneType' and 'str'
- args = ("unsupported operand type(s) for +: 'NoneType' and 'str'",)
System Details
- Date: Fri, 19 May 2006 20:39:28 +0000
- Platform: FreeBSD pythagoras.toolhouse.com 6.1-RC FreeBSD 6.1-RC #1: Fri Apr 28 16:52:03 PDT 2006 root@pythagoras.toolhouse.com:/usr/obj/usr/src/sys/THKERNEL i386
- Python: Python 2.4.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.