Edgewall Software

Changes between Initial Version and Version 1 of Ticket #9059


Ignore:
Timestamp:
Feb 15, 2010, 4:56:50 PM (12 years ago)
Author:
Christian Boos
Comment:

Can you please try the following fix:

  • trac/env.py

     
    488488        if backup:
    489489            self.backup(backup_dest)
    490490
    491         @with_transaction(self.env)
     491        @with_transaction(self)
    492492        def do_upgrade(db):
    493493            for participant in upgraders:
    494494                participant.upgrade_environment(db)

(and no need to CC: me, I get notified of all the changes anyway ;-) )

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9059

    • Property Cc Christian Boos removed
    • Property Owner set to Christian Boos
    • Property Severity criticaltrivial
  • Ticket #9059 – Description

    initial v1  
    22
    33Stack trace is:
     4{{{
    452010-02-15 16:11:15,448 Trac[console] ERROR: Exception in trac-admin command:
    56Traceback (most recent call last):
     
    1718    @with_transaction(self.env)
    1819AttributeError: 'Environment' object has no attribute 'env'
    19 
    20 This was probably introduced with improvement of transaction handling in changeset #9183
     20}}}
     21This was probably introduced with improvement of transaction handling in changeset r9183.