Modify

Opened 5 years ago

Last modified 3 years ago

#4816 new defect

Traceback when AgileTrac plugin is enabled

Reported by: abidoon@… Owned by: rjollos
Priority: high Component: TracMetrixPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11

Description (last modified by rjollos)

Trac detected an internal error:

TypeError: get_ticket_stats() takes exactly 4 arguments (2 given)

File "/usr/lib/python2.4/site-packages/Trac-0.11.3-py2.4.egg/trac/web/main.py", line 435, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/Trac-0.11.3-py2.4.egg/trac/web/main.py", line 205, in dispatch
  resp = chosen_handler.process_request(req)
File "build/bdist.linux-x86_64/egg/tracmetrixplugin/web_ui.py", line 126, in process_requestFile "build/bdist.linux-x86_64/egg/tracmetrixplugin/web_ui.py", line 141, in _render_view

System Information:

User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7
Trac: 	0.11.3
Python: 	2.4.3 (#1, May 24 2008, 13:57:05) [GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]
setuptools: 	0.6c5
SQLite: 	3.3.6
pysqlite: 	2.3.3
Genshi: 	0.5.1
mod_python: 	3.2.8
Subversion: 	1.4.2 (r22196)
jQuery:	1.2.6

Attachments (1)

tracmetrixplugin.rar (21.0 KB) - added by dragos.cociu@… 3 years ago.
Version that works with AgileTrac installed

Download all attachments as: .zip

Change History (8)

comment:1 follow-ups: Changed 5 years ago by mar@…

I am getting a similar error "TypeError: milestone_stats_data() takes at least 4 arguments (3 given)" without AgileTrac installed.

I do have Tracticketstats installed but disabled.

comment:2 in reply to: ↑ 1 Changed 5 years ago by rjollos

Replying to mar@almaden.ibm.com:

I am getting a similar error "TypeError: milestone_stats_data() takes at least 4 arguments (3 given)" without AgileTrac installed.

I do have Tracticketstats installed but disabled.

See #6149 for a patch that addresses your problem.

comment:3 Changed 5 years ago by rjollos

Seems to me that you would want to temporarily disable the AgileTracPlugin, and if the issue goes away, then you have your answer. Is this possible for you to do?

comment:4 Changed 4 years ago by moebhius@…

ok. I have the agiletrac plugin/patch installed. I've patched tracmetrixplugin with http://trac-hacks.org/ticket/6149, doesn't work.

I restore mi trac with the original trac (without the agile patch) and I've disabled the agile trac... and metrix works!! :D... but i miss agile :(

cheers

comment:5 Changed 4 years ago by rjollos

  • Description modified (diff)
  • Owner changed from khundeen to rjollos
  • Summary changed from When I click the dashboard I get the error given below. Is this because I am using AgileTrac plugin? to Traceback when AgileTrac plugin is enabled

Could you please install the latest version of the TracMetrixPlugin trunk, and then do the following:

  • Determine if it works with AgileTracPlugin disabled.
  • Determine if it works with AgileTracPlugin enabled.
  • Send a traceback if you receive any errors.
  • Send details of your Trac installation from the About page.

Changed 3 years ago by dragos.cociu@…

Version that works with AgileTrac installed

comment:6 in reply to: ↑ 1 ; follow-up: Changed 3 years ago by anonymous

Replying to mar@almaden.ibm.com:

I am getting a similar error "TypeError: milestone_stats_data() takes at least 4 arguments (3 given)" without AgileTrac installed.

I do have Tracticketstats installed but disabled.

I have attached a modified version of the plugin that works with AgileTrac installed.

comment:7 in reply to: ↑ 6 Changed 3 years ago by rjollos

Replying to anonymous:

I have attached a modified version of the plugin that works with AgileTrac installed.

Patches are preferred, and the archive doesn't even contain the all of the TracMetrixPlugin code. Could you tell me which SVN revision this was modified from?

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.