-
Notifications
You must be signed in to change notification settings - Fork 272
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
Trouble saving CSR matrix to S3 using scipy.sparse.save_npz #190
Comments
I bypass this error by adding the "ValueError" to the catch clause in zipfile.py.
Can we modify the exception raiding logic in seek() in core.py?
|
That certainly sounds reasonable to me. Good detective work! |
@martindurant Thanks for your reply, I'm actually not quite familiar with the IO section above there, could you provide some help on fixing this issue? |
I suppose you'd prefer
and then you don't have to edit zipfile |
Are you thinking about fixing it? I'm using s3fs to stream zip files into s3 and this is blocking. Any workaround in the meantime? |
I would love for someone to submit a PR |
I had exactly the same error today using both |
I believe the fix for zipfile is above. You could try it, and if it works, please do submit the change as a PR. Different code calling file functions may make different assumptions about the capabilities of the files. |
Did you mean the following line? I couldn't figure out which file you should put in...
|
Yes, that line, which would be in |
there you go, PR incoming fsspec/filesystem_spec#238 |
I'm running into an issue where I tried to save a CSR matrix to aws s3 using the testing codes below:
If this is a not current support function, could you provide any leads on good ways to achieve my goal?
Thanks.
Error trace:
The text was updated successfully, but these errors were encountered: