Edgewall Software

Ticket #1346 (closed defect: fixed)

Opened 4 years ago

Last modified 2 years ago

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

Reported by: cboos Owned by: jonas
Priority: normal Milestone:
Component: general Version: devel
Severity: trivial Keywords:
Cc:

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

Change History

Changed 4 years ago by cboos

  • status changed from new to closed
  • resolution set to fixed

Hope this will help somebody!

Changed 4 years ago by cboos

  • status changed from closed to reopened
  • resolution fixed deleted

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

Fix will follow.

Changed 4 years ago by cboos

  • status changed from reopened to closed
  • resolution set to fixed

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.

Add/Change #1346 ([info] after the versioncontrol merge, got no attribute 'get_repository' error )

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.