GeoscienceAustralia / eqrm

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

test_all is failing on rhe-compute1 #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
FAILED (errors=29)

an example;
======================================================================
ERROR: test_validate_vulnerability_set 
(test_structures_vulnerability.Test_Structures_Vulnerability)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/nas/mnh/georisk_models/earthquake/sandpits/duncan/switch_eqrm_core/eqrm_code/test_structures_vulnerability.py", line 66, in setUp
    self.mmi.eqrm_flags)
  File "/nas/mnh/georisk_models/earthquake/sandpits/duncan/switch_eqrm_core/eqrm_code/structures_vulnerability.py", line 89, in from_csv
    return cls(latitude, longitude, vulnerability_set, **attributes)
  File "/nas/mnh/georisk_models/earthquake/sandpits/duncan/switch_eqrm_core/eqrm_code/structures_vulnerability.py", line 61, in __init__
    Sites.__init__(self, latitude, longitude, **attributes)
  File "/nas/mnh/georisk_models/earthquake/sandpits/duncan/switch_eqrm_core/eqrm_code/sites.py", line 55, in __init__
    self.latitude = asarray(latitude)
  File "/nas/mnh/georisk_models/earthquake/sandpits/duncan/switch_eqrm_core/eqrm_code/sites.py", line 71, in <lambda>
    lambda self, value: self._set_file_array('latitude', value))
  File "/nas/mnh/georisk_models/earthquake/sandpits/duncan/switch_eqrm_core/eqrm_code/file_store.py", line 144, in _set_file_array
    self._set_numpy_binary_array(name, array)
  File "/nas/mnh/georisk_models/earthquake/sandpits/duncan/switch_eqrm_core/eqrm_code/file_store.py", line 130, in _set_numpy_binary_array
    dir=DATA_DIR)
  File "/usr/local/python-2.7.2/lib/python2.7/tempfile.py", line 293, in mkstemp
    return _mkstemp_inner(dir, prefix, suffix, flags)
  File "/usr/local/python-2.7.2/lib/python2.7/tempfile.py", line 228, in _mkstemp_inner
    fd = _os.open(file, flags, 0600)
OSError: [Errno 2] No such file or directory: 
'./output/sites.latitude.t01KpM.npy'

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

Original issue reported on code.google.com by duncan.g...@gmail.com on 23 Jan 2013 at 4:40

GoogleCodeExporter commented 9 years ago
It's ok on vayu.  checked scenarios works.

Original comment by duncan.g...@gmail.com on 23 Jan 2013 at 4:43

GoogleCodeExporter commented 9 years ago
This issue isn't in the main code. It was due to some code in my branch.  

Original comment by duncan.g...@gmail.com on 25 Jan 2013 at 12:34