[Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2024-03-21 Thread Jesus Megia
Hello, I'm updating the trac version on my company from version 0.11 to 1.6. Everything is working fine except the trac-pre-commit-hook which show me this error message: * AttributeError: 'Environment' object has no attribute 'get_db_cnx'* I have tried different pyton trac-pre-commit-hook vers

Re: [Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2018-02-20 Thread David S
Okay, it works now. Just to clarify from previous post, in trac.ini it is "[components]" not "[component]". And adding under "[components]" was still necessary before upgrade processed. Thanks again ;) On Tuesday, February 20, 2018 at 1:32:13 PM UTC-5, David S wrote: > > Ah, okay. Oops, did not

Re: [Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2018-02-20 Thread David Shumway
Ah, okay. Oops, did not consider a version issue. Thanks. Will start over with a trac version compatible with aglio :) On 02/20/2018 01:25 PM, Ryan Ollos wrote: On Tue, Feb 20, 2018 at 10:16 AM, David S > wrote: Error is occurring on the command line when

Re: [Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2018-02-20 Thread Ryan Ollos
On Tue, Feb 20, 2018 at 10:16 AM, David S wrote: > Error is occurring on the command line when trying to upgrade the > database, after enabling Agilo plug-in in trac.ini (agilo.* = enabled). > Trac is installed in a virtualenv. After a new project is created, Agilo > installation requires adding

Re: [Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2018-02-20 Thread David S
Error is occurring on the command line when trying to upgrade the database, after enabling Agilo plug-in in trac.ini (agilo.* = enabled). Trac is installed in a virtualenv. After a new project is created, Agilo installation requires adding to trac.ini. Agilo's docs state only to add "agilo.* =

Re: [Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2018-02-19 Thread RjOllos
Let's start over. Where did you see the error "AttributeError: 'Environment' object has no attribute 'get_db_cnx'"? If you saw it on page while navigating Trac, please send a screen capture. - Ryan -- You received this message because you are subscribed to the Google Groups "Trac Users" group

Re: [Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2018-02-19 Thread davidshum...@gmail.com
Hm. Directory ./log is empty. Is it somewhere else? -Original message- From: Ryan Ollos To: "trac-users@googlegroups.com" Sent: Tue, Feb 20, 2018 05:17:11 GMT+00:00 Subject: Re: [Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

Re: [Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2018-02-19 Thread Ryan Ollos
From: David S Sent: Monday, February 19, 21:10 Subject: Re: [Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx' To: Trac Users traceback? Excerpt from log showing error trace. -- You received this message because you are subscribed to the Google

Re: [Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2018-02-19 Thread David S
traceback? On Monday, February 19, 2018 at 11:28:18 PM UTC-5, RjOllos wrote: > > Please share the full traceback associated with the exception. > > Ryan > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop re

Re: [Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2018-02-19 Thread RjOllos
Please share the full traceback associated with the exception. Ryan -- 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 trac-users+unsubscr...@googlegroups.com. To p

Re: [Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2018-02-19 Thread Ryan Ollos
From: David S Sent: Monday, February 19, 20:23 Subject: Re: [Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx' To: Trac Users But yes, multiple uninstalls of TracAccountManager did not prove successful. On Monday, February 19, 2018 at 11:22:36 PM

Re: [Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2018-02-19 Thread David S
But yes, multiple uninstalls of TracAccountManager did not prove successful. On Monday, February 19, 2018 at 11:22:36 PM UTC-5, David S wrote: > > Thanks for your quick response! This must be being caused by a different > issue, although the error message is the same. The error is occuring while

Re: [Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2018-02-19 Thread David S
Thanks for your quick response! This must be being caused by a different issue, although the error message is the same. The error is occuring while trying to enable the Agilo trac plugin. Maybe it is better to head over to Agilo to fix this? trac-admin /home/user/Development/TracEnv/TracProject

Re: [Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2018-02-19 Thread RjOllos
On Monday, February 19, 2018 at 10:18:06 AM UTC-8, David S wrote: > > Tried: > > $ pip uninstall TracAccountManager > $ pip install svn+https://trac-hacks.org/svn/accountmanagerplugin/trunk > > > But no succuss. > Repeat the "uninstall" command until it reports "not installed". It's common to h

Re: [Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2018-02-19 Thread David S
Tried: $ pip uninstall TracAccountManager $ pip install svn+https://trac-hacks.org/svn/accountmanagerplugin/trunk But no succuss. On Monday, October 9, 2017 at 4:28:48 AM UTC-4, RjOllos wrote: > > > > On Mon, Oct 9, 2017 at 1:22 AM, Mike Dewhirst > wrote: > >> How can I deal with this? >> >> T

Re: [Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2017-10-09 Thread Ryan Ollos
On Mon, Oct 9, 2017 at 1:22 AM, Mike Dewhirst wrote: > How can I deal with this? > > There seem to be a number of tickets discussing this error and my > interpretation is it should be fixed in 1.2. However, I have recently > upgraded from 1.0 to 1.2 as indicated below in the Trac version. However

[Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2017-10-09 Thread Mike Dewhirst
How can I deal with this? There seem to be a number of tickets discussing this error and my interpretation is it should be fixed in 1.2. However, I have recently upgraded from 1.0 to 1.2 as indicated below in the Trac version. However, when I click on the Plugins page Trac 1.0 appears instead

[Trac] AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2017-02-17 Thread ivanelson
After upgrading to version 1.2. I'm having this error while trying to create a ticket: > > 2017-02-17 21:57:16,946 Trac[main] ERROR: Internal Server Error: > , referrer > 'http://sistemas.claudinosa.com.br/timeline' > Traceback (most recent call last): > File "build/bdist.linux-x86_64/egg/tra