Skip to content
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

clp-s missing support for empty json objects - exits with error on decompression #534

Open
AVMatthews opened this issue Sep 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@AVMatthews
Copy link
Contributor

Bug

If you try to compress and then extract an empty json object, clp-s issues the following errors.

2024-09-09T17:59:45.756-04:00 [error] FileWriter not closed before being destroyed - may cause data loss
2024-09-09T17:59:45.757-04:00 [error] src/clp_s/ZstdDecompressor.cpp:43  Error code: 1

CLP version

9537fde

Environment

macOS 12.5

Reproduction steps

To reproduce the error, try the following commands with the empty json file.
test-empty.json

./clp-s c test-archive test-empty.json
./clp-s x test-archive test-decompress
@AVMatthews AVMatthews added the bug Something isn't working label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant