Opened 8 years ago

Closed 6 years ago

#4818 closed defect (worksforme)

global name 'Context' is not defined

Reported by: Chitlesh Goorah Owned by: proofek
Priority: normal Component: PeerReviewPlugin
Severity: normal Keywords:
Cc: chitlesh@… Trac Release: 0.10

Description (last modified by rjollos)

Hello there, I was able to load the peerreview plugin on trac.

trac-0.10.5-1.fc10.noarch and trac-peerreview-plugin-2.0-1.svn5357

But I can't create a code review. Below you will find a screenshot and the python traceback


Python traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/trac/web/", line 406, in dispatch_request
  File "/usr/lib/python2.5/site-packages/trac/web/", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.5/site-packages/codereview/", line 113, in process_request
    context = Context.from_request(req, 'source', path, node.created_rev)
NameError: global name 'Context' is not defined

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by rjollos

  • Description modified (diff)
  • Resolution set to worksforme
  • Status changed from new to closed

Context is imported from trac.mimeviewer. This is working correctly on the current trunk. Suggest using the trunk, and please reopen if you continue to have issues.

Add Comment

Modify Ticket

as closed The owner will remain proofek.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.