Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#6451 closed defect (duplicate)

Trac detected an internal error on attaching a 1 KB size file with .sql extension.

Reported by: svoleti@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: attachment Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Emmanuel Blot)

Trac detected an internal error on attaching a 1 KB size file with .sql extension.

Python Traceback
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.5/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/var/lib/python-support/python2.5/trac/attachment.py", line 361, in process_request
    self._do_save(req, attachment)
  File "/var/lib/python-support/python2.5/trac/attachment.py", line 450, in _do_save
    size = upload.file.len
AttributeError: 'cStringIO.StringO' object has no attribute 'len'

Attachments (0)

Change History (1)

comment:1 by Emmanuel Blot, 16 years ago

Component: generalattachment
Description: modified (diff)
Keywords: Trac Defects removed
Resolution: duplicate
Status: newclosed

As stated in the big red box on the New Ticket page:
"Also, please check whether the issue you've encountered has been reported before."

Duplicate of #6309, #6282, #5745, #5742, #5662, #5354, #5314,#5297, #5296, #5083, #4934 and #4311

Please always report the version of Trac you use when you submit a new ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.