Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#12090 closed defect (fixed)

Not compatible with Trac 1.1.2

Reported by: vaclav.cejka@… Owned by: Ryan J Ollos
Priority: normal Component: TracSqlHelperScript
Severity: blocker Keywords:
Cc: Trac Release: 1.2


Because get_db_cnx is no longer supported on Trac 1.1.2 (see 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 8 years ago by Ryan J Ollos

I'd welcome a patch for this. I'm not sure when I'll find to address it.

comment:2 Changed 8 years ago by vaclav.cejka@…

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 file, with signature class SQLHelper(object). Being able to fix this, everthing should work.

comment:3 Changed 8 years ago by Ryan J Ollos

You are right, it's a pretty easy fix. I didn't even look. I commit a fix soon.

comment:4 Changed 8 years ago by Ryan J Ollos

Owner: set to Ryan J Ollos
Resolution: fixed
Status: newclosed

In 14299:

0.3.0: New branch compatible with Trac 1.1.2 and later. Fixes #12090.

comment:5 Changed 8 years ago by Ryan J Ollos

Please install from the tracsqlhelperscript/1.2 branch and let me know if you have any issues.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.