[bug #22939] Failure of the test suite in the relax GUI with ImportError: No module named backend_wxagg.

2014-11-10 Thread Edward d Auvergne
URL:
  http://gna.org/bugs/?22939

 Summary: Failure of the test suite in the relax GUI with
ImportError: No module named backend_wxagg.
 Project: relax
Submitted by: bugman
Submitted on: Mon 10 Nov 2014 05:59:56 PM UTC
Category: GUI
Specific analysis category: None
Priority: 7 - High
Severity: 4 - Important
  Status: None
 Assigned to: bugman
 Originator Name: 
Originator Email: 
 Open/Closed: Open
 Release: 3.3.1
 Discussion Lock: Any
Operating System: All systems

___

Details:

Running the test suite in the GUI with certain Python/maplotlib versions
results in the following error:


Traceback (most recent call last):
  File /data/relax/relax-trunk/gui/relax_gui.py, line 571, in
run_test_suite
import test_suite.test_suite_runner
  File /data/relax/relax-trunk/test_suite/test_suite_runner.py, line 37, in
module
from test_suite.gui_tests import GUI_test_runner
  File /data/relax/relax-trunk/test_suite/gui_tests/__init__.py, line 34, in
module
from test_suite.gui_tests.bmrb import Bmrb
  File /data/relax/relax-trunk/test_suite/gui_tests/bmrb.py, line 31, in
module
from test_suite import system_tests
  File /data/relax/relax-trunk/test_suite/system_tests/__init__.py, line 61,
in module
from test_suite.system_tests.relax_disp import Relax_disp
  File /data/relax/relax-trunk/test_suite/system_tests/relax_disp.py, line
36, in module
from auto_analyses.relax_disp_repeat_cpmg import DIC_KEY_FORMAT,
Relax_disp_rep
  File /data/relax/relax-trunk/auto_analyses/relax_disp_repeat_cpmg.py, line
55, in module
import pylab as plt
  File /usr/lib64/python2.7/site-packages/pylab.py, line 1, in module
from matplotlib.pylab import *
  File /usr/lib64/python2.7/site-packages/matplotlib/pylab.py, line 269, in
module
from matplotlib.pyplot import *
  File /usr/lib64/python2.7/site-packages/matplotlib/pyplot.py, line 98, in
module
_backend_mod, new_figure_manager, draw_if_interactive, _show =
pylab_setup()
  File /usr/lib64/python2.7/site-packages/matplotlib/backends/__init__.py,
line 25, in pylab_setup
globals(),locals(),[backend_name])
ImportError: No module named backend_wxagg





___

Reply to this item at:

  http://gna.org/bugs/?22939

___
  Message sent via/by Gna!
  http://gna.org/


___
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
relax-devel@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel


[bug #22939] Failure of the test suite in the relax GUI with ImportError: No module named backend_wxagg.

2014-11-10 Thread Edward d Auvergne
Follow-up Comment #1, bug #22939 (project relax):

This issue can be reproduced as follows:

1)  Start the relax GUI.
2)  Open the relax prompt window (using View-relax prompt for example).
3)  Type import pylab as plt

This will result in:

relax import pylab as plt
Traceback (most recent call last):
  File input, line 1, in module
  File /usr/lib64/python2.7/site-packages/pylab.py, line 1, in module
from matplotlib.pylab import *
  File /usr/lib64/python2.7/site-packages/matplotlib/pylab.py, line 269, in
module
from matplotlib.pyplot import *
  File /usr/lib64/python2.7/site-packages/matplotlib/pyplot.py, line 98, in
module
_backend_mod, new_figure_manager, draw_if_interactive, _show =
pylab_setup()
  File /usr/lib64/python2.7/site-packages/matplotlib/backends/__init__.py,
line 25, in pylab_setup
globals(),locals(),[backend_name])
ImportError: No module named backend_wxagg


When running relax in the prompt UI mode however, this matplotlib import works
successfully.

___

Reply to this item at:

  http://gna.org/bugs/?22939

___
  Message sent via/by Gna!
  http://gna.org/


___
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
relax-devel@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel


[bug #22939] Failure of the test suite in the relax GUI with ImportError: No module named backend_wxagg.

2014-11-10 Thread Edward d Auvergne
Update of bug #22939 (project relax):

Operating System: All systems = GNU/Linux  


___

Reply to this item at:

  http://gna.org/bugs/?22939

___
  Message sent via/by Gna!
  http://gna.org/


___
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
relax-devel@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel


[bug #22939] Failure of the test suite in the relax GUI with ImportError: No module named backend_wxagg.

2014-11-10 Thread Edward d Auvergne
Update of bug #22939 (project relax):

  Status:None = Invalid
 Open/Closed:Open = Closed 

___

Follow-up Comment #2:

The problem is that on some systems, the python-matplotlib-wx package needs to
be installed.  The answer was given at
https://stackoverflow.com/questions/5986780/unable-to-import-figurecanvaswxagg-from-matplotlib-in-python.

___

Reply to this item at:

  http://gna.org/bugs/?22939

___
  Message sent via/by Gna!
  http://gna.org/


___
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
relax-devel@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel