-
Notifications
You must be signed in to change notification settings - Fork 17
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
Usage example not working on AWS Python 3.6 #249
Comments
@XerTheSquirrel This line:
Appears to be referencing AWS Lambda's own bootstrap system. There is no |
Closing as unable to reproduce. |
I'm also having this problem with my application. It was running stable on production for almost a year and suddenly, in a new deploy, it started to throw this error. |
I am seeing the issue as well. |
@pramodsetlur, @mateusfccp Any details to help reproduce? Are you both getting the same traceback? Is this with Serverless or something else? |
@pramodsetlur, @mateusfccp Is the |
@kolanos Apologies; I am not using iopipie; My error is more related just to Lambda. I am deploying with serverless. It runs successfully with 3.7 on local and crashes with the same error |
@pramodsetlur I traced the |
@pramodsetlur If you're willing to give IOpipe another try, we have a new layers plugin for Serverless that doesn't require a code change: |
@kolanos I only commented on this issue because i was seeing the particular error in _base.py. Was never using iopipie. But appreciate the responses. |
The fix for this is to change either
|
Going to add this to a troubleshooting section in the README. |
Description
Following the README, the minimalist sample does not seem to work at all on Python 3.6. The README does say "This package supports Python 2.7 and 3.6, the runtimes supported by AWS Lambda.".
Steps to reproduce the issue:
index.py
index.lambda_handler
Describe the results you received:
Describe the results you expected:
Expected the lambda to pass.
Additional information you deem important (e.g. issue happens only occasionally):
Switching to Python 2.7 works.
The text was updated successfully, but these errors were encountered: