GeoscienceAustralia / eqrm

Automatically exported from code.google.com/p/eqrm
Other
5 stars 4 forks source link

Errors in test_all if $DISPLAY is not set properly #108

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What do you see instead?

Original issue reported on code.google.com by duncan.g...@gmail.com on 8 Jan 2013 at 11:07

GoogleCodeExporter commented 9 years ago
The results;
@rhe-compute1 eqrm-read-only]$ python test_all.py

Testing path 
/nas/gemd/ehp/georisk_earthquake/EQRM/sandpits/mleonard/eqrm-read-only/eqrm_code
/..:

/usr/local/python-2.7.2/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core
.py:14532: UserWarning: wxPython/wxWidgets release number mismatch

  warnings.warn("wxPython/wxWidgets release number mismatch")

................................................................................
.................librdmacm: couldn't read ABI version.

librdmacm: assuming: 4

CMA: unable to get RDMA device list

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

[[35695,1],0]: A high-performance Open MPI point-to-point messaging module

was unable to find any relevant network interfaces:

Module: OpenFabrics (openib)

  Host: rhe-compute1.ga.gov.au

Another transport will be used instead, although this may result in

lower performance.

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

Pypar (version 2.1.4) initialised MPI OK with 1 processors

................................................................................
................................................................................
................................................................................
................................................................................
.............................................._X11TransSocketINETConnect() 
can't get address for pc-32748.agso.gov.au:6000: Name or service not known

E...

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

ERROR: test_recurrence_from_catalog 
(test_recurrence_from_catalog.Test_catalogue_reader)

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

Traceback (most recent call last):

  File "/nas/gemd/ehp/georisk_earthquake/EQRM/sandpits/mleonard/eqrm-read-only/eqrm_code/../model_preparation/test_recurrence_from_catalog.py", line 72, in test_recurrence_from_catalog

    a, b, b_mle, annual_num_eq = calc_recurrence(event_set, interval=1.0, verbose = False)

  File "/nas/gemd/ehp/georisk_earthquake/EQRM/sandpits/mleonard/eqrm-read-only/eqrm_code/../model_preparation/recurrence_from_catalog.py", line 331, in calc_recurrence

    fig = py.figure(figsize = (12,10))

  File "/usr/local/python-2.7.2/lib/python2.7/site-packages/matplotlib/pyplot.py", line 270, in figure

    **kwargs)

  File "/usr/local/python-2.7.2/lib/python2.7/site-packages/matplotlib/backends/backend_wxagg.py", line 120, in new_figure_manager

    backend_wx._create_wx_app()

  File "/usr/local/python-2.7.2/lib/python2.7/site-packages/matplotlib/backends/backend_wx.py", line 1382, in _create_wx_app

    wxapp = wx.PySimpleApp()

  File "/usr/local/python-2.7.2/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 8081, in __init__

    wx.App.__init__(self, redirect, filename, useBestVisual, clearSigInt)

  File "/usr/local/python-2.7.2/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7949, in __init__

    raise SystemExit(msg)

SystemExit: Unable to access the X Display, is $DISPLAY set properly?

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

Ran 467 tests in 5.336s

FAILED (errors=1)

Original comment by duncan.g...@gmail.com on 8 Jan 2013 at 11:09