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 <davidshum...@gmail.com <mailto:davidshum...@gmail.com>> 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 to trac.ini. Agilo's
    docs state only to add "agilo.* = enabled". Adding only this line
    and running upgrade results in the output: "Database is up to date,
    no upgrade necessary." This is invalid because elsewhere it is
    stated that this command ought to produce updates to the database.
    However, on trac installation for plug-ins, it states to add
    plug-ins under a section titled "[component]". Adding this section
    to trac.ini, then adding "agilo.* = enabled" below this, results in
    the error below:

        $ uname -a
        Linux localhost.localdomain 4.14.14-200.fc26.x86_64 #1 SMP Fri
        Jan 19 13:27:06 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

        $ trac-admin /home/user/Development/TracEnv/TracProject/ upgrade
        The upgrade failed. Please fix the issue and try again.
        AttributeError: 'Environment' object has no attribute 'get_db_cnx'


I'm pretty sure Agilo doesn't yet support Trac 1.2.

You can get more information on the AttributeError from the log file, which will be at:
/home/user/Development/TracEnv/TracProject/log/trac.log

In the log file there should be a traceback showing leading up to the exception "AttributeError". The traceback shows where the exception originated, and propagation up the call stack.

- Ryan

--
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/KtuRDCN60us/unsubscribe. To unsubscribe from this group and all its topics, send an email to trac-users+unsubscr...@googlegroups.com <mailto:trac-users+unsubscr...@googlegroups.com>. To post to this group, send email to trac-users@googlegroups.com <mailto:trac-users@googlegroups.com>.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to