Modify

Opened 7 years ago

Closed 6 years ago

#2819 closed defect (fixed)

HudsonTrac doesn't appear to load or show up in Trac 0.11b2

Reported by: pqajjv Owned by: roadrunner
Priority: normal Component: HudsonTracPlugin
Severity: blocker Keywords:
Cc: candrews@… Trac Release: 0.11

Description

I am running Trac 0.11b2.
I got the latest version of HudsonTracPlugin.
I did python setup.py bdist_egg, and copied the egg to my plugins directory.
I added the [hudson] section to my trac.ini with the appropriate settings.

Nothing happened.

I checked my log and I am repeatedly getting:
Trac[loader] ERROR: Skipping "HudsonTrac = HudsonTrac.HudsonTracPlugin": (can't import "No module named Timeline")

Attachments (1)

HudsonTracPlugin-0.11b2-fix.py (3.1 KB) - added by Olivier THIERY 7 years ago.
Fix for Trac 0.11b2

Download all attachments as: .zip

Change History (6)

comment:1 Changed 7 years ago by anonymous

There is a typo on line 13 in HudsonTracPlugin.py:
from trac.Timeline... should be modified to from trac.timeline... in order to make the import work.

I tried this with Trac 0.11b2

Changed 7 years ago by Olivier THIERY

Fix for Trac 0.11b2

comment:2 Changed 7 years ago by Olivier THIERY

  • Resolution set to fixed
  • Status changed from new to closed

I was able to get the plugin to work with trac 0.11b2 the HudsonTracPlugin-0.11b2-fix.py attachment.

I think the trac.timeline.ITimelineEventProvider interface has changed betwwen 0.10 and 0.11 (not sure).

comment:3 Changed 6 years ago by candrews@…

  • Cc candrews@… added
  • Resolution fixed deleted
  • Status changed from closed to reopened

Can someone PLEASE apply this patch to the SVN repository? :-)

This isn't fixed until the patch is applied to the repository.

comment:4 Changed 6 years ago by anonymous

This fix doesn't work with 0.11

comment:5 Changed 6 years ago by roadrunner

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [4593]) Fix for trac 0.11 (untested); patch taken from #3319. Closes #3319 and #2819.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.