issue_comments: 605618860
This data as json
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/pydata/xarray/issues/3593#issuecomment-605618860 | https://api.github.com/repos/pydata/xarray/issues/3593 | 605618860 | MDEyOklzc3VlQ29tbWVudDYwNTYxODg2MA== | 14808389 | 2020-03-29T11:02:42Z | 2020-03-29T11:02:42Z | MEMBER | sorry for the late reply, @lukaskroe. Not sure why you can make it fail after the first move but I think the general issue happens because you didn't close the opened file:
```python
In [29]: path = "test.nc"
...: In [30]: path = "test.nc"
...: KeyError Traceback (most recent call last) ... KeyError: [<class 'netCDF4._netCDF4.Dataset'>, ('.../test.nc',), 'r', (('clobber', True), ('diskless', False), ('format', 'NETCDF4'), ('persist', False))] During handling of the above exception, another exception occurred: FileNotFoundError Traceback (most recent call last) ... FileNotFoundError: [Errno 2] No such file or directory: b'.../test.nc' ``` To be absolutely sure you close it use a context manager:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
532647948 |