-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can not seek in input: Illegal seek #62
Comments
Can also be reproduced with:
|
Thanks for reporting. I am not yet well versed with the internals, @vasi can you shed some light on this? |
Pixz can decompress fine without an index. The only potential problems I can think of are:
We should probably turn this message into a warning? |
I guess, we could implement a switch that checks early if we are working with a stream or a plain file, then branch off to one section that handles streams and one that handles files. This way, we can capture what capabilities are possible and issue warnings/errors appropriately depending on what the user wants. |
This issue blocks pixz to be used as a dropin replacement for gzip (sort --compress-program=pixz / tar --use-compress-program pixz / parallel --compress-program pixz). |
any update on this ? |
EDIT: Found it, I had my |
When trying to use pixz with clonezilla to check image, the following command is executed:
Using stream show following stderr which is not really user friendly and might make thing to the user that the integrity of the file is not OK:
Seems this warning is provided by
decode_index
function, anyway there is no failure and pixz is correctly behaving even when the input file is stream. Is it possible to remove this warning information fromdecode_index
function?The text was updated successfully, but these errors were encountered: