-
Notifications
You must be signed in to change notification settings - Fork 23
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
Error handling old datetimes (ADA_LOVELACE_BIRTHDAY) #115
Comments
Modifying this default minimum datetime to the lowest possible timestamp value |
That's too bad, using Is it generically the case that |
I'm getting different behaviors on different environments. On Edit: added patch number to versions, fyi |
Interesting. I guess our options are:
(2) would be unsatisfying but if no one finds time for (1) in the near future it’s fair to consider it. |
@ronpandolfi I haven't had time to circle back to this yet. Do you have time to submit a PR? To put in writing what we agreed on the call, I'm fine with (2) for expedience but we should open a GitHub issue to track down the underlying problem. I suspect we are misusing an API. If times-before-1970 actually broke between Python releases I am sure it would be a Big Deal. I had hoped to get to this myself, but it's not going to happen this week. |
I have just seen this error for the first time use python 3.9.5, trying to run on Windows 10. I am unable to start bluesky-widgets-demo because of it. I tried changing the default date to a time after the unix epoch so that it wasn't negative:
But then I get another error and still can't start the application:
Is this a red herring? I am not really sure where to look the error message doesn't tell me much that I understand. @ronpandolfi in the original error report you mention that you only see this cause a crash in certain debugging modes. How do I find out what mode I am in? |
I'm receiving the following error. Qt is able to recover from this normally, however (as a side effect) this causes a hard crash in certain debugging modes.
I've confirmed that datetime.utcoffset() is failing because timestamp is a negative value. Is
ADA_LOVELACE_BIRTHDAY
too far back? Here is a glimpse at the contents of thedatetime
var:@ihumphrey
The text was updated successfully, but these errors were encountered: