home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where issue = 59799656 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 2

  • shoyer 4
  • breisfeld 2

author_association 2

  • MEMBER 4
  • NONE 2

issue 1

  • test failures on Windows 7 OS · 6 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
82511264 https://github.com/pydata/xarray/issues/360#issuecomment-82511264 https://api.github.com/repos/pydata/xarray/issues/360 MDEyOklzc3VlQ29tbWVudDgyNTExMjY0 shoyer 1217238 2015-03-17T18:28:12Z 2015-03-17T18:28:12Z MEMBER

I added integration testing with Appveyor on Windows and was able to fix the last few failing tests. So everything should be working now on master and will be checked automatically with every future change.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  test failures on Windows 7 OS 59799656
77960519 https://github.com/pydata/xarray/issues/360#issuecomment-77960519 https://api.github.com/repos/pydata/xarray/issues/360 MDEyOklzc3VlQ29tbWVudDc3OTYwNTE5 breisfeld 192900 2015-03-09T22:43:29Z 2015-03-09T22:43:29Z NONE

Thank you for working to resolve these issues.

It is looking much better.

``` 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.dev'

$ nosetests xray .............D:\Python27\Anaconda\lib\site-packages\xray\core\utils.py:54: FutureWarning: numpy equal will not check obj ect 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() .....SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.................................SSSSSSSSSSSSSSSS...S.SS.SSSSS.....SS S..................................S............................S....................................................... ........S..............................................F....................................................F........... ...................... ====================================================================== FAIL: test_converted_types (xray.test.test_variable.TestAsCompatibleData)


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

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


Traceback (most recent call last): File "D:\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 395 tests in 4.786s

FAILED (SKIP=76, failures=2)

```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  test failures on Windows 7 OS 59799656
77948118 https://github.com/pydata/xarray/issues/360#issuecomment-77948118 https://api.github.com/repos/pydata/xarray/issues/360 MDEyOklzc3VlQ29tbWVudDc3OTQ4MTE4 shoyer 1217238 2015-03-09T21:34:59Z 2015-03-09T21:34:59Z MEMBER

OK, I think everything should be working on master now. For what it's worth, these were mostly testing issues -- I didn't turn up any Windows specific bugs, though there was https://github.com/xray/xray/issues/341 (related to using the scipy.io.netcdf backend).

@breisfeld any chance you'd be up for testing this out again? pip install https://github.com/xray/xray/archive/master.zip should do it.

I can also try to get appveyor setup to run continuous testing on Windows.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  test failures on Windows 7 OS 59799656
77626116 https://github.com/pydata/xarray/issues/360#issuecomment-77626116 https://api.github.com/repos/pydata/xarray/issues/360 MDEyOklzc3VlQ29tbWVudDc3NjI2MTE2 shoyer 1217238 2015-03-06T20:05:26Z 2015-03-06T20:05:26Z MEMBER

I think I should be able to fix most of these pretty straightforwardly. Most of the OS errors are because we aren't closing files that we really should close.

Here's one question that I'm not quite sure about, though -- if open_dataset fails for some reason after opening a file should it ensure that any files it opened are closed? I suppose the answer is probably yes. This will be a difficult to test, though (at least on Unix machines).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  test failures on Windows 7 OS 59799656
77234081 https://github.com/pydata/xarray/issues/360#issuecomment-77234081 https://api.github.com/repos/pydata/xarray/issues/360 MDEyOklzc3VlQ29tbWVudDc3MjM0MDgx breisfeld 192900 2015-03-04T19:59:05Z 2015-03-04T19:59:05Z NONE

Thank you for the prompt response.

Here is the test output after installing netcdf4 via conda:

`` ...........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() ...E.....E..EE.................EE.S................SS.SSSS.SSSSSSES.....S.............................................F...................S...................F....S......................F........................................S.............F............................F....................................................F................................. ====================================================================== ERROR: test_write_store (xray.test.test_backends.NetCDF3ViaNetCDF4DataTest)


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 609, in create_store format='NETCDF3_CLASSIC') 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\tmpcrovke.nc'

====================================================================== ERROR: test_dump_and_open_encodings (xray.test.test_backends.NetCDF4DataTest)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 539, in test_dump_and_open_encodings self.assertArrayEqual(ds.variables['time'], np.arange(10) + 4) 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\tmpb6uvr4.nc'

====================================================================== ERROR: test_open_encodings (xray.test.test_backends.NetCDF4DataTest)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 518, in test_open_encodings self.assertDictEqual(actual_encoding, expected['time'].encoding) 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\tmpw6k3xg.nc'

====================================================================== ERROR: test_open_group (xray.test.test_backends.NetCDF4DataTest)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 336, in test_open_group open_dataset(tmp_file, group='bar') 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\tmpokud5r.nc'

====================================================================== ERROR: test_write_groups (xray.test.test_backends.NetCDF4DataTest)


Traceback (most recent call last): File "C:\Python27\Anaconda\lib\site-packages\xray\test\test_backends.py", line 368, in test_write_groups self.assertDatasetIdentical(data2, actual2) 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\tmpmk9aat.nc'

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


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 281, in create_store yield backends.NetCDF4DataStore(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\tmpioapvh.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\tmpspbwg3.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 7.074s

FAILED (SKIP=18, errors=7, failures=6)

```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  test failures on Windows 7 OS 59799656
77217514 https://github.com/pydata/xarray/issues/360#issuecomment-77217514 https://api.github.com/repos/pydata/xarray/issues/360 MDEyOklzc3VlQ29tbWVudDc3MjE3NTE0 shoyer 1217238 2015-03-04T18:37:41Z 2015-03-04T18:37:41Z MEMBER

Thanks for the report! As you can probably tell, we have not tried xray on windows before.

I notice at least two issues: - os.remove failures -- might be related to https://github.com/xray/xray/issues/341 - int32 vs int64 discrepancies -- this we can definitely fix (it's because numpy on windows uses int as an alias for int32, unlike every other platform)

Can you try installing netCDF4-python (conda install netcdf4) and let me know if you get new or different errors?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  test failures on Windows 7 OS 59799656

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
    ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
    ON [issue_comments] ([user]);
Powered by Datasette · Queries took 12.803ms · About: xarray-datasette