Modify ↓
Opened 14 years ago
Closed 14 years ago
#10160 closed defect (invalid)
TypeError: milestone_stats_data() takes at least 4 arguments (3 given)
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11.7 |
Severity: | blocker | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /mdashboard/1st working prototype
, Trac issued an internal error.
I just clicked Dashboard tab after installing TracMetrixPlugin 0.1.7
Request parameters:
{'id': u'1st working prototype'}
User Agent was: Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16
System Information
Trac | 0.11.7
|
Python | 2.5.5 (r255:77872, Jun 3 2010, 14:43:28) [GCC 4.1.2 20080704 (Red Hat 4.1.2-48)]
|
setuptools | 0.6c11
|
SQLite | 3.6.23
|
pysqlite | 2.3.2
|
Genshi | 0.5.1
|
mod_wsgi | 3.1 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
|
Pygments | 1.3.1
|
Subversion | 1.6.11 (r934486)
|
RPC | 1.1.0-r7971
|
CustomFieldAdmin | 0.2.2
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/usr/local/lib/python2.5/site-packages/Trac-0.11.7-py2.5.egg/trac/web/main.py", line 450, in _dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.5/site-packages/Trac-0.11.7-py2.5.egg/trac/web/main.py", line 206, in dispatch resp = chosen_handler.process_request(req) File "/usr/local/lib/python2.5/site-packages/TracMetrixPlugin-0.1.7-py2.5.egg/tracmetrixplugin/mdashboard.py", line 357, in process_request return self._render_view(req, db, milestone) File "/usr/local/lib/python2.5/site-packages/TracMetrixPlugin-0.1.7-py2.5.egg/tracmetrixplugin/mdashboard.py", line 408, in _render_view data.update(milestone_stats_data(req, stat, milestone.name)) TypeError: milestone_stats_data() takes at least 4 arguments (3 given)
Attachments (0)
Note:
See TracTickets
for help on using tickets.
There is no 'Dashboard' in Trac itself, so this is a PluginIssue. Please report the issue against the plugin, from traceback most likey th:TracMetrixPlugin