Attachment 'mointb.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. /var/www/wiki-1.5.2/moin-install/lib/python2.3/site-packages/MoinMoin/request.py in __init__ (self=<MoinMoin.request.RequestModPy object>, req=<mod_python.apache.Request instance>)

    1. 1863 env=req.subprocess_env
    2. 1864 self._setup_vars_from_std_env(env)
    3. 1865 RequestBase.__init__(self)
    4. 1866
    5. 1867 except Exception, err:
    • global RequestBase = <class 'MoinMoin.request.RequestBase'>
    • RequestBase.__init__ = <unbound method RequestBase.__init__>
    • self = <MoinMoin.request.RequestModPy object>
  2. /var/www/wiki-1.5.2/moin-install/lib/python2.3/site-packages/MoinMoin/request.py in __init__ (self=<MoinMoin.request.RequestModPy object>, properties={})

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

    1. 867 """
    2. 868 if form is not None or self.request_method == 'POST':
    3. 869 return self._setup_args_from_cgi_form(form)
    4. 870 args = cgi.parse_qs(self.query_string, keep_blank_values=1)
    5. 871 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. /var/www/wiki-1.5.2/moin-install/lib/python2.3/site-packages/MoinMoin/request.py in _setup_args_from_cgi_form (self=<MoinMoin.request.RequestModPy object>, form=<mod_python.util.FieldStorage instance>)

    1. 1932 args[key] = fixedResult
    2. 1933
    3. 1934 return self.decodeArgs(args)
    4. 1935
    5. 1936 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': [''], 'file__filename__': 'Geert', 'rename': ['']}
  5. /var/www/wiki-1.5.2/moin-install/lib/python2.3/site-packages/MoinMoin/request.py in decodeArgs (self=<MoinMoin.request.RequestModPy object>, args={None: [''], 'action': ['AttachFile'], 'do': ['upload'], 'file': [''], 'file__filename__': 'Geert', 'rename': ['']})

    1. 908 result = {}
    2. 909 for key in args:
    3. 910 if key + '__filename__' in args:
    4. 911 # Copy file data as is
    5. 912 result[key] = args[key]
    • key = None
    • args = {None: [''], 'action': ['AttachFile'], 'do': ['upload'], 'file': [''], 'file__filename__': 'Geert', 'rename': ['']}

TypeError

unsupported operand type(s) for +: 'NoneType' and 'str'

  • args = ("unsupported operand type(s) for +: 'NoneType' and 'str'",)

System Details

  • Date: Fri, 24 Feb 2006 15:21:18 +0000
  • Platform: Linux betonmix 2.4.32xeon-2-smp #1 SMP Thu Nov 17 10:53:40 CET 2005 i686
  • Python: Python 2.3.4 (/usr/bin/python)
  • MoinMoin: Release 1.5.2 (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.