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.

  1. /usr/local/lib/python2.4/site-packages/MoinMoin/request.py in __init__ (self=<MoinMoin.request.RequestModPy object>, req=<mod_python.apache.Request instance>)

    1. 1838 env=req.subprocess_env
    2. 1839 self._setup_vars_from_std_env(env)
    3. 1840 RequestBase.__init__(self)
    4. 1841
    5. 1842 except Exception, err:
    • global RequestBase = <class 'MoinMoin.request.RequestBase'>
    • RequestBase.__init__ = <unbound method RequestBase.__init__>
    • self = <MoinMoin.request.RequestModPy object>
  2. /usr/local/lib/python2.4/site-packages/MoinMoin/request.py in __init__ (self=<MoinMoin.request.RequestModPy object>, properties={})

    1. 140 # MOVED: this was in run() method, but moved here for auth module being able to use it
    2. 141 if not self.query_string.startswith('action=xmlrpc'):
    3. 142 self.args = self.form = self.setup_args()
    4. 143
    5. 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>>
  3. /usr/local/lib/python2.4/site-packages/MoinMoin/request.py in setup_args (self=<MoinMoin.request.RequestModPy object>, form=None)

    1. 917 """
    2. 918 if form is not None or self.request_method == 'POST':
    3. 919 return self._setup_args_from_cgi_form(form)
    4. 920 args = cgi.parse_qs(self.query_string, keep_blank_values=1)
    5. 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
  4. /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>)

    1. 1907 args[key] = fixedResult
    2. 1908
    3. 1909 return self.decodeArgs(args)
    4. 1910
    5. 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']}
  5. /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']})

    1. 958 result = {}
    2. 959 for key in args:
    3. 960 if key + '__filename__' in args:
    4. 961 # Copy file data as is
    5. 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.
  • [get | view] (2006-02-06 22:50:20, 9.1 KB) [[attachment:TestPage.html]]
  • [get | view] (2006-02-24 15:36:18, 8.8 KB) [[attachment:mointb.html]]
  • [get | view] (2006-05-19 20:41:36, 9.7 KB) [[attachment:stacktrace.html]]
  • [get | view] (2006-05-17 03:17:13, 2.8 KB) [[attachment:uploadfix]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.