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

download file error #76

Open
lt2000 opened this issue Aug 3, 2023 · 1 comment
Open

download file error #76

lt2000 opened this issue Aug 3, 2023 · 1 comment

Comments

@lt2000
Copy link

lt2000 commented Aug 3, 2023

I use 'pickle' to serialize the data to oss, but when I use aiooss2 to download and deserialize the data with 'pickle.loads()', the following error occurs:

_pickle.UnpicklingError: pickle data was truncated

But this will not happen if I use oss2.

The size of the file downloaded by aiooss2 is smaller than that of oss2.

I would appreciate it if you could help me with this problem.

@lt2000 lt2000 changed the title Lost newline character in downloaded file 'pickle.loads()' error Aug 3, 2023
@lt2000 lt2000 changed the title 'pickle.loads()' error download file error Aug 3, 2023
@karajan1001
Copy link
Owner

Could you please provide a short example of the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants