Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#1346 closed defect (fixed)

[info] after the versioncontrol merge, got no attribute 'get_repository' error

Reported by: Christian Boos Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: devel
Severity: trivial Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

This is an informative note, for people wanting to upgrade the trunk after [1415], and who could possibly get bitten by this:

 Trac detected an internal error:

   Environment instance has no attribute 'get_repository'

This error will be raised if there is an old trac/Environment.py file that got installed alongside the new trac/env.py, certainly because, like me, you were doing a python setup.py install (which works most of the time!) instead of the more secure python setup.py clean install which is required here.

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 17 years ago

Resolution: fixed
Status: newclosed

Hope this will help somebody!

comment:2 by Christian Boos, 17 years ago

Resolution: fixed
Status: closedreopened

Hum, I closed this issue too quickly: the old trac/Environment file was imported by tracd

Fix will follow.

comment:3 by Christian Boos, 17 years ago

Resolution: fixed
Status: reopenedclosed

Fixed in [1423]. For the record, the problem was actually related to the refactoring done in [1400], and has nothing to do with the versioncontrol merge.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.