Modify

Opened 15 years ago

Closed 13 years ago

#4818 closed defect (worksforme)

global name 'Context' is not defined

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

Description (last modified by Ryan J Ollos)

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

Screenshot: https://fedorahosted.org/fedora-electronic-lab/attachment/ticket/8/peerreview.png

Python traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.5/site-packages/codereview/peerReviewBrowser.py", 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 13 years ago by Ryan J Ollos

Description: modified (diff)
Resolution: worksforme
Status: newclosed

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.

Modify Ticket

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