Modify

Opened 15 years ago

Closed 15 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/__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!

Attachments (1)

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

Download all attachments as: .zip

Change History (6)

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.

comment:4 Changed 15 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 15 years ago by Bhuricha Deen Sethanandha

Resolution: wontfix
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.