Edgewall Software
Modify

Opened 15 years ago

Last modified 14 years ago

#8494 new defect

tracd doesn't reload file on import error

Reported by: Sebastian Krysmanski <sebastian@…> Owned by:
Priority: normal Milestone: unscheduled
Component: general Version: 0.11.5
Severity: normal Keywords:
Cc: Thijs Triemstra Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Tracd doesn't reload a file (from a plugin) that had an import error. (I started tracd with the parameter "-r") This was very confusing for me as I overlooked this error message:

19:19:27 Trac[loader] ERROR: Skipping "SubscriberListPlugin = subscriberlist.web_ui": (can't import "ImportError: cannot import name StreamBuffer2")

Anyway, it would be nice if tracd would reload such files.

Attachments (0)

Change History (4)

comment:1 by Christian Boos, 15 years ago

Milestone: 2.0

That looks useful and somehow doable (see autoreload, we would need to pass an extra list of files to watch).

Patch welcomed.

comment:2 by Christian Boos, 15 years ago

Milestone: 2.0unscheduled

Milestone 2.0 deleted

comment:3 by Thijs Triemstra <lists@…>, 14 years ago

Cc: lists@… added

I guess we want to add the trac environment 'plugins' folder to this list of extra list of files to watch.

comment:4 by Thijs Triemstra, 14 years ago

Cc: Thijs Triemstra added; lists@… removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.