Modify

Opened 15 years ago

Last modified 9 years ago

#4816 new defect

Traceback when AgileTrac plugin is enabled

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

Description (last modified by Ryan J Ollos)

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@… 13 years ago.
Version that works with AgileTrac installed

Download all attachments as: .zip

Change History (9)

comment:1 Changed 14 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 14 years ago by Ryan J Ollos

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 14 years ago by Ryan J Ollos

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 14 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 14 years ago by Ryan J Ollos

Description: modified (diff)
Owner: changed from Bhuricha Deen Sethanandha to Ryan J Ollos
Summary: When I click the dashboard I get the error given below. Is this because I am using AgileTrac plugin?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 13 years ago by dragos.cociu@…

Attachment: tracmetrixplugin.rar added

Version that works with AgileTrac installed

comment:6 in reply to:  1 ; Changed 13 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 13 years ago by Ryan J Ollos

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?

comment:8 Changed 9 years ago by Ryan J Ollos

Owner: Ryan J Ollos deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.