Modify ↓
Opened 18 years ago
Closed 18 years ago
#3317 closed defect (duplicate)
attachments failing
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | wiki system | Version: | 0.9.5 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
adding an attachment fails every time for me (apparently irrelevant of the file type):
'StringField' object has no attribute 'filename' 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 (0)
Note:
See TracTickets
for help on using tickets.
Upgrade mod_python. See TracModPython#Win32Issues.
Duplicate of #554.