Modify

Opened 8 years ago

Closed 8 years ago

#12947 closed defect (fixed)

Installation corruption

Reported by: juane2rodriguez@… Owned by: Ryan J Ollos
Priority: high Component: ComponentHierarchyPlugin
Severity: blocker Keywords:
Cc: Trac Release: 1.0

Description (last modified by Jun Omae)

Hi,

I tried to install this plugin but after do it, the following error appears:

Trac Error
TracError: The Trac Environment needs to be upgraded.
Run "trac-admin /srv/www/trac upgrade"

After run the command the error is the following:

ComponentHierarchy database schema version: 1 initialized.
ComponentHierarchy database schema version: 0 installed.
ComponentHierarchy database schema is out of date: True
ComponentHierarchy database schema version: 1 initialized.
ComponentHierarchy database schema version: 0 installed.
ComponentHierarchy database schema is out of date: True
ComponentHierarchy database schema version: 1 initialized.
ComponentHierarchy database schema version: 0 installed.
ComponentHierarchy database schema is out of date: True
Upgrading ComponentHierarchy database schema
Upgrading ComponentHierarchy database schema
The upgrade failed. Please fix the issue and try again.

ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '\n    `parent_component` varchar,\n    PRIMARY KEY (`component`)\n)' at line 2")

Finally, if a try removing the plugging, the following error appears:

Internal Server Error

TracError: IOError: [Errno 2] No such file or directory: '/srv/www/trac/plugins/ComponentHierarchy-0.0.1dev-py2.7.egg'

Thanks.

Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by Jun Omae

Description: modified (diff)

comment:2 Changed 8 years ago by Ryan J Ollos

Owner: changed from falkb to Ryan J Ollos
Status: newaccepted

Are you using a database other than SQLite? The plugin uses string interpolation to create SQL statements, which is probably causing problems.

comment:3 Changed 8 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 15972:

0.0.1dev: Fix failing environment upgrade

Fixes #12947.

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.