[BuildTools-tickets] [BuildTools] #51: trac internal error when attaching a file to a ticket

BuildTools coin-trac at coin-or.org
Wed Aug 8 07:49:30 EDT 2007


#51: trac internal error when attaching a file to a ticket
-------------------+--------------------------------------------------------
Reporter:  stefan  |       Owner:  somebody          
    Type:  defect  |      Status:  new               
Priority:  major   |   Component:  Wiki documentation
 Version:  0.5     |    Keywords:  trac ticket       
-------------------+--------------------------------------------------------
 Hi,

 I don't know whether I'm on the right place here.

 On Osi I once created a ticket which requests for an enhancement and
 attached a patch file which implements this enhancement. Now I want to
 update this patch file to make it working with the current Osi revision.
 However, when I try to attach my patch file (which has the same name as
 before) and mark the box "Replace existing attachment of the same name",
 then I get the following error:

 {{{
 Oops…
 Trac detected an internal error:

 If you think this really should work and you can reproduce it, you should
 consider reporting this problem to the Trac team.

 Go to http://trac.edgewall.org/ 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/main.py", line 406, in
 dispatch_request
     dispatcher.dispatch(req)
   File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 237, in
 dispatch
     resp = chosen_handler.process_request(req)
   File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 361, in
 process_request
     self._do_save(req, attachment)
   File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 496, in
 _do_save
     attachment.insert(filename, upload.file, size)
   File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 183, in
 insert
     filename))
   File "/usr/lib/python2.3/site-packages/trac/util/__init__.py", line 112,
 in create_unique_file
     raise Exception('Failed to create unique name: ' + path)
 Exception: Failed to create unique name:
 /home/coin/Trac/Projects/Osi/attachments/ticket/35/osiglpk.100.patch
 }}}

 Best,
 Stefan

-- 
Ticket URL: <https://projects.coin-or.org/BuildTools/ticket/51>
BuildTools <http://projects.coin-or.org/BuildTools>
Tools for configuring and compiling COIN-OR codes



More information about the BuildTools-tickets mailing list