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

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

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

    1. 810 """
    2. 811 if form is not None or self.request_method == 'POST':
    3. 812 return self._setup_args_from_cgi_form(form)
    4. 813 args = cgi.parse_qs(self.query_string, keep_blank_values=1)
    5. 814 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/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. 1863 args[key] = fixedResult
    2. 1864
    3. 1865 return self.decodeArgs(args)
    4. 1866
    5. 1867 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': ['<html><head><title>The Return of the Cows</title.../tr>\n </tbody></table>\n \n </body></html>'], 'file__filename__': 'cows3.html', 'rename': ['']}
  5. /usr/lib/python2.3/site-packages/MoinMoin/request.py in decodeArgs (self=<MoinMoin.request.RequestModPy object>, args={None: [''], 'action': ['AttachFile'], 'do': ['upload'], 'file': ['<html><head><title>The Return of the Cows</title.../tr>\n </tbody></table>\n \n </body></html>'], 'file__filename__': 'cows3.html', 'rename': ['']})

    1. 851 result = {}
    2. 852 for key in args:
    3. 853 if key + '__filename__' in args:
    4. 854 # Copy file data as is
    5. 855 result[key] = args[key]
    • key = None
    • args = {None: [''], 'action': ['AttachFile'], 'do': ['upload'], 'file': ['<html><head><title>The Return of the Cows</title.../tr>\n </tbody></table>\n \n </body></html>'], 'file__filename__': 'cows3.html', 'rename': ['']}

TypeError

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

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

System Details

  • Date: Mon, 06 Feb 2006 22:32:52 +0000
  • Platform: Linux mrmuddle 2.6.11nwp1 #1 Wed Mar 30 14:43:07 NZST 2005 i686
  • Python: Python 2.3.4 (/usr/bin/python)
  • MoinMoin: Release 1.5.1 (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.