xopen.xopen(zst_file): results in OSError: b'/*stdin*\\ : Read error (39) : premature end \n' (exit code 1)
Hi, with xopen/2.0.1 and zstandard/0.22.0 I see the following *sometimes* when opening a .zst file
```
with xopen.xopen(file_path) as fp:
File "/usr/pkgs/python3/3.11.1/modules/r2/lib/python3.11/site-packages/xopen/__init__.py", line 352, in close
self._raise_if_error(check_allowed_code_and_message, stderr_message)
File "/usr/pkgs/python3/3.11.1/modules/r2/lib/python3.11/site-packages/xopen/__init__.py", line 413, in _raise_if_error
raise OSError(f"{stderr_message!r} (exit code {retcode})")
OSError: b'/*stdin*\\ : Read error (39) : premature end \n' (exit code 1)
```
Do you know how I can decrypt this? I modified the script's invocation to call xopen and piped in /dev/null as the stdin, which seems to bypass it.
关闭于 2024-06-20 3 条评论