New install impossible on Trac 1.0beta1
|Reported by:||netjunki||Owned by:||seccanj|
I was trying to evaluate test manager for trac on a fresh install of 1.0beta1 and ran into the following error:
19:53:36 Trac[env] ERROR: Exception caught while checking for upgrade: Traceback (most recent call last): File "build/bdist.macosx-10.7-intel/egg/trac/env.py", line 832, in open_environment needs_upgrade = env.needs_upgrade() File "build/bdist.macosx-10.7-intel/egg/trac/env.py", line 665, in needs_upgrade if participant.environment_needs_upgrade(db): File "build/bdist.macosx-10.7-intel/egg/tracgenericclass/model.py", line 1276, in environment_needs_upgrade return (self._need_initialization(db) or self._need_upgrade(db)) File "build/bdist.macosx-10.7-intel/egg/tracgenericclass/model.py", line 1311, in _need_initialization return self._need_upgrade(db) File "build/bdist.macosx-10.7-intel/egg/tracgenericclass/model.py", line 1322, in _need_upgrade db.rollback() File "build/bdist.macosx-10.7-intel/egg/trac/db/util.py", line 107, in __getattr__ raise AttributeError AttributeError:
Looking into this it looks like a common problem that many plug-ins have been having during the 1.0 release cycle. #10230 #9742 Looking at the solution used in #10230 I've produced a patch for test manager that at least allows it to install. I'm not sure if this is the right way to deal with this since it looks like #9742 uses a slightly more complex approach.