Edgewall Software
Modify

Opened 11 years ago

Closed 11 years ago

#11298 closed defect (cantfix)

AttributeError: hdf - Discussions plugin

Reported by: rohit.ail@… Owned by:
Priority: normal Milestone:
Component: general Version: 1.0
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

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

Trac 1.0 , Python 2.7.3 (Ubuntu 12.04)

Request parameters:

{'component': 'core'}

User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36

System Information

Trac 1.0
Babel 0.9.6
Docutils 0.8.1
Genshi 0.6 (with speedups)
Pygments 1.4
pysqlite 2.6.0
Python 2.7.3 (default, Apr 10 2013, 06:20:15)
[GCC 4.6.3]
pytz 2011k
setuptools 0.6
SQLite 3.7.9
jQuery 1.7.2

Enabled Plugins

AdvancedTicketWorkflowPlugin 0.10dev
iniadmin 0.2-r0
TracAccountManager 0.4.3
TracDiscussion 0.5

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/web/main.py", line 497, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/web/main.py", line 214, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-x86_64/egg/tracdiscussion/core.py", line 68, in process_request
    content = api.render_discussion(req, cursor)
  File "build/bdist.linux-x86_64/egg/tracdiscussion/api.py", line 21, in render_discussion
    modes = self._get_modes(req, group, forum, topic, message)
  File "build/bdist.linux-x86_64/egg/tracdiscussion/api.py", line 113, in _get_modes
    req.hdf['discussion.href'] = self.env.href.discussion()
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/web/api.py", line 307, in __getattr__
    raise AttributeError(name)
AttributeError: hdf

Attachments (0)

Change History (1)

comment:1 by Jun Omae, 11 years ago

Priority: highnormal
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.