CSV upload reader gives null byte error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KARL3 |
Fix Released
|
Low
|
Carlos de la Guardia |
Bug Description
reported via error_monitor
ENTRY
Wed Aug 11 11:28:39 2010
Exception when processing https:/
Traceback (most recent call last):
File "/opt/karl/
return app(environ, start_response)
File "/opt/karl/
result = self.next_
File "/opt/karl/
app_iter = self.applicatio
File "/opt/karl/
result = self.applicatio
File "/opt/karl/
app_iter = self.applicatio
File "/opt/karl/
app_iter = app(environ, wrapper.
File "/opt/karl/
return self.app(environ, start_response)
File "/opt/karl/
response = view_callable(
File "/opt/karl/
return view(context, request)
File "/opt/karl/
response = inst()
File "/opt/karl/
rows = list(reader)
File "/opt/python2.
row = self.reader.next()
Error: line contains NULL byte
Changed in karl3: | |
assignee: | nobody → Chris Rossi (chris-archimedeanco) |
importance: | Undecided → Low |
milestone: | none → m46 |
summary: |
- (OXFAM Prod) upload_users_csv + CSV upload reader gives null byte error |
Not sure what someone would be uploading to create this error. (A null byte should never occur in a text file.) Go ahead and make sure we catch exceptions like this, though, and generate form validation errors rather than blow up.