[Trac-tickets] [The Trac Project] #2562: Failed to upgrade trac db
The Trac Project
noreply at edgewall.com
Fri Jan 6 16:46:02 CST 2006
#2562: Failed to upgrade trac db
------------------------------------------------------+---------------------
Reporter: stratosgear (at) googlemail (period) com | Owner: daniel
Type: defect | Status: new
Priority: normal | Milestone:
Component: trac-admin | Version: 0.9.2
Severity: normal | Keywords: to_sql, DatabaseManager, upgrade, 0.9.2, trac-admin
------------------------------------------------------+---------------------
Upgrading Trac 0.8.4 to 0.9.2 and trying a:
{{{
I:\dev\tracrepos>python i:\dev\python23\Scripts\trac-admin.py
i:\dev\tracrepos\testProj.db upgrade
}}}
I am getting:
{{{
Upgrade: Upgrading i:\dev\tracrepos\artipia.db to db version 16
Upgrade: Backup of old database saved in
i:\dev\tracrepos\testProj.db/db/trac.db.7.bak
Please perform a "resync" after this upgrade.
Upgrade failed: to_sql
}}}
I've found another mention of this problem,
http://lists.edgewall.com/archive/trac/2005-November/005613.html, but
overiding the db15.py file with the suggested on gives me:
{{{
Upgrade: Upgrading i:\dev\tracrepos\artipia.db to db version 16
Upgrade: Backup of old database saved in
i:\dev\tracrepos\testProj.db/db/trac.db.
7.bak
Please perform a "resync" after this upgrade.
Upgrade failed: cannot import name DatabaseManager
}}}
I'm running on WinXP and I have followed all the installation instructions
of TracOnWindows (version numbers and all).
Finally '''any''' search on ''"to_sql"'' and ''"DatabaseManager"'' on the
Trac website does not return any usefull information.
Thanks
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2562>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list