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
DateEmptyError raised in _update_loop #3974
Comments
Can you reliably trigger this error? If the answer is yes and you add a Telethon/telethon/_updates/messagebox.py Lines 534 to 547 in 2c85ffe
What does it show? |
traceback:
|
It is strange but the date is indeed 0. It should have been initialized when you logged in but for some reason it was not. If you |
The library could pretend there was no gap when attempting to get difference and the |
No, its not |
I cannot reproduce this issue myself. Please install master with:
and configure import logging
logging.basicConfig(format='[%(levelname) 5s/%(asctime)s] %(name)s: %(message)s', level=logging.WARNING)
logging.getLogger('telethon.messagebox').setLevel(logging.NOTSET + 1) (You can configure it to your liking, but the This will print all updates being processed along with the current state of the This log will contain sensitive information, so only share it with people you trust (or redact it before sharing it). You can send it to me privately so that I and nobody else can analyze it (please link to this issue, so I know you're not spam). With it I'll be able to reproduce the issue reliably locally, pinpoint the problem, and fix it. |
Closing due to inactivity. |
Checklist
pip install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip
and triggered the bug in the latest version.Code that causes the issue
Traceback
Reporting the bug here as the traceback suggested to do.
The text was updated successfully, but these errors were encountered: