Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 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

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

comment:3 Changed 5 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 5 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 5 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
Action
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.