Modify ↓
Opened 14 years ago
Closed 12 years ago
#9576 closed defect (fixed)
NameError: global name 'TagSystem' is not defined
| Reported by: | ramya.j | Owned by: | Radek Bartoň |
|---|---|---|---|
| Priority: | normal | Component: | DiscussionPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Steffen Hoffmann | Trac Release: | 0.11 |
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'7b09533d1a52cec7315e0e23',
'description': u'Disscuss all knowledge',
'discussion_action': u'post-add',
'group': u'0',
'moderators': u'ravi.pr',
'name': u'Opsone',
'subject': u'Product Description',
'submit': u'Submit',
'subscribers': [u'arati.p', u'ramya.j'],
'tags': u'Opsone',
'unregistered_subscribers': u''}
User agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0
System Information
Trac | 0.12.2
|
Agilo | 0.9.5
|
Babel | 0.9.6 (translations unavailable)
|
Genshi | 0.6
|
mod_python | 3.3.1
|
pysqlite | 2.3.3
|
Python | 2.5.2 (r252:60911, Sep 30 2008, 15:41:38) [GCC 4.3.2 20080917 (Red Hat 4.3.2-4)]
|
setuptools | 0.6c8
|
SQLite | 3.5.9
|
jQuery | 1.4.2
|
Enabled Plugins
binary-agilo | 1.3.5-PRO
|
TicketImport | 0.8
|
TracAccountManager | 0.2.1dev-r4679
|
TracDiscussion | 0.8
|
TracPrivateTickets | 2.0.2
|
TracSimpleTicket | 2.0
|
TracTicketDelete | 2.0.1
|
Python Traceback
Traceback (most recent call last):
File "build/bdist.linux-i686/egg/trac/web/main.py", line 511, in _dispatch_request
dispatcher.dispatch(req)
File "build/bdist.linux-i686/egg/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "build/bdist.linux-i686/egg/tracdiscussion/core.py", line 112, in process_request
template, data = api.process_discussion(context)
File "build/bdist.linux-i686/egg/tracdiscussion/api.py", line 259, in process_discussion
self._do_actions(context, actions)
File "build/bdist.linux-i686/egg/tracdiscussion/api.py", line 792, in _do_actions
context.forum = self.get_forum_by_time(context, forum['time'])
File "build/bdist.linux-i686/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 (5)
comment:1 Changed 14 years ago by
| Component: | SELECT A HACK → DiscussionPlugin |
|---|---|
| Owner: | changed from anonymous to Radek Bartoň |
comment:2 Changed 14 years ago by
| Cc: | Steffen Hoffmann added; anonymous removed |
|---|
comment:3 Changed 13 years ago by
The plugin is checking whether tracdiscussion.tags.DiscussionTags is enabled, but not whether tagsplugin is enabled, which may be the problem here.
comment:4 follow-up: 5 Changed 13 years ago by
Some work was done in #8832 and #10461 to resolve these issues, but this ticket will be left open for the refactor/redesign of the TagsPlugin API implementation.
comment:5 Changed 12 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.



I'm not sure what the requirements of the DiscussionPlugin are, but you can probably resolve this (at least temporarily, until the plugin author follows up with more info) by installing the TagsPlugin.