Edgewall Software
Modify

Ticket #5142 (closed defect: duplicate)

Opened 5 years ago

Last modified 4 years ago

file upload issues

Reported by: anonymous Owned by: cmlenz
Priority: normal Milestone:
Component: web frontend/mod_python Version:
Severity: normal Keywords:
Cc:
Release Notes:
API 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

Attachments

Change History

comment:1 Changed 4 years ago by sid

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #2815

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from cmlenz. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.