Modify ↓
Opened 19 years ago
Closed 19 years ago
#2215 closed defect (fixed)
problem adding attachment in 0.92b2
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | general | Version: | 0.9b2 |
Severity: | major | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Oops... Trac detected an internal error: local variable 'targetfile' referenced before assignment If you think this really should work and you can reproduce it. Then you should consider to report this problem to the Trac team. Go to http://trac.edgewall.com/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the python traceback found below. TracGuide — The Trac User and Administration Guide Python traceback Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 206, in handler dispatch_request(mpr.path_info, mpr, env) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 265, in process_request self._do_save(req, attachment) File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 333, in _do_save attachment.insert(filename, upload.file, size) File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 163, in insert targetfile.close() UnboundLocalError: local variable 'targetfile' referenced before assignment
Attachments (0)
Change History (1)
comment:1 by , 19 years ago
Description: | modified (diff) |
---|---|
Milestone: | → 0.9 |
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Should be fixed in [2389].