#12090 closed defect (fixed)
Not compatible with Trac 1.1.2
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Component: | TracSqlHelperScript |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 1.2 |
Description
Because get_db_cnx is no longer supported on Trac 1.1.2 (see http://trac.edgewall.org/wiki/TracDev/DatabaseApi) the helper and all related plugins fail any procedure with Trac. During upgrade of the environment, AttributeEerror: 'Environment' object has no attribute 'get_db_cnx'
occurs, so update of Trac is not possible.
Attachments (0)
Change History (5)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
I'm sorry, I do not know Python programming. For anyone who can do this, the only call to the obsolete function is in the first method (constructor?) of the __init__.py
file, with signature class SQLHelper(object)
. Being able to fix this, everthing should work.
comment:3 Changed 10 years ago by
You are right, it's a pretty easy fix. I didn't even look. I commit a fix soon.
comment:4 Changed 10 years ago by
Owner: | set to Ryan J Ollos |
---|---|
Resolution: | → fixed |
Status: | new → closed |
In 14299:
comment:5 Changed 10 years ago by
Please install from the tracsqlhelperscript/1.2 branch and let me know if you have any issues.
I'd welcome a patch for this. I'm not sure when I'll find to address it.