Modify ↓
#12652 closed defect (cantfix)
trac-admin upgrade (from 1.0) error: 'Environment' object has no attribute 'get_db_cnx'
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 1.2 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
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'
Attachments (0)
Change History (3)
comment:1 by , 8 years ago
Description: | modified (diff) |
---|---|
Resolution: | → cantfix |
Status: | new → closed |
comment:2 by , 8 years ago
Milestone: | 1.2.1 |
---|
comment:3 by , 8 years ago
Feel free to ask on the MailingList if need help determining which plugins are supported in Trac 1.2.
Note:
See TracTickets
for help on using tickets.
InstallationIssue. I believe installed plugins lead the issue. Please check whether installed plugins are supporting Trac 1.2.x before upgrading to Trac 1.2.
If you don't use any plugins, please reopen this ticket and post trac.log with DEBUG level while
trac-admin $ENV upgrade
.