-
Notifications
You must be signed in to change notification settings - Fork 293
v4.2.0 breaks deployment in path containing spaces #242
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
I'll look into this now... @notEvil can you provide your current file path, OS, serverless.yml and requirements.txt for me incase I need it for further debugging. I did test this already but it must be combination of your setup, config, OS, something. Please give more info now and in the future when you log bugs. Thanks! |
I can reproduce with minimal setup path: $HOME/directorywith space/ serverless.yml:
requirements.txt:
yes it could be setup specific, but as everything works when fixing version to 4.1.1, I thought its not necessary |
@notEvil Give me a few minutes to finish some other work and I'll do some digging, I couldn't replicate it on my machines, but thanks... right off the bat I can tell you your requirements looks suspicious because it doesn't actually have any (usable) contents in it. Boto3 is skipped since it's auto-included on AWS Lambda. If you want to save me some effort, can you try putting something besides boto3 in there? Eg: pyyaml? And tell me if that works? However of course it shouldn't fail so fatally as it does. Thanks, and I'll get back to you shortly. |
I just looked at the differences between 4.1.1 and 4.2.0 and have a hunch. Maybe it has something to do with Adding pyyaml had no effect I will try to log debug this too when I have time |
Interesting. I've added a test that proves this: 837f063 |
Yeah, I found the bug also, I'm fixing it now. :) Thanks for the test! |
@notEvil Can you please try the following merge request (#244) see if this fixes your problem, from within your project... I confirm this fixes all tests, all options, etc, on Ubuntu and Mac when there's a space in the path. Thanks for the bug report, and sorry about this!
|
Hey @AndrewFarley requirements.txt
Here's the serverless log:
EDIT: |
@Nihilight Ah yeah, I can't win... that's a different issue, but related to this fix. Ugh... :P Can you get me more details on your setup? as much as you can from your serverless.yml, requirements.txt, your cwd, your OS, etc. Maybe open a new bug for me with those details and I'll see if I can replicate and fix it for you. |
Done. #245 |
@AndrewFarley it works, thanks a lot |
Hope its reproducible. The error message says
v4.1.1 works just fine
The text was updated successfully, but these errors were encountered: