Comments (6)
I cannot reproduce this.
I installed python3.11 and copied your test into this file: C:\tmp\x\issue_160.py
Then I ran it like this:
> C:\Python311\python.exe -m pip install tensorstore
> C:\Python311\python.exe issue_160.py
0.1.59
Test 1 passed!
Test 2 passed
Test 3 passed
Test 4 passed
> dir /A /S /B
C:\tmp\x\issue_160.py
C:\tmp\x\tmp_n5
C:\tmp\x\tmp_zarr
C:\tmp\x\tmp_n5\attributes.json
C:\tmp\x\tmp_zarr\.zarray
from tensorstore.
It also passes with tensorstore 0.1.60:
C:\tmp\x>C:\Python311\python.exe issue_160.py
0.1.60
Test 1 passed!
Test 2 passed
Test 3 passed
Test 4 passed
C:\tmp\x>dir /a /s /b
C:\tmp\x\issue_160.py
C:\tmp\x\tmp_n5
C:\tmp\x\tmp_zarr
C:\tmp\x\tmp_n5\attributes.json
C:\tmp\x\tmp_zarr\.zarray
from tensorstore.
Note: This spec will try to write at the root of wherever you are running. So in my case, running in C:\tmp\x
, the output will actually be created in C:\tmp_zarr_new
.
spec = {
'driver': 'zarr',
'kvstore': {
'driver': 'file',
'path': "/tmp_zarr_new",
}
}
from tensorstore.
I have the same problem writing from inside WSL 2 to a windows drive (/mnt/c/...).
Version: v0.1.64
Python: 3.10.12
ValueError: NOT_FOUND: Error opening "n5" driver: Error writing local file "/mnt/c/dataset/ml/attributes.json": [OS error 2: No such file or directory]
File is created on the drive. Opening it afterwards works. Writing to it again fails:
ValueError: NOT_FOUND: Error writing local file "/mnt/c/dataset/ml/0/1/1/0": [OS error 2: No such file or directory]
from tensorstore.
That appears to be a different problem, as wsl is actually running Linux against a particular network filesystem.
However it probably shouldn't fail.
It appears to be a failure when ::fstat()
is called on an open fd on the wsl network filesystem.
from tensorstore.
The ::fstat() issue may work if you build from source after 52c2dda
I can test on my WSL instance later.
edit: That appears insufficient to solve the problem.
from tensorstore.
Related Issues (20)
- consider looking in `/etc/pki/ca-trust/extracted` for CA certificates? HOT 3
- question about writing parallel and group handling HOT 39
- Slow random read performance HOT 8
- Segfault/Mutex Error HOT 13
- Does zarr_sharding_indexed exist? HOT 1
- Incorrect writes using int array indexing, affected by chunk layout HOT 1
- Zstd compression does not encode content size in header HOT 2
- Falied to acquire lock on file HOT 1
- Metric suggestions HOT 6
- Parallel write handling in Zarr HOT 1
- zarr3 shard user block / offset
- Windows: NotImplementedError: CopyRange not supported #1048 HOT 5
- Please allow compile-time evaluation of `DataType::id()` (constexpr), platform-independently HOT 1
- Support installation to enable reuse/packaging HOT 5
- Tensorstore C++ Integration: How to Avoid Driver Registry Conflict HOT 6
- Segmentation fault when using tensorstore with multiple workers in pytorch dataloader HOT 1
- Tensorstore key value store driver not Retrying on 429 Responses with S3 API HOT 7
- Read speeds decrease 2x when reading with fewer processes HOT 7
- Writing Neuroglancer Precomputed data with png compression not working correctly
- Build issues with latest version (73da2a2) HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorstore.