Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#9004 closed defect (cantfix)

AttributeError: 'list' object has no attribute 'items'

Reported by: hjd Owned by:
Priority: normal Milestone:
Component: ticket system Version: 0.12dev
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

如何重现

当进行 GET 操作于 /hours, Trac产生内部错误.

(请在此附加详细情况)

系统信息

Trac 0.12dev-r8987
Python 2.6.4 (r264:75706, Dec 27 2009, 16:09:52)
[GCC 4.3.4]
setuptools 0.6
pytz 2009r
MySQL server: "5.0.84-log", client: "5.0.84", thread-safe: 1
MySQLdb 1.2.3c1
Genshi 0.6dev-r1092
Babel 0.9.4
Pygments 1.1.1
Subversion 1.6.6 (r40053)
jQuery: 1.3.2

Python Traceback

Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/Trac-0.12dev_r8987-py2.6.egg/trac/web/main.py", line 494, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib64/python2.6/site-packages/Trac-0.12dev_r8987-py2.6.egg/trac/web/main.py", line 226, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib64/python2.6/site-packages/TracHoursPlugin-0.5.2-py2.6.egg/trachours/hours.py", line 234, in process_request
    return self.process_timeline(req)
  File "/usr/lib64/python2.6/site-packages/TracHoursPlugin-0.5.2-py2.6.egg/trachours/hours.py", line 466, in process_timeline
    for field, vals in constraints.items():
AttributeError: 'list' object has no attribute 'items'

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 15 years ago

Component: generalticket system
Milestone: 0.12-multirepos
Resolution: cantfix
Status: newclosed

Sorry this is a PluginIssue, it seems TH:TracHoursPlugin is not compatible with 0.12dev (see also googlegroups:trac-users:7488291261db4071).

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.