Edgewall Software

Ticket #2995 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

Attach File doesn't work!

Reported by: anonymous Owned by: jonas
Priority: normal Milestone:
Component: web frontend/mod_python Version: 0.9.4
Severity: normal Keywords:
Cc:

Description (last modified by cboos) (diff)

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 267, in process_request
    self._do_save(req, attachment)
  File "C:\Python23\Lib\site-packages\trac\attachment.py", line 298, in _do_save
    if not upload.filename:
AttributeError: 'StringField' object has no attribute 'filename'

Attachments

Change History

Changed 3 years ago by cboos

  • status changed from new to closed
  • resolution set to duplicate
  • component changed from general to mod_python frontend
  • description modified (diff)

Duplicate of #554. See TracModPython#Win32Issues for a solution to this known issue.

P.S. a search for 'StringField' object has no attribute either on Trac or on Google (even with I'm feeling lucky :) ) would have shown an appropriate answer...

Add/Change #2995 (Attach File doesn't work!)

Author



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