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
NameError: name 'open' is not defined #1563
Comments
@revolter This seems to be a bug with python itself. Have you tried using a more recent python version? |
@revolter Also, when do you experience this issue? |
During shutdown. It also started happening after updating this library to the latest version. Will try with a new Python version and report back. |
With V12 we've replaced the underlying implementation of the Webhook Updater from being based on Python's stdlib http.server to Tornado based (the newer versions of tornado are using asyncio under the hood). As of your answer we understand you witness an issue with Python itself (https://bugs.python.org/issue26789 ). Also, it is not severe as it happens only during shutdown. Therfor, we'll be closing this issue now. |
Steps to reproduce
Expected behaviour
Tell us what should happen
Actual behaviour
I'm getting some errors related to asyncio and tornado in production. I didn't get them locally.
Configuration
Operating System:
Ubuntu 16.04.6 LTS
Version of Python, python-telegram-bot & dependencies:
Logs
The text was updated successfully, but these errors were encountered: