Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#13259 closed defect (fixed)

Upgrade process fails

Reported by: anonymous Owned by: Ryan J Ollos
Priority: normal Component: MasterTicketsPlugin
Severity: normal Keywords: upgrade
Cc: Trac Release: 1.2

Description

trac-admin '...trac' upgrade

fails with:

The upgrade failed. Please fix the issue and try again.

TracError: No upgrade package mastertickets.upgrades

It happens at else clause of upgrade at api.py

dbm.upgrade(db_default.version, db_default.name,
                            'mastertickets.upgrades')

This line references an unknow package for upgrades.

To resolve it, apply this patch to setup.py:

19c19
<     packages=['mastertickets', 'mastertickets.upgrades'],
---
>     packages=['mastertickets'],

Thanks

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by Ryan J Ollos

Status: newaccepted

comment:2 Changed 7 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 16731:

TracMasterTickets 4.0.1: Find all packages when building package

Fixes #13259.

comment:3 Changed 7 years ago by Ryan J Ollos

Published 4.0.1 to PyPI: pypi:TracMasterTickets/4.0.1.

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.