Edgewall Software

Ticket #2338 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

Unable to attach file to ticket

Reported by: anonymous Owned by: jonas
Priority: normal Milestone:
Component: general Version: 0.9
Severity: normal Keywords:
Cc:

Description

Tried to attach a document to a ticket (file is a tiff file). Can select the file, but when I click add attachment, get the following:

Traceback (most recent call last):

File "C:\Python23\Lib\site-packages\trac\web\modpython_frontend.py", line 206, in handler

dispatch_request(mpr.path_info, mpr, env)

File "C:\Python23\Lib\site-packages\trac\web\main.py", line 139, in dispatch_request

dispatcher.dispatch(req)

File "C:\Python23\Lib\site-packages\trac\web\main.py", line 107, in dispatch

resp = chosen_handler.process_request(req)

File "C:\Python23\Lib\site-packages\trac\attachment.py", line 265, in process_request

self._do_save(req, attachment)

File "C:\Python23\Lib\site-packages\trac\attachment.py", line 296, in _do_save

if not upload.filename:

AttributeError?: 'StringField?' object has no attribute 'filename'

Attachments

Change History

Changed 3 years ago by cmlenz

  • status changed from new to closed
  • resolution set to duplicate

Duplicate of #554. And described on TracModPython#Win32Issues.

Add/Change #2338 (Unable to attach file to ticket)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.