Hi all,
I worked some hours trying to upgrade my TestManagerForTracPlugin to 
Python3 and the latest Trac, and after having fixed the deprecated db api 
and several other issues I found out that the Genshi template engine has 
been replaced with Jinja2 and the ITemplateStreamFilter is no longer 
supported. (BTW, the reason seems to be performance problems with Genshi... 
Actually we haven't ever faced any in our organization...)

Unfortunately, the plugin is heavily (if not completely) based on 
the ITemplateStreamFilter machanism, in order o decorate Wiki pages, and a 
bit also the Ticket pages, with the set of contents and controls related to 
test catalogs and test cases.
This allows users to leverage the power of the Wiki, and of any other 
plugins that augment it, while dealing with test descriptions and metadata.

Rewriting the plugin completely, to replace template filtering with 
JavaScript as recommended, besides being an awkward approach, is something 
I can't currently undergo, unfortunately.

Roberto

Il giorno mercoledì 12 gennaio 2022 alle 22:11:14 UTC+1 figaro ha scritto:

> Thank you for your efforts nonetheless.
> 'get_db_cnx' happens to be deprecated, and that means that plugin will 
> have to be upgraded too.
> As far as I know, no other plugin has been developed and is available on 
> trac-hacks that supports testing software.
>
> -- figaro
>
> On Wednesday, 12 January 2022 at 20:02:50 UTC+1 [email protected] 
> wrote:
>
>>
>> Installed QaTrackerPlugin to give it a try.  Created a Test Plan 
>> (Milestone) and a Test Case (Ticket) and assigned the Test Case to the Test 
>> Plan.  Tried to create a Test Run in the QA Tracker tab and got an error:
>>
>>             AttributeError: 'Environment' object has no attribute 
>> 'get_db_cnx'
>>
>> Robert Kuropkat
>>
>>
>> On 1/11/22 4:27 PM, figaro wrote:
>>
>> TestManagerForTracPlugin 
>> <https://trac-hacks.org/wiki/TestManagerForTracPlugin> is one of the 
>> largest plugins that is publicly available and likely to be a large piece 
>> of work to migrate. 
>> Depending on your use case, the only other option is 
>> https://trac-hacks.org/wiki/QaTrackerPlugin
>>
>> -- figaro
>>
>> On Tuesday, 11 January 2022 at 19:10:18 UTC+1 [email protected] wrote:
>>
>>>
>>> On 1/11/22 1:07 PM, RjOllos wrote:
>>>
>>>
>>>
>>> On Monday, January 10, 2022 at 11:09:45 AM UTC-8 [email protected] 
>>> wrote:
>>>
>>>> Hello, 
>>>>
>>>> Trying to install the Test Manager plugin (
>>>> https://trac-hacks.org/wiki/TestManagerForTracPlugin) and can't seem 
>>>> to get it to work.  Searching implies it should be working, so I must have 
>>>> missed something obvious somewhere.
>>>>
>>>> Trac: v1.4.3
>>>> TestManager: 1.9.1-py2.7
>>>> TracGenericClass: 1.1.7-py2.7
>>>> TracGenericWorkflow: 1.0.5.py2.7
>>>> Genshi: 0.7.5
>>>>
>>>> CentOS: 8.4.2105
>>>> Python: 2.7.18
>>>>
>>>> From trac.ini
>>>>
>>>> [components]
>>>> tracgenericclass.* = enabled
>>>> tracgenericworkflow.* = enabled
>>>> testmanager.* = enabled
>>>>
>>>> Permissions on egg files: 644
>>>>
>>>> Apache restarted (multiple times)
>>>>
>>>> Error in trac.log
>>>>
>>>> Trac[loader] ERROR: Skipping "testmanager = testmanager": ImportError: 
>>>> cannot import name with_transaction
>>>>
>>>> Any help appreciated.
>>>> Robert Kuropkat
>>>>
>>>
>>> The plugin isn't compatible with Trac 1.4 because it uses deprecated 
>>> database access methods that have been removed:
>>> https://trac.edgewall.org/wiki/TracDev/ApiChanges/1.2#DatabaseAPIChanges
>>>
>>> Ryan 
>>>
>>> -- 
>>>
>>>
>>> Dude.... I was afraid that would be the answer.  Is there a solid 
>>> alternative?  I can use a separate product, but I was pretty excited about 
>>> a built-in Trac option.  How difficult an upgrade would it be?  There was 
>>> enough positive commentary on this plugin I might be willing to give it a 
>>> go...
>>>
>>> Robert Kuropkat
>>>
>>>
>>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Trac Users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/trac-users/1unaoUW2MdQ/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/trac-users/f3450c2e-ca85-4d09-a21d-2cf037b60e08n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/trac-users/f3450c2e-ca85-4d09-a21d-2cf037b60e08n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/a28a4a46-d8a3-4c07-87d1-7bd36d265eb9n%40googlegroups.com.

Reply via email to