Opened 8 years ago

Closed 8 years ago

#4497 closed defect (wontfix)

Trac-Admin Upgrad Breaks my Database!!!

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/ 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.

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!

Attachments (1)

Clipboard02.jpg (37.0 KB) - added by bjackman@… 8 years ago.

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by bjackman@…

Attachment: Clipboard02.jpg added


comment:1 Changed 8 years ago by bjackman@…

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

comment:2 Changed 8 years ago by bjackman@…

Severity: blockercritical

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

comment:3 Changed 8 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.

comment:4 Changed 8 years ago by anonymous

Unfortunately, our company is not using Trac any longer (too bad, I know). So I cannot confirm this fix.

comment:5 Changed 8 years ago by Bhuricha Deen Sethanandha

Resolution: wontfix
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Bhuricha Deen Sethanandha.
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.