Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

#10293 closed defect (cantfix)

NameError: global name 'TagSystem' is not defined

Reported by: Michael@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.7
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a POST operation on /discussion, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'1c436b35d4f33318fd993922',
 'description': u'',
 'discussion_action': u'post-add',
 'group': u'0',
 'name': u'',
 'subject': u'',
 'submit': u'Submit',
 'tags': u'',
 'unregistered_subscribers': u''}

User Agent was: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50

System Information

Trac 0.11.7
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2]
setuptools 0.6
psycopg2 2.2.1
Genshi 0.6
Pygments 1.4
Subversion 1.6.12 (r955767)
jQuery: 1.5

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 206, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.7/dist-packages/TracDiscussion-0.8_r9877-py2.7.egg/tracdiscussion/core.py", line 112, in process_request
    template, data = api.process_discussion(context)
  File "/usr/local/lib/python2.7/dist-packages/TracDiscussion-0.8_r9877-py2.7.egg/tracdiscussion/api.py", line 259, in process_discussion
    self._do_actions(context, actions)
  File "/usr/local/lib/python2.7/dist-packages/TracDiscussion-0.8_r9877-py2.7.egg/tracdiscussion/api.py", line 792, in _do_actions
    context.forum = self.get_forum_by_time(context, forum['time'])
  File "/usr/local/lib/python2.7/dist-packages/TracDiscussion-0.8_r9877-py2.7.egg/tracdiscussion/api.py", line 1641, in get_forum_by_time
    tag_system = TagSystem(self.env)
NameError: global name 'TagSystem' is not defined

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 13 years ago

Resolution: cantfix
Status: newclosed

PluginIssue (TracDiscussion).

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.