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

Incorrect buffer type leads to MethodError on Base.alloc_request #1186

Open
mrufsvold opened this issue Aug 5, 2024 · 0 comments
Open

Incorrect buffer type leads to MethodError on Base.alloc_request #1186

mrufsvold opened this issue Aug 5, 2024 · 0 comments

Comments

@mrufsvold
Copy link

PR #1148 changed the way requests ensure sufficient space is allocated in the IOBuffer, so readbytes! now calls Base.alloc_request. However, Base.alloc_request strictly requires IOBuffer while this readbytes! method uses a Base.GenericIOBuffer.

This leads to a MethodError in CloudStore.jl (see this issue).

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

1 participant