Opened 15 years ago

Last modified 15 years ago

#4497 closed defect

Trac-Admin Upgrad Breaks my Database!!! — at Version 3

Reported by: bjackman@… Owned by: Bhuricha Deen Sethanandha
Priority: highest Component: TracMetrixPlugin
Severity: critical Keywords: userwarning matplotlib before upgrade tracmetrix cache
Cc: Trac Release: 0.11

Description (last modified by Bhuricha Deen Sethanandha)

After installing the plugin and all the dependencies (matplotlib, numpy, pygtk, etc) I executed trac-admin /path/to/environment upgrade and got the following:

/usr/lib/python2.5/site-packages/matplotlib/__init__.py:753: 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)
TracMetrix Plugin needs an upgrade
creating cache folder
Done Upgrading
Upgrade done.

Now my entire project fails to load in a browser. Apache issues a 500 error. Disabling the plugin in trac.ini does not affect this.

Please help!!! My Entire Project is Broken!

Change History (4)

Changed 15 years ago by bjackman@…

Attachment: Clipboard02.jpg added

screenshot

comment:1 Changed 15 years ago by bjackman@…

Also, if I go to the trac parent environment directory I see errors. Please see attached screenshot.

comment:2 Changed 15 years ago by bjackman@…

Severity: blockercritical

I have managed to get the project working by removing the .egg file. Reducing severity.

comment:3 Changed 15 years ago by Bhuricha Deen Sethanandha

Description: modified (diff)

The error caused by the Matplotlib. I removed the logic for this. Please try again. Let me know if you still have problem.

Note: See TracTickets for help on using tickets.