Modify

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#10294 closed defect (duplicate)

New install impossible on Trac 1.0beta1

Reported by: netjunki Owned by: seccanj
Priority: normal Component: TestManagerForTracPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

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.

Attachments (0)

Change History (3)

comment:1 Changed 2 years ago by seccanj

See comment on #10293.

comment:2 Changed 2 years ago by rjollos

  • Resolution set to duplicate
  • Status changed from new to closed

Okay to close as a duplicate?

comment:3 Changed 2 years ago by anonymous

Totally! seccanj and I have been tracking this in the other ticket.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.