-
Notifications
You must be signed in to change notification settings - Fork 946
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
AttributeError raised by DatetimePicker #3500
Comments
@huyuhuster The issue you linked describes a proposed solution. Do you have the opportunity to verify if that works? And if it does, would you be interested in making a PR with it? :) |
@vidartf I will try that later. If it work, I will make a PR with it. |
@huyuhuster Actually, I'm not able to reproduce this, and we do have a unit test that covers this case: ipywidgets/python/ipywidgets/ipywidgets/widgets/tests/test_widget_datetime.py Lines 28 to 34 in 90e6be0
I've tested this with the version of Python indicated by the error report (py 3.8), and it doesn't seem to trigger for me. I've tried some older versions of |
Ah, I see why the test didn't check it: the trait's |
ipywidgets/python/ipywidgets/ipywidgets/widgets/widget_datetime.py
Line 56 in 84abba0
This line will raise an error AttributeError when I clear the picked datetime. As described in:
vidartf/ipydatetime#8
The text was updated successfully, but these errors were encountered: