-
Notifications
You must be signed in to change notification settings - Fork 16
Resizer might be broken #36
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
Comments
@Mo0rBy, Have you found any error while running the deployment script? |
@abidkhan484 I don't know where the error is exactly. So I looked at the test code and then realised with the screenshots above, the actual webapp page doesn't work in the way that it should. So like I said, don't know exactly where the issue is occurring, but I believe it's related to the actual deployment of the resources, not the test that needs updating. |
@Mo0rBy When running the ERROR: Could not find a version that satisfies the requirement Pillow==9.2.0 (from versions: 10.0.0, 10.0.1, 10.1.0, 10.2.0, 10.3.0, 10.4.0, 11.0.0, 11.1.0)
ERROR: No matching distribution found for Pillow==9.2.0 This issue causes the resize Lambda to malfunction, and any uploaded image does not generate a preview. Additionally, the tests fail. I was able to resolve the issue by upgrading the version of Fix: # ./lambdas/resize/requirements.txt
Pillow==10.0.0 After making this change, the resize Lambda worked as expected, image previews were generated correctly, and the tests passed successfully. I hope this helps resolve the issue. |
Hello,
I came across this when trying to test out LocalStack and what it can do.
I clone this repo and deployed the application using the
bin/deploy.sh
and it all looked good, I could access the website URL and it looked to be all good.I ran the tests and get the following output:
I double checked the website I was running + the video in this repo, and it looks like the resizing part actually doesn't work.
I noticed this as there was no resize number of bytes when attempting to resize an image in the UI.
Here is a screenshot of my hosted application:

And here it is from the video in this repo:

I'm not really sure if this is an actual error within the python resizing script or if there is something wrong with my setup (I don't know what would be, I just cloned the repo and ran the included deploy script).
The text was updated successfully, but these errors were encountered: