telegram.ext.dispatcher - ERROR - No error handlers are registered, logging exception. Traceback (most recent call last)
See original GitHub issueHi, I just install the Telegram Bot on my Debian 10 VPS with Python 3.9.4 but I get this error:
2021-04-26 23:55:14,370 - telegram.ext.dispatcher - ERROR - No error handlers are registered, logging exception.
Traceback (most recent call last):
File "/home/me/environments/binance39/lib/python3.9/site-packages/telegram/ext/dispatcher.py", line 442, in process_update
handler.handle_update(update, self, check, context)
File "/home/me/environments/binance39/lib/python3.9/site-packages/telegram/ext/conversationhandler.py", line 549, in handle_update
new_state = handler.handle_update(update, dispatcher, check_result, context)
File "/home/me/environments/binance39/lib/python3.9/site-packages/telegram/ext/handler.py", line 160, in handle_update
return self.callback(update, context)
File "/home/me/BTB-manager-telegram/btb_manager_telegram/handlers.py", line 251, in start
update.message.reply_text(
File "/home/me/environments/binance39/lib/python3.9/site-packages/telegram/message.py", line 689, in reply_text
return self.bot.send_message(
File "/home/me/environments/binance39/lib/python3.9/site-packages/telegram/bot.py", line 127, in decorator
result = func(*args, **kwargs)
File "/home/me/environments/binance39/lib/python3.9/site-packages/telegram/bot.py", line 475, in send_message
return self._message( # type: ignore[return-value]
File "/home/me/environments/binance39/lib/python3.9/site-packages/telegram/bot.py", line 296, in _message
result = self._post(endpoint, data, timeout=timeout, api_kwargs=api_kwargs)
File "/home/me/environments/binance39/lib/python3.9/site-packages/telegram/bot.py", line 259, in _post
return self.request.post(
File "/home/me/environments/binance39/lib/python3.9/site-packages/telegram/utils/request.py", line 349, in post
result = self._request_wrapper(
File "/home/me/environments/binance39/lib/python3.9/site-packages/telegram/utils/request.py", line 272, in _request_wrapper
raise BadRequest(message)
telegram.error.BadRequest: Can't parse entities: can't find end of bold entity at byte offset 9
I have also tried with Python 3.7 (which is the default in Debian 10) without chance. What I do wrong? Thanks for any advice. Dav
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
No error handlers are registeres, logging exception #5 - GitHub
However, I'm getting the following error: No error handlers are registered, logging exception. Traceback (most recent call last): File "/Library ...
Read more >Error: No error handlers are registered, logging exception
The exception just tells you that within the ws_bot_web_scraping.print_CME_targetFedRate(context) call, the line context.bot.
Read more >telegram.ext.Dispatcher
The errors handled within these handlers won't show up in the logger, so you need to make sure that you reraise the error....
Read more >telegram.ext.Dispatcher - Python Telegram Bot's documentation!
Registers an error handler in the Dispatcher. Parameters: callback ( callable ) – A function that takes Bot, Update ...
Read more >Discussion on: Building An E-commerce Telegram Bot Using ...
2021-07-15 14:01:44,494 - telegram.ext.dispatcher - ERROR - No error handlers are registered, logging exception. Traceback (most recent call ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
right, my display name started with an underscore. Thx
@d4kr Could you please provide your Telegram display name (not username)? Does it contain any
-,*or other special characters?