home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 59799656

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
59799656 MDU6SXNzdWU1OTc5OTY1Ng== 360 test failures on Windows 7 OS 192900 closed 0     6 2015-03-04T13:49:42Z 2015-03-17T18:28:12Z 2015-03-17T18:26:46Z NONE      

OS: Windows 7, 64 bit

``` $ python Python 2.7.8 |Anaconda 2.1.0 (32-bit)| (default, Jul 2 2014, 15:13:35) [MSC v.1500 32 bit (Intel)] on win32

import xray xray.version '0.4.0' ```

Running the tests provided with xray generates the output below.

I understand the test errors probably result from the way in which Windows manages files, but the failures may be more significant.

``` $ nosetests xray

SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS..C:\Python27\Anaconda\lib\site-packages\scipy\io\netcdf.py:287: RuntimeWarning: Cannot close a netcdf_file opened with mmap=True, when netcdf_variables or arrays referring to its data still exist. All data arrays obtained from such files refer directly to data on disk, and must be copied before the file can be cleanly closed. (See netcdf_file docstring for more information on mmap.) ), category=RuntimeWarning) .........C:\Python27\Anaconda\lib\site-packages\xray\core\utils.py:53: FutureWarning: numpy equal will not check object identity in the future. The comparison did not return the same result as suggested by the identity (is)) and will change. return ((arr1 == arr2) | (pd.isnull(arr1) & pd.isnull(arr2))).all() .....EE.EE.E.EEE.E.EE.SSSSSSSSSSSSSSSS...S.SS.SSSSS.....SSS.............F...................S...................F....S......................F........................................S.............F............................F....................................................F................................. ====================================================================== ERROR: test_load_data (xray.test.test_backends.ScipyOnDiskDataTest)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 92, in test_load_data pass File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 87, in assert_loads self.assertDatasetAllClose(expected, actual) File "C:\Python27\Anaconda\lib\contextlib.py", line 35, in exit self.gen.throw(type, value, traceback) File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 600, in roundtrip yield ds File "C:\Python27\Anaconda\lib\contextlib.py", line 35, in exit self.gen.throw(type, value, traceback) File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 273, in create_tmp_file os.remove(path) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\users\breisfel\appdata\local\temp\tmpnniync.nc'

====================================================================== ERROR: test_orthogonal_indexing (xray.test.test_backends.ScipyOnDiskDataTest)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 211, in test_orthogonal_indexing self.assertDatasetAllClose(expected, actual) File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 600, in roundtrip yield ds File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 273, in create_tmp_file os.remove(path) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\users\breisfel\appdata\local\temp\tmpanlrts.nc'

====================================================================== ERROR: test_roundtrip_None_variable (xray.test.test_backends.ScipyOnDiskDataTest)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 108, in test_roundtrip_None_variable self.assertDatasetAllClose(expected, actual) File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 600, in roundtrip yield ds File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 273, in create_tmp_file os.remove(path) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\users\breisfel\appdata\local\temp\tmpinhb9v.nc'

====================================================================== ERROR: test_roundtrip_coordinates (xray.test.test_backends.ScipyOnDiskDataTest)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 182, in test_roundtrip_coordinates self.assertDatasetIdentical(original, actual) File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 600, in roundtrip yield ds File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 273, in create_tmp_file os.remove(path) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\users\breisfel\appdata\local\temp\tmpezxsf_.nc'

====================================================================== ERROR: test_roundtrip_example_1_netcdf (xray.test.test_backends.ScipyOnDiskDataTest)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 165, in test_roundtrip_example_1_netcdf self.assertDatasetEqual(expected, actual) File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 600, in roundtrip yield ds File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 273, in create_tmp_file os.remove(path) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\users\breisfel\appdata\local\temp\tmpo5zwxy.nc'

====================================================================== ERROR: test_roundtrip_mask_and_scale (xray.test.test_backends.ScipyOnDiskDataTest)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 253, in test_roundtrip_mask_and_scale self.assertDatasetAllClose(encoded, actual) File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 600, in roundtrip yield ds File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 273, in create_tmp_file os.remove(path) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\users\breisfel\appdata\local\temp\tmp5jczpa.nc'

====================================================================== ERROR: test_roundtrip_object_dtype (xray.test.test_backends.ScipyOnDiskDataTest)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 137, in test_roundtrip_object_dtype self.assertDatasetIdentical(expected, actual) File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 600, in roundtrip yield ds File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 273, in create_tmp_file os.remove(path) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\users\breisfel\appdata\local\temp\tmpji2z1n.nc'

====================================================================== ERROR: test_roundtrip_string_data (xray.test.test_backends.ScipyOnDiskDataTest)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 144, in test_roundtrip_string_data self.assertDatasetIdentical(expected, actual) File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 600, in roundtrip yield ds File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 273, in create_tmp_file os.remove(path) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\users\breisfel\appdata\local\temp\tmp7sj2iu.nc'

====================================================================== ERROR: test_roundtrip_test_data (xray.test.test_backends.ScipyOnDiskDataTest)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 73, in test_roundtrip_test_data self.assertDatasetAllClose(expected, actual) File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 600, in roundtrip yield ds File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 273, in create_tmp_file os.remove(path) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\users\breisfel\appdata\local\temp\tmpibvyaw.nc'

====================================================================== ERROR: test_write_store (xray.test.test_backends.ScipyOnDiskDataTest)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 68, in test_write_store self.assertDatasetAllClose(expected, actual) File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 588, in create_store yield backends.ScipyDataStore(tmp_file, mode='w') File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 273, in create_tmp_file os.remove(path) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\users\breisfel\appdata\local\temp\tmpyy61n0.nc'

====================================================================== ERROR: test_zero_dimensional_variable (xray.test.test_backends.ScipyOnDiskDataTest)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 59, in test_zero_dimensional_variable self.assertDatasetAllClose(expected, actual) File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 600, in roundtrip yield ds File "C:\Python27\Anaconda\lib\contextlib.py", line 24, in exit self.gen.next() File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 273, in create_tmp_file os.remove(path) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\users\breisfel\appdata\local\temp\tmpfqemcm.nc'

====================================================================== FAIL: test_coords (xray.test.test_dataarray.TestDataArray)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_dataarray.py", line 408, in test_coords self.assertEquals(expected, actual) AssertionError: 'Coordinates:\n * x (x) int64 -1 -2\n * y (y) int64 0 1 2' != 'Coordinates:\n * x (x) int32 -1 -2\n * y (y) int32 0 1 2'

====================================================================== FAIL: test_repr (xray.test.test_dataarray.TestDataArray)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_dataarray.py", line 34, in test_repr self.assertEqual(expected, repr(data_array)) AssertionError: "<xray.DataArray 'my_variable' (time: 2, x: 3)>\narray([[1, 2, 3],\n [4, 5, 6]])\nCoordinates:\n other int64 0\n * time (time) int64 0 1\n * x (x) int64 0 1 2\nAttributes:\n foo: bar" != "<xray.DataArray 'my_variable' (time: 2, x: 3)>\narray([[1, 2, 3],\n [4, 5, 6]])\nCoordinates:\n other int32 0\n * time (time) int64 0 1\n * x (x) int64 0 1 2\nAttributes:\n foo: bar"

====================================================================== FAIL: test_coords_properties (xray.test.test_dataset.TestDataset)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_dataset.py", line 335, in test_coords_properties self.assertEqual(expected, actual) AssertionError: 'Coordinates:\n * x (x) int64 -1 -2\n * y (y) int64 0 1 2\n a (x) int64 4 5\n b int64 -10' != 'Coordinates:\n * x (x) int32 -1 -2\n * y (y) int32 0 1 2\n a (x) int32 4 5\n b int32 -10'

====================================================================== FAIL: test_to_and_from_dataframe (xray.test.test_dataset.TestDataset)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_dataset.py", line 1369, in test_to_and_from_dataframe assert expected.equals(actual), (expected, actual) AssertionError: ( a x y
0 1 bar, a x y
0 1 bar)

====================================================================== FAIL: test_converted_types (xray.test.test_variable.TestAsCompatibleData)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_variable.py", line 813, in test_converted_types self.assertEqual(np.dtype(int), actual.dtype) AssertionError: dtype('int32') != dtype('int64')

====================================================================== FAIL: test_count (xray.test.test_variable.TestVariable)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_variable.py", line 758, in test_count self.assertEqual(actual.dtype, 'int64') AssertionError: dtype('int32') != 'int64'


Ran 368 tests in 5.705s

FAILED (SKIP=76, errors=11, failures=6)

```

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/360/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 1 row from issues_id in issues_labels
  • 6 rows from issue in issue_comments
Powered by Datasette · Queries took 80.451ms · About: xarray-datasette