[Trac-tickets] [The Trac Project] #1519: Deleting attachment from Wiki fails

The Trac Project noreply at edgewall.com
Sat May 7 22:46:59 EDT 2005


#1519: Deleting attachment from Wiki fails
--------------------+-------------------------------------------------------
       Id:  1519    |      Status:  new                     
Component:  wiki    |    Modified:  Sat May  7 22:46:54 2005
 Severity:  normal  |   Milestone:  0.9                     
 Priority:  normal  |     Version:  devel                   
    Owner:  jonas   |    Reporter:  muti at afterglo.ws        
--------------------+-------------------------------------------------------
 I'm guessing that merging the new branch has broken this.  Deleting an
 attachment raises an error message.  I'm running r1608.

 {{{
 Trac detected an internal error:

 db
 }}}

 {{{
 Python traceback

 Traceback (most recent call last):
   File "/usr/lib/python2.3/site-packages/trac/web/cgi_frontend.py", line
 103, in run
     dispatch_request(os.getenv('PATH_INFO', ''), req, env)
   File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 311, in
 dispatch_request
     dispatcher.dispatch(req)
   File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 190, in
 dispatch
     resp = chosen_handler.process_request(req)
   File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 76, in
 process_request
     self.delete_attachment(req, parent_type, parent_id, filename)
   File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 130, in
 delete_attachment
     self.env.delete_attachment(self.db, parent_type, parent_id, filename)
   File "/usr/lib/python2.3/site-packages/trac/core.py", line 138, in
 __getattr__
     raise AttributeError, name
 AttributeError: db
 }}}

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/1519>
The Trac Project <>


More information about the Trac-Tickets mailing list