Opened 7 years ago

Last modified 7 years ago

#13193 closed defect

Plugin does not work with trac 1.2 — at Initial Version

Reported by: dornheim@… Owned by: Cinc-th
Priority: normal Component: PeerReviewPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.2

Description

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 (0)

Note: See TracTickets for help on using tickets.