Modify

Opened 16 years ago

Closed 16 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 16 years ago.
Fix for Trac 0.11b2

Download all attachments as: .zip

Change History (6)

comment:1 Changed 16 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 16 years ago by Olivier THIERY

Fix for Trac 0.11b2

comment:2 Changed 16 years ago by Olivier THIERY

Resolution: fixed
Status: newclosed

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 16 years ago by candrews@…

Cc: candrews@… added; anonymous removed
Resolution: fixed
Status: closedreopened

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 16 years ago by anonymous

This fix doesn't work with 0.11

comment:5 Changed 16 years ago by roadrunner

Resolution: fixed
Status: reopenedclosed

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

Modify Ticket

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