-
Notifications
You must be signed in to change notification settings - Fork 86
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
OSError with Plotext Event Plot on Windows10 #189
Comments
TL;dr the problem seems to be related to passing a negative posix timestamp to Windows _date module, which creates an OSError in Python311/Lib/datetime.py, line 1787. Passing the absolute value of time0 fixes the error. However, I am unsure how to check if times are still accurate? May require a different timekeeping mechanism for Windows. |
See #7 and piccolomo/plotext#189 -- this seems to be an issue somewhere between Plotext itself and Python on Windows; while we could dive into this and try and solve it, for the purposes of a quick demo it makes more sense to remove the problematic plot for now.
Just to update and apologise: I have been quite busy rewriting the package from ground up and will update. |
Thanks for update! It's gotten quite popular with textual-plotext , I have a number of apps depending on it hope you can keep as much non breaking as possible :) thank you 4 ur hard work and amazing library ! |
Following plotext's example for Event Plot code throws OSError in Windows10, in both terminal and script mode.
See also
Textualize/textual-plotext#7
The text was updated successfully, but these errors were encountered: