Opened 7 years ago
Last modified 7 years ago
#12652 closed defect
trac-admin upgrade (from 1.0) error: 'Environment' object has no attribute 'get_db_cnx' — at Initial Version
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 1.2 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I have a trac 1.0 test deploy which I'm trying to upgrade to 1.2 but it fails at the trac-admin upgrade
step:
`
[strk@cdb:/var/www/trac] sudo easy_install —upgrade Trac==1.0
[strk@cdb:/var/www/trac] trac-admin /var/www/trac upgrade
Database is up to date, no upgrade necessary.
[strk@cdb:/var/www/trac] sudo easy_install —upgrade Trac==1.2
[strk@cdb:/var/www/trac] trac-admin /var/www/trac upgrade
Error: AttributeError: 'Environment' object has no attribute 'get_db_cnx'
Note:
See TracTickets
for help on using tickets.