Opened 18 years ago
Closed 17 years ago
#5142 closed defect (duplicate)
file upload issues
Reported by: | anonymous | Owned by: | Christopher Lenz |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | web frontend/mod_python | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
When upload a JPG file, get the folloing error.
Python traceback
Traceback (most recent call last):
File "C:\trac-0.1.1\python\Lib\site-packages\trac\web\modpython_frontend.py", line 206, in handler
dispatch_request(mpr.path_info, mpr, env)
File "C:\trac-0.1.1\python\Lib\site-packages\trac\web\main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "C:\trac-0.1.1\python\Lib\site-packages\trac\web\main.py", line 107, in dispatch
resp = chosen_handler.process_request(req)
File "C:\trac-0.1.1\python\Lib\site-packages\trac\attachment.py", line 267, in process_request
self._do_save(req, attachment)
File "C:\trac-0.1.1\python\Lib\site-packages\trac\attachment.py", line 335, in _do_save
attachment.insert(filename, upload.file, size)
File "C:\trac-0.1.1\python\Lib\site-packages\trac\attachment.py", line 145, in insert
filename))
File "C:\trac-0.1.1\python\Lib\site-packages\trac\util.py", line 381, in create_unique_file
raise Exception('Failed to create unique name: ' + path)
Exception: Failed to create unique name: C:\trac-0.1.1\trac_repo\projects\XXXX\attachments\wiki\Eclipse%E3%81%AE%E3%82%B3%E3%83%B3%E3%82%BD%E3%83%BC%E3%83%AB%E3%81%ABSQL%E3%81%AE%E5%AE%9F%E8%A1%8C%E3%83%AD%E3%82%B0%E3%82%92%E5%87%BA%E5%8A%9B%E3%81%99%E3%82%8B\log4j.properties%E4%BF%AE%E6%AD%A3%E5%BE%8C.100.JPG
Duplicate of #2815