Opened 6 years ago
Last modified 6 years ago
#13193 closed defect
Plugin does not work with trac 1.2 — at Version 2
| Reported by: | Owned by: | Cinc-th | |
|---|---|---|---|
| Priority: | normal | Component: | PeerReviewPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 1.2 |
Description (last modified by )
Hi,
i think this plugin is not compatible with trac v1.2.
After installing i get some errors:
Trac[loader] ERROR: Skipping "codereview = codereview":
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/trac/loader.py", line 68, in _load_eggs
entry.load(require=True)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python2.7/dist-packages/codereview/__init__.py", line 10, in <module>
import peerReviewMain
File "/usr/local/lib/python2.7/dist-packages/codereview/peerReviewMain.py", line 21, in <module>
from trac.util.text import _
ImportError: cannot import name _
So i patched all from trac.util.text import _ to from trac.util.translation import _
Then it is possible to activate the PlugIn, but if i select "PerrReview" i get an error that macros.html was not found.
Will this be fixed?
Change History (2)
comment:1 Changed 6 years ago by
| Description: | modified (diff) |
|---|
comment:2 Changed 6 years ago by
| Description: | modified (diff) |
|---|
Note: See
TracTickets for help on using
tickets.


