Edgewall Software
Modify

Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#13162 closed defect (cantfix)

NameError: global name 'tag' is not defined

Reported by: ahmed.besbes Owned by:
Priority: normal Milestone:
Component: ticket system Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'id': u'8'}

User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36

System Information

Trac 1.2.2
Babel 2.5.1
Docutils 0.14
Genshi 0.6 (without speedups)
mod_wsgi 3.5 (WSGIProcessGroup wsgi-trac WSGIApplicationGroup %{GLOBAL})
MySQL server: "10.1.26-MariaDB-0+deb9u1", client: "10.1.26-MariaDB", thread-safe: 1
MySQLdb 1.2.5
Pygments 1.6
Python 2.7.14 (default, Apr 27 2018, 20:05:26)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]
pytz 2017.2
RPC 1.1.7.dev0
setuptools 20.9.0
Subversion 1.9.7 (r1800392)
jQuery 1.11.3
jQuery UI 1.11.4
jQuery Timepicker 1.5.5

Enabled Plugins

BlackMagicTicketTweaks 0.12.2
GroupTicketFields 0.0.1dev-r0
MultipleWorkflowPlugin 1.4.1
OverlayView 0.12.0.3
TicketFieldFilter 1.0.dev0
timingandestimationplugin 1.4.8
TracAdvancedTicketWorkflow 1.2.1.dev0
TracConfigurablePermissionPlugin 1.0
TracCustomFieldAdmin 0.2.13
TracDragDrop 0.12.0.14
TracIniAdmin 0.4
TracMigratePlugin 0.12.0.5
TracSubTicketsPlugin 0.5.4.dev0
TracSumFields 2.0.0.dev0
TracWorkflowAdmin 0.12.0.4
TracXMLRPC 1.1.7.dev0
ValuePropagation 1.2.0.dev0
WorkflowEditorPlugin 1.2.0dev-r0

Interface Customization

shared-htdocs
shared-templates
site-htdocs tracworkflowadmin
site-templates

Python Traceback

Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 623, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 239, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py", line 174, in process_request
    return self._process_ticket_request(req)
  File "build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py", line 691, in _process_ticket_request
    get_reporter_id(req, 'author'), field_changes)
  File "build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py", line 1730, in _insert_ticket_data
    self._get_action_controls(req, ticket)
  File "build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py", line 450, in _get_action_controls
    req, ticket, action)
  File "/opt/bitnami/apps/trac/trac_projects/plugins/TracAdvancedTicketWorkflow-1.2.1.dev0-py2.7.egg/advancedworkflow/controller.py", line 232, in render_ticket_action_control
    control = tag('')
NameError: global name 'tag' is not defined

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 6 years ago

Resolution: cantfix
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.