mailRe: More Relax_disp system test failures, but this time a failure in matplotlib rather than relax.


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Troels Emtekær Linnet on October 06, 2014 - 19:23:
Sorry, I have never seen that.

Are the versions of matplot lib different?
On 6 Oct 2014 18:44, "Edward d'Auvergne" <edward@xxxxxxxxxxxxx> wrote:

Hi Troels,

I've now fixed the system tests broken by the fix to bug #22563
(https://gna.org/bugs/?22563).  But on one system, the
Relax_disp.test_repeat_cpmg test is failing with:

"""
Error analysis for pipe='MDD_-_setup_-_int_-_126_-_free_spins' and
sfr:599.89

=============================================================================


relax>
spectrum.error_analysis(subset=['sq_cpmg_0.00059989_0.000_466.667_0',
'sq_cpmg_0.00059989_0.000_0.000_1',
'sq_cpmg_0.00059989_0.000_66.667_2',
'sq_cpmg_0.00059989_0.000_533.333_3',
'sq_cpmg_0.00059989_0.000_1000.000_4',
'sq_cpmg_0.00059989_0.000_33.333_5',
'sq_cpmg_0.00059989_0.000_166.667_6',
'sq_cpmg_0.00059989_0.000_266.667_7',
'sq_cpmg_0.00059989_0.000_133.333_8',
'sq_cpmg_0.00059989_0.000_333.333_9',
'sq_cpmg_0.00059989_0.000_866.667_10',
'sq_cpmg_0.00059989_0.000_300.000_11',
'sq_cpmg_0.00059989_0.000_666.667_12',
'sq_cpmg_0.00059989_0.000_100.000_13',
'sq_cpmg_0.00059989_0.000_200.000_14',
'sq_cpmg_0.00059989_0.000_0.000_15',
'sq_cpmg_0.00059989_0.000_400.000_16',
'sq_cpmg_0.00059989_0.000_233.333_17',
'sq_cpmg_0.00059989_0.000_366.667_18'])
Intensity measure:  Peak heights.
Replicated spectra:  No.
Spectra ID subset ignored.

relax> results.write(file='MDD_-_setup_-_int_-_126_-_free_spins',
dir='/tmp/tmpApSK0B/setup', compress_type=1, force=False)
Opening the file
'/tmp/tmpApSK0B/setup/MDD_-_setup_-_int_-_126_-_free_spins.bz2' for
writing.
Traceback (most recent call last):
  File
"/data/edau/relax/relax-trunk/test_suite/system_tests/relax_disp.py",
line 6169, in test_repeat_cpmg
    RDR.plot_int_corr(corr_data=corr_data, show=False,
write_stats=write_stats)
  File
"/data/edau/relax/relax-trunk/auto_analyses/relax_disp_repeat_cpmg.py",
line 1302, in plot_int_corr
    plt.savefig(png_file_path, bbox_inches='tight')
  File "/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py", line
561, in savefig
    return fig.savefig(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/matplotlib/figure.py", line
1421, in savefig
    self.canvas.print_figure(*args, **kwargs)
  File
"/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_qt4agg.py",
line 161, in print_figure
    FigureCanvasAgg.print_figure(self, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/matplotlib/backend_bases.py",
line 2167, in print_figure
    **kwargs)
  File
"/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_agg.py",
line 517, in print_png
    filename_or_obj, self.figure.dpi)
RuntimeError: Could not create write struct

----------------------------------------------------------------------

"""

This is on a 64-bit GNU/Linux system.  But on my home computer, which
is also a 64-bit GNU/Linux system, with the same 1.3.0 version of
matplotlib, the test passes.  Have you ever seen such a matplotlib
failure before?  Do you know if this could be a PNG support issue?

Cheers,

Edward

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

This is the relax-devel mailing list
relax-devel@xxxxxxx

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



Related Messages


Powered by MHonArc, Updated Mon Oct 06 21:20:16 2014