Modify ↓
Opened 20 years ago
Closed 20 years ago
#2347 closed defect (duplicate)
attach file function failed
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.9 |
| Severity: | major | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
Trac version 0.9 (windows)
1 - Clik on "Attach File" Button 2 - Select a file (for my test file size = 3.6Mb) 3 - Save 4 - Crash
Trac detected an internal error:
'StringField' object has no attribute 'filename'
Python traceback
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 (0)
Change History (1)
comment:1 by , 20 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | → duplicate |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



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