Edgewall Software

Ticket #4506 (closed defect: fixed)

Opened 23 months ago

Last modified 23 months ago

NameError: global name 'Context' is not defined

Reported by: anonymous Owned by: mgood
Priority: normal Milestone: 0.11
Component: wiki system Version: devel
Severity: critical Keywords:
Cc:

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

Change History

Changed 23 months ago by mgood

  • owner changed from jonas to mgood
  • status changed from new to assigned

Sorry, r4509 is missing an import.

Changed 23 months ago by mgood

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r4524.

Add/Change #4506 (NameError: global name 'Context' is not defined)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from mgood. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.