Opened 8 years ago

Closed 8 years ago

#498 closed defect (fixed)

$HOME/.matplotlib conflicts

Reported by: pkienzle Owned by: ajj
Priority: blocker Milestone: SasView 4.0.0
Component: SasView Keywords:
Cc: Work Package: SasView Bug Fixing


Matplotlib's configuration file conflicts can cause exceptions to be thrown on application startup which are not captured in sasview.log.

Within we need a try/catch block around the import statements so that we can catch exceptions and output them to sasview.log.

We need to set the MPLCONFIGDIR to a sasview specific directory to avoid conflicts with other versions of python installed on the system. This directory needs to be removed as part of the uninstall process so we don't conflict with older versions of sasview. Alternatively, put the sasview install in a directory tagged with version number so that we can have different versions installed at the same time.

Make sure the .matplotlib directory is located in a directory writable by the user; not all users have write access to Program Files.

Change History (3)

comment:1 Changed 8 years ago by ajj

  • Owner set to ajj
  • Priority changed from major to critical
  • Status changed from new to assigned

comment:2 Changed 8 years ago by butler

  • Priority changed from critical to blocker

Andrew says this needs fixing for 4.0 or many things will break?

comment:3 Changed 8 years ago by ajj

  • Resolution set to fixed
  • Status changed from assigned to closed

sasview now uses .sasview/,matplotlib

Note: See TracTickets for help on using tickets.