Opened 13 years ago
Last modified 11 years ago
#9880 closed defect
ValueError: Invalid boundary in multipart form: '' — at Initial Version
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 0.12.5 |
Component: | attachment | Version: | 0.12 |
Severity: | normal | Keywords: | upload multipart |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a POST operation on /attachment/wiki/RESTfulAPI/
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'action': u'new', 'description': u'JustDrive MAPP RESTFUL API Reference', 'id': u'RESTfulAPI', 'realm': u'wiki'}
User agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0C)
System Information
Trac | 0.12
|
Babel | 0.9.5
|
Docutils | 0.7
|
FullBlog | 0.1.1
|
Genshi | 0.6
|
Pygments | 1.3.1
|
pysqlite | 2.4.1
|
Python | 2.6.6 (r266:84292, Sep 24 2010, 01:08:42) [GCC 4.2.1 20070719 [FreeBSD]]
|
pytz | 2010l
|
setuptools | 0.6c11
|
SilverCity | 0.9.7
|
SQLite | 3.7.2
|
Subversion | 1.6.13 (r1002816)
|
jQuery | 1.4.2
|
Enabled Plugins
TracAccountManager | 0.2.1dev
|
TracFullBlogPlugin | 0.1.1
|
Python Traceback
Traceback (most recent call last): File "build/bdist.freebsd-8.1-RELEASE-p1-i386/egg/trac/web/main.py", line 511, in _dispatch_request dispatcher.dispatch(req) File "build/bdist.freebsd-8.1-RELEASE-p1-i386/egg/trac/web/main.py", line 193, in dispatch if handler.match_request(req): File "build/bdist.freebsd-8.1-RELEASE-p1-i386/egg/trac/attachment.py", line 408, in match_request req.args['realm'] = realm File "build/bdist.freebsd-8.1-RELEASE-p1-i386/egg/trac/web/api.py", line 212, in __getattr__ value = self.callbacks[name](self) File "build/bdist.freebsd-8.1-RELEASE-p1-i386/egg/trac/web/api.py", line 195, in <lambda> 'args': lambda req: arg_list_to_args(req.arg_list), File "build/bdist.freebsd-8.1-RELEASE-p1-i386/egg/trac/web/api.py", line 212, in __getattr__ value = self.callbacks[name](self) File "build/bdist.freebsd-8.1-RELEASE-p1-i386/egg/trac/web/api.py", line 560, in _parse_arg_list fs = cgi.FieldStorage(fp, environ=self.environ, keep_blank_values=True) File "/usr/local/lib/python2.6/cgi.py", line 508, in __init__ self.read_multi(environ, keep_blank_values, strict_parsing) File "/usr/local/lib/python2.6/cgi.py", line 637, in read_multi environ, keep_blank_values, strict_parsing) File "/usr/local/lib/python2.6/cgi.py", line 508, in __init__ self.read_multi(environ, keep_blank_values, strict_parsing) File "/usr/local/lib/python2.6/cgi.py", line 622, in read_multi raise ValueError, 'Invalid boundary in multipart form: %r' % (ib,) ValueError: Invalid boundary in multipart form: ''
Note:
See TracTickets
for help on using tickets.