Modify ↓
Opened 15 years ago
Closed 15 years ago
#8764 closed defect (wontfix)
AttributeError: 'NoneType' object has no attribute 'decode'
Reported by: | abhinav | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11.1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a POST operation on /importer
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'__FORM_TOKEN': u'09e84812d43025b6c02e88a8', 'action': u'upload', 'import-file': FieldStorage('import-file', 'Trac Tickets(2).csv', '"ticket ","summary","reporter","owner","component","type","status","priority","milestone",\n"Previous Record - Offline record - phase 1","abhinav","abhinav","Treatment","Feature","New","High","Version 1.7",\n"Prescription","abhinav","abhinav","Treatment","Feature","New","High","Version 1.8",\n"TurboDoc+ interface Design","abhinav","abhinav","Admin","Task","New","Medium","Version 1.7",\n"Auto Patient id generation","abhinav","abhinav","Record","Feature","New","High","Version 1.7",\n"Modular Treatment Design","abhinav","abhinav","Treatment","Task","New","Medium","Version 1.7",\n"Make Dental Treatment Modular","abhinav","abhinav","Treatment","Task","New","High","Version 1.7",\n"Enhanced Prescription","abhinav","abhinav","Treatment","Feature","New","High","Version 1.9",\n"Subscription Management Enhancement","abhinav","abhinav","Subscription","Enhancement","New","High","Version 1.8"\n'), 'sheet': u'1'}
User Agent was: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.2 (KHTML, like Gecko) Chrome/4.0.222.1 Safari/532.2
System Information
Trac | 0.11.1
|
Python | 2.4.3 (#1, Jan 21 2009, 01:10:13) [GCC 4.1.2 20071124 (Red Hat 4.1.2-42)]
|
setuptools | 0.6c5
|
SQLite | 3.3.6
|
pysqlite | 1.1.7
|
Genshi | 0.5.1
|
Pygments | 1.0
|
Agilo | 0.7.3.3-r1417-20090313
|
Subversion | 1.5.4 (r33841)
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/web/main.py", line 423, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/web/main.py", line 197, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-i686/egg/talm_importer/importer.py", line 70, in process_request File "build/bdist.linux-i686/egg/talm_importer/importer.py", line 107, in _do_preview File "build/bdist.linux-i686/egg/talm_importer/importer.py", line 298, in _process File "build/bdist.linux-i686/egg/talm_importer/readers.py", line 34, in next AttributeError: 'NoneType' object has no attribute 'decode'
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Sorry, it's a PluginIssue.