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
No timezone in key UTC #897
Comments
Thanks for the kind words! I'm glad you like exchangelib. Can you please post the full stack trace you get when you run the exe file? |
Here is the stack trace i get in process explorer when i run the exe ntoskrnl.exe!KeSynchronizeExecution+0x5b46 |
That's a problem coming from the Python from zoneinfo import ZoneInfo
utc = ZoneInfo('UTC') I have no idea what the problem could be, unfortunately. Maybe your Windows system is missing timezone information, or maybe Python doesn't have access to the timezone information when run as an exe. |
Actually, looking at e.g. https://realpython.com/python39-new-features/#accessing-time-zones it looks like the I haven't worked with packaging to exe before, so I don't know how to solve this problem. |
Understood. Thank you for pointing me in the right direction. I will let you know just in case i find out more. |
A workaround is discussed in https://stackoverflow.com/questions/67711882/exchangelib-and-pyinstaller-zoneinfo-tzdata-utc-issue |
First of all, Thank you for creating a very wonderful and useful package. I am very new to python and just discovering it's capabilities.
I am using program to send a simple email. program runs correctly using pycharm and i am able to receive it but when I convert it to EXE and run it, I am getting an error - No timezone found with key UTC. Any suggestions? I apologize in advance if this has been answered already but tried searching and i am unable to find the solution
The text was updated successfully, but these errors were encountered: