-
Notifications
You must be signed in to change notification settings - Fork 73
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
v1.4.3 gives error: Error -1 while decompressing data
#115
Comments
Hmm, I have tested decompress_ptr() quite extensively before releasing 1.4.3. Could you please post a minimal example reproducing the problem? |
@FrancescAlted we just received the same issue on our builds: pandas-dev/pandas#14143 this works on macosx, failing on linux though. |
@FrancescAlted ahh I see @solarix888 reported this from pandas ok, let me see if i can repro |
hmm, I cannot repro this locally (on a 64-bit linux vm). maybe some conflict with some other libs on linux? (tried 3.5, now trying 2.7) |
Hmm, my specific use case is that I save a pandas DataFrame to msgpack using the pd.to_msgpack() method, compressed using blosc. Then I read it back later. In this case, the compressed DataFrame was compressed with the previous version python-blosc, and then version update, I wasn't able to decompress. |
so this appears to be a compress-decompress ONLY on 2.7/linux. In this example we are using latin-1 encoding (but not sure if that matters) The data is coming from a file that we created I don't know the exact version of blosc that was used originally, maybe https://github.com/kawochen remembers (this was checked in 7 months ago) And working on 1.4.1 just fine. lmk if any other data can provide |
Yep, I can reproduce that. There is a fix in: Blosc/c-blosc@07d4bb0. I'll try to release new versions of C-Blosc and Python-Blosc as soon as possible, |
I have released new versions of C-Blosc (1.11.1) and Python-Blosc (1.4.4). Please give them a test. |
thanks @FrancescAlted looks great! |
I had a very similar issue with version 1.5.1, getting an exit code -1073741819 while decompressing data generated with pandas msgpack function. Upgrading to blosc 1.6.1 on the environment doing the decompression fixed the issue. The compression is still performed with blosc 1.5.1. |
specifically in
blosc.toplevel
,decompress_ptr()
returns with error. This is called from Pandas v.0.18.1pd.read_msgpack()
The text was updated successfully, but these errors were encountered: