Modify

Opened 4 months ago

Closed 4 months ago

Last modified 3 months ago

#14354 closed defect (duplicate)

Trac 1.4: environment_needs_upgrade() takes exactly 2 arguments (1 given)

Reported by: strk@… Owned by:
Priority: normal Component: TracTicketReferencePlugin
Severity: blocker Keywords:
Cc: Trac Release: 1.4

Description

Once the TracTicketReferencePlugin is activated Trac 1.4.4 stops working and only renders an error instead:

TracError: Unable to check for upgrade of ticketref.api.TicketRefsPlugin:
TypeError: environment_needs_upgrade() takes exactly 2 arguments (1 given)

We're trying to get cross-ticket references so if anyone has other suggestions they are welcome: https://trac.osgeo.org/osgeo/ticket/2105

Attachments (0)

Change History (7)

comment:1 Changed 4 months ago by strk@…

It is the TicketRefsPlugin component, in particular, that triggers the error. TicketRefsTemplate can be enabled successfully

comment:2 Changed 4 months ago by Jun Omae

Resolution: duplicate
Status: newclosed

Please try the latest version. The issue has been fixed in [18442] (#14042).

comment:3 Changed 4 months ago by Jun Omae

Hm, please try to checkout the latest version from the repository, https://trac-hacks.org/svn/tracticketreferenceplugin/1.0, instead of pypi:TracTicketReferencePlugin. I have no permission to push packages to the pypi:TracTicketReferencePlugin.

Last edited 4 months ago by Jun Omae (previous) (diff)

comment:4 Changed 3 months ago by anonymous

We upgraded to 1.6, can't test 1.4 anymore. Assuming it would have worked.

comment:5 Changed 3 months ago by anonymous

Any chance to get #14271 applied ?

comment:6 in reply to:  5 Changed 3 months ago by Jun Omae

Any chance to get #14271 applied ?

I don't know. Please comment to #14271, not here.

comment:7 in reply to:  3 Changed 3 months ago by Jun Omae

Replying to Jun Omae:

Hm, please try to checkout the latest version from the repository, https://trac-hacks.org/svn/tracticketreferenceplugin/1.0, instead of pypi:TracTicketReferencePlugin. I have no permission to push packages to the pypi:TracTicketReferencePlugin.

I uploaded source and wheel packages of the latest version to pypi:TracTicketReferencePlugin. It is able to install via pypi instead of checking out the repository, now.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
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.