#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 , 20 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 20 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Hum, I closed this issue too quickly: the old trac/Environment
file was imported by tracd
…
Fix will follow.
comment:3 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Hope this will help somebody!