Edgewall Software

Opened 10 years ago

Closed 10 years ago

#10770 closed defect (cantfix)

NameError: free variable '_' referenced before assignment in enclosing scope

Reported by: admin Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


How to Reproduce

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

(please provide additional details here)

Request parameters:

{'id': u'2'}

User agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11

System Information

Trac 0.12.3.ja2
Babel 0.9.6
Genshi 0.6
MySQL server: "5.5.22", client: "5.0.27", thread-safe: 1
MySQLdb 1.2.2
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
setuptools 0.6c9
Subversion 1.6.6 (r40053)
jQuery 1.4.4

Enabled Plugins

TicketBox Rev
ticketcloneplugin 0.2
TopicPath N/A
tracaccountmanager 0.3.2

Python Traceback

Traceback (most recent call last):
  File "c:\trac\tracland\tracland(ajp)\site-packages\trac-0.12.3.ja2-py2.5.egg\trac\web\main.py", line 536, in _dispatch_request
  File "c:\trac\tracland\tracland(ajp)\site-packages\trac-0.12.3.ja2-py2.5.egg\trac\web\main.py", line 243, in dispatch
    resp = chosen_handler.process_request(req)
  File "c:\trac\tracland\tracland(ajp)\site-packages\trac-0.12.3.ja2-py2.5.egg\trac\ticket\web_ui.py", line 169, in process_request
    return self._process_ticket_request(req)
  File "c:\trac\tracland\tracland(ajp)\site-packages\trac-0.12.3.ja2-py2.5.egg\trac\ticket\web_ui.py", line 662, in _process_ticket_request
    add_ticket_link('first', min_id)
  File "c:\trac\tracland\tracland(ajp)\site-packages\trac-0.12.3.ja2-py2.5.egg\trac\ticket\web_ui.py", line 637, in add_ticket_link
    _("Ticket #%(id)s", id=id))
NameError: free variable '_' referenced before assignment in enclosing scope

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 10 years ago

Resolution: cantfix
Status: newclosed

This is a customized version of Trac (0.12.3.ja2), please report this to the maintainer.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.