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

A promise with deactivated error handling raised an error. #6

Open
dcorreavi opened this issue Jan 18, 2021 · 7 comments
Open

A promise with deactivated error handling raised an error. #6

dcorreavi opened this issue Jan 18, 2021 · 7 comments

Comments

@dcorreavi
Copy link

Hi again! I shared the bot with a friend and now I'm getting the error above when I try to use the /bop function.

@dzakyputra
Copy link
Owner

Hi, can you provide the error details and pictures

@dcorreavi
Copy link
Author

image

@dzakyputra
Copy link
Owner

Hhhhmm I couldn't recreate the error

I ran it on my computer and it works, it only shows the warning for run_async

Is this only one-time error or does it keep happening?

Make sure you are using the latest version of https://github.com/python-telegram-bot/python-telegram-bot

@dcorreavi
Copy link
Author

dcorreavi commented Jan 18, 2021

It's happened a couple of times now. I fixed it by rebooting the local server.
How could I ensure I'm using the latest version of python-telegram-bot?
I ran this command on my virtualenv $ pip3 install python-telegram-bot
I could try to install it again, but I'm not sure that would work. Sorry, I'm not a developer :)

@dzakyputra
Copy link
Owner

You could reinstall the python-telegram-bot library

I assume there is something wrong with the virtual environment, unsupported library, or something, but I am not really sure

You can make sure by running the script on a different machine or computer and see if the error is still there

@ghost
Copy link

ghost commented May 8, 2021

I got the same error!

@ghost
Copy link

ghost commented May 8, 2021

I have latest version of python-telegram-bot

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