[p4dti-discussion] Problem upgrading database schema from P4DTI 2.3.5 -> 2.4.0
n.herring at atlantiscyberspace.com
n.herring at atlantiscyberspace.com
Tue Jul 31 00:56:17 BST 2007
First off, I don't know if this is the correct forum to discuss
technical issues. If so, please redirect me.
Otherwise:
Anyone having this problem?
goose p4dti # python run.py
2007-07-30 23:45:19 UTC (P4DTI-10070) MySQLdb version '1.2.1_p2'
(release '1.2.1_p2') detected. This release is supported by the P4DTI.
2007-07-30 23:45:19 UTC (P4DTI-1251) Bugzilla version 3.0 detected.
Traceback (most recent call last):
File "run.py", line 20, in ?
from init import r
File "/p4dti/init.py", line 135, in ?
config = configure_module.configuration(config)
File "/p4dti/configure_bugzilla.py", line 578, in configuration
config.bugzilla = bugzilla.bugzilla(db, config)
File "/p4dti/bugzilla.py", line 57, in __init__
self.update_p4dti_schema()
File "/p4dti/bugzilla.py", line 1034, in update_p4dti_schema
(new_version, sql_commands) = schema_upgrade[old_schema_version]
NameError: global name 'schema_upgrade' is not defined
I am trying to upgrade an existing version of P4DTI (2.3.5 -> 2.4.0). I
upgraded to BZ 3.0 first.
Not a Python guy, but it seems the variable (schema_upgrade) is defined.
Any help would be appreciated,
-Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ravenbrook.com/pipermail/p4dti-discussion/attachments/20070730/36efd788/attachment.html
More information about the P4DTI-discussion
mailing list