Ticket #3442 (closed defect: fixed)

Opened 4 months ago

Last modified 1 month ago

SimpleEnhancer does not work, changes required in enhancer.py (attached)

Reported by: erik@gusbo.se Assigned to: eblot
Priority: normal Component: RevtreePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I followed the installation instructions, but got an error message saying that the global variable enhancer could not be found. Fixing this (removed the return statement) yield an error about widget. I then replaced widget by _widget at all places.

The following changes are required in 0.11/revtree/enhancer.py

1. remove "return enhancer" from init

2. replace "widget" by "_widget"

Attachments

enhancer.py (3.7 kB) - added by erik@gusbo.se on 07/23/08 08:30:23.
The modified enhancer.py file

Change History

07/23/08 08:30:23 changed by erik@gusbo.se

  • attachment enhancer.py added.

The modified enhancer.py file

08/18/08 04:37:03 changed by mikon

I didn't follow installation instruction, because I did

sudo easy_install http://trac-hacks.org/svn/revtreeplugin/0.11

However, I got the same error message with 0.11 on Ubuntu (other plugins work OK).

(follow-up: ↓ 4 ) 08/18/08 04:41:40 changed by eblot

Current versions (0.6.x) are in development for now, please use a previous release (0.5.x)

10/06/08 09:10:53 changed by petram@yahoo.com

I've used the attached enhancer.py but still getting the same error "enhancer not defined". I've rebuilt the egg, remove old egg, reinstalled new one, restarted the server, enabled the plug in. Any help is appreciated.

(in reply to: ↑ 2 ; follow-up: ↓ 5 ) 10/27/08 04:39:11 changed by anonymous

Replying to eblot:

Current versions (0.6.x) are in development for now, please use a previous release (0.5.x)

Pls, where can we get version 0.5.x?

The zip has the same content of svn rep, an old 0.4 version for trac 0.10 and the broken 0.6 version for trac 0.11.

(in reply to: ↑ 4 ) 10/27/08 04:48:20 changed by eblot

Replying to anonymous:

Replying to eblot: Pls, where can we get version 0.5.x?

From SVN ;-) See ticket:3985:5

11/01/08 13:05:30 changed by eblot

  • status changed from new to closed.
  • resolution set to fixed.

(In [4695]) Fixes #3442. Thanks to erik for the patch

11/01/08 13:06:58 changed by eblot

Additional note for petram: SimpleEnhancer? now works with 0.6.x release of the plugin. Let me know if you still have issues


Add/Change #3442 (SimpleEnhancer does not work, changes required in enhancer.py (attached))




Change Properties
Action