Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 2 months ago

#4506 closed defect (fixed)

NameError: global name 'Context' is not defined

Reported by: anonymous Owned by: Matthew Good
Priority: normal Milestone: 0.11
Component: wiki system Version: devel
Severity: critical Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

This is more to do with the recent change on r4509 and #4502. It seems that Context has not been defined?

How to Reproduce

While doing a GET operation on /xmlrpc, Trac issued an internal error.

System Information

Trac 0.11dev
Python 2.4.3 (#2, Oct 6 2006, 07:52:30)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)]
pyPgSQL 2.4
Genshi 0.3.4
Subversion 1.3.1

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 395, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 213, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/tracrpc/web_ui.py", line 37, in process_request
  File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 1004, in wiki_to_oneliner
    ctx = Context(env, req, db=db, abs_urls=absurls)
NameError: global name 'Context' is not defined

Attachments (0)

Change History (2)

comment:1 by Matthew Good, 17 years ago

Owner: changed from Jonas Borgström to Matthew Good
Status: newassigned

Sorry, r4509 is missing an import.

comment:2 by Matthew Good, 17 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r4524.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matthew Good.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Matthew Good to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.