Modify

Opened 16 years ago

Closed 15 years ago

#3248 closed defect (fixed)

UserWarning when start a tracd of poroject with DashBoard

Reported by: alexey.lustin Owned by: Richard Wall
Priority: low Component: TracMetrixPlugin
Severity: minor Keywords: warning tracd
Cc: Trac Release: 0.11

Description (last modified by Bhuricha Deen Sethanandha)

i dont know may be it's not important, [BR] but when i run tracd, on project with TracMetrixPlugin i have this messages

Server starting in PID 9389.
Serving on 0.0.0.0:80 view at http://127.0.0.1:80/
/usr/lib/python2.5/site-packages/matplotlib/__init__.py:755: UserWarning:  This call to matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.

  warnings.warn(_use_error_msg)

PS Python:2.5.2 (r252:60911, Apr 21 2008, 11:12:42) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]

Attachments (0)

Change History (7)

comment:1 Changed 16 years ago by Richard Wall

Resolution: duplicate
Status: newclosed

This looks like a duplicate of #2900

comment:2 Changed 16 years ago by Richard Wall

Resolution: duplicate
Status: closedreopened

Sorry, not a duplicate after all. #2900 is describing a different bug, but the description contains mention of this warning.

comment:3 Changed 16 years ago by Richard Wall

Owner: changed from Bhuricha Deen Sethanandha to Richard Wall
Status: reopenednew

comment:4 Changed 16 years ago by Richard Wall

Status: newassigned

comment:5 Changed 16 years ago by Richard Wall

I've moved all the graph generation code to the web_ui module and this seems to get rid of the matplotlib warning message. I also took the opportunity to move the mdashboard code into the web_ui, and model modules. It seemed unnecessary to have a separate module. See:

comment:6 Changed 15 years ago by Bhuricha Deen Sethanandha

Thanks for investigating on this. I think matplotlib has been quite a problem for us. I am thinking about changing to Open flash chart (http://teethgrinder.co.uk/open-flash-chart/) but am not sure when I will get around to do it. Does anyone have any experience with it? I hope it's easy to move. Then we don't really need to numpy and matplotlib to use TracMetrix.

comment:7 Changed 15 years ago by Bhuricha Deen Sethanandha

Description: modified (diff)
Resolution: fixed
Status: assignedclosed

Please try the new version. This problem should go away.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Richard Wall.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.