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

something's wrong with multiple consecutive size/1 calls #2

Closed
kagux opened this issue Aug 12, 2016 · 5 comments
Closed

something's wrong with multiple consecutive size/1 calls #2

kagux opened this issue Aug 12, 2016 · 5 comments

Comments

@kagux
Copy link
Contributor

kagux commented Aug 12, 2016

hey,

first of all, thanks a lot for your work on this library!
I wanted to use it to get dimensions for multiple images and noticed that results get mixed up. As in I request sizes for images [...., A, ... B, .... ] consecutively and often image B size is in fact coming from image A. with delay added between calls less images get affected until it's big enough to disappear completely.
do you have any ideas why this could be happening?

@stephenmoloney
Copy link
Owner

Hi, can you send me the code sample so I can track it down?

It's probably something to do with the stream_chunks_url function

@stephenmoloney
Copy link
Owner

stephenmoloney commented Aug 12, 2016

I've tried to reproduce this error you are getting by adding more tests to the test file.
See here.

It doesn't give any errors.

Is there any way you can gist a sample of where this error arises?

Thanks

@kagux
Copy link
Contributor Author

kagux commented Aug 12, 2016

I'm gonna try to come with a test to reproduce it

@stephenmoloney
Copy link
Owner

Please try with latest version too, thanks!

@kagux
Copy link
Contributor Author

kagux commented Aug 12, 2016

@stephenmoloney, I just did and the issue is gone. Thank you so much!!

@kagux kagux closed this as completed Aug 12, 2016
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