Ticket #8464 (reopened defect)

Opened 2 years ago

Last modified 3 weeks ago

Project environment upgrade fails with database error

Reported by: anonymous Assigned to: seccanj
Priority: normal Component: ResourceReservationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description (Last modified by rjollos)

I was trying to install the ResourceReservationPlugin on my system running:

Trac: 0.12.2dev-r10313
MySQL: "5.0.75-0ubuntu10.5", client: "5.0.75", thread-safe: 1

Installation goes fine, I managed to enable the plugin, but failed to upgrade the Trac environment:

Trac [/export/trac/my_project]> upgrade
use the hashlib module instead
resreservation needs to create the db
resreservation needs to create the db
upgrade_environment
resreservation needs to create the db
_upgrade_db
exception in the database creation
OperationalError: (1072, "Key column 'res_from' doesn't exist in table")
Trac [/export/trac/my_project]> quit

I checked the database but there were no tables by the name res* .

Attachments

Change History

02/02/11 17:53:44 changed by rjollos

  • description changed.

03/03/11 10:17:31 changed by anonymous

I get exactly the same error when trying to upgrade....any improvements on this?

03/03/11 12:55:28 changed by seccanj

Sorry guys, I couldn't take a look at this yet.

I'll try to do it asap.

Ciao, Roberto

04/14/11 21:26:09 changed by seccanj

  • status changed from new to assigned.

I have just released on SourceForge a new release, 1.0.3, which works fine on Trac 0.12.2 in my environment.

Let me know if you still have problems. Otherwise, please close this ticket.

Ciao, Roberto

04/30/11 12:01:51 changed by seccanj

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed with 1.0.3 (now 1.0.4 is also available)

(follow-up: ↓ 7 ) 04/30/13 15:11:13 changed by anonymous

  • status changed from closed to reopened.
  • resolution deleted.

1.0.4 installed on Trac 1.0 does not create tables res*

Error: Macro ResourceReservationList() failed
no such table: resreservation

(in reply to: ↑ 6 ) 04/30/13 21:45:30 changed by rjollos

Replying to anonymous:

1.0.4 installed on Trac 1.0

Do you see the same error as shown in comment:description?

I can't spot the source code on SF, I see only the eggs.


Add/Change #8464 (Project environment upgrade fails with database error)




Change Properties
Action