[Trac-tickets] [The Trac Project] #1138: trac-admin upgrade not working

The Trac Project noreply at edgewall.com
Mon Jan 17 01:54:43 EST 2005


#1138: trac-admin upgrade not working
------------------------+---------------------------------------------------
       Id:  1138        |      Status:  new                     
Component:  trac-admin  |    Modified:  Mon Jan 17 01:54:43 2005
 Severity:  blocker     |   Milestone:                          
 Priority:  high        |     Version:  0.8                     
    Owner:  daniel      |    Reporter:  domma at procoders.net     
------------------------+---------------------------------------------------
 I tried to upgrade from 0.7.x to 0.8. trac-admin path_to_env upgrade tells
 me, that the database is already up to date. In the function do_upgrade in
 trac-admin.py I get 3 for the current and latest version. I checked
 trac.db_default in a 0.8 version and in a 0.7 version. Both contain 3 as
 the default_version. If I try to access the updated version, I get the
 following error:

 {{{
 Traceback (most recent call last):
   File "C:\Python23\Lib\site-packages\trac\core.py", line 525, in
 cgi_start
     real_cgi_start()
   File "C:\Python23\Lib\site-packages\trac\core.py", line 520, in
 real_cgi_start
     dispatch_request(path_info, args, req, env)
   File "C:\Python23\Lib\site-packages\trac\core.py", line 435, in
 dispatch_request
     module.run()
   File "C:\Python23\Lib\site-packages\trac\Module.py", line 41, in run
     self.render()
   File "C:\Python23\Lib\site-packages\trac\Wiki.py", line 290, in render
     self.add_link('alternate', '?format=txt', 'Plain Text',
 AttributeError: WikiModule instance has no attribute 'add_link'
 }}}

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


More information about the Trac-Tickets mailing list