Modify ↓
#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)
Note:
See TracTickets
for help on using tickets.
Sorry, r4509 is missing an import.