-
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
blosc_extension.error: Error -1 while compressing data (Issue probably coming from Shuffle filter) #62
Comments
I can not reproduce this error. My machine details are as follows:
@Basjo what are your machine details and how did you install python-blosc? |
@esc I used
|
Hmm, I am not able to reproduce this in Mac OSX, Linux or even Windows (using Python 3.3 64bit). I aways get something similar to:
Here are my details:
I would say there should be something wrong in the 2.7 build for Win. |
@FrancescAlted can you test the the pre-built binaries? I tried accessing the page, but it seems down right now. |
Checked with Python 2.7 and MinGW (installed via Anaconda):
Everything seems fine here too. |
Hi @FrancescAlted, could you send me your latest installer for that ? Then I could try with your latest version, maybe it would solve it. Important info : I tried it with Python 2.7 32bits, and it works : no error. However the test.py works fine even with Python 2.7 64bits :
|
Hi @Basjo, I tried the binaries at http://www.lfd.uci.edu/~gohlke/pythonlibs/#blosc, and I can reproduce your error (however, using other compressors instide Blosc like blosclz, snappy and zlib work perfectly fine). Sorry, but I cannot compile Blosc for Python 2.7 because I only have Visual Studio 2010/2012, and for this I would need 2008. But for Python 3.3 64-bit and VS2010 everything is fine here, so I think the best would be to report this ticket to Christoph Gohlke. |
Hi @FrancescAlted Yes it's the same for me : the error is only for lz4. When using blosclz, snappy, or zlib, no error. What is the internal By the way, when you try with |
-1 is the error that blosc returns in case anything went wrong. This can happen in a multiple of error conditions, not enough space, buffer overrun and others. You need to grep for |
Yes, I discovered what I think was the root of the problem (incidentally, this affected to BLZ too: ContinuumIO/blz#5). The fix was basically this one: Closing this. @Basjo in case you are still getting the error on Win, please reopen this ticket. |
Thanks @FrancescAlted, problem solved ! |
When using this code (with blosc-1.2.1.win-amd64-py2.7.exe, Python 2.7 64bits, Windows 7 x64) :
then we have this crash :
(Please download the
blah.bin
file here : https://dl.dropboxusercontent.com/u/83031018/blah.bin)Important note : When
shuffle = False
, there is no more error. So the issue probably comes from "Shuffle".The text was updated successfully, but these errors were encountered: