-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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 in jewish_calendar integration - Python Math ValueError thrown? #51641
Comments
jewish_calendar documentation |
@yuvalabou it's unrelated to the offset. |
I vaguely remember some of the Circadian lighting algorithms having similar
problems in the past with people in Northern Canada where everything was
tested on USA latitudes. But could not find it again.
I generate times and a local calendar for our community. For this I use a
mixture of the open-source hdate and other programmes. hdate in PiPi is
based on libhdate on sourceforge at
https://sourceforge.net/p/libhdate/wiki/Home/ I know this produces usable
shabbat etc. numbers for our latitude at 53 North.
Sorry, but I've not used astral knowingly before. *But see:*
*sffjunkie/astral#67
<sffjunkie/astral#67>* from 28th March 2021 -
same or similar problem.
Nick
…On Wed, 9 Jun 2021 at 08:15, Tsvi Mostovicz ***@***.***> wrote:
@yuvalabou <https://github.com/yuvalabou> it's unrelated to the offset.
It has to do with certain latitudes (too much north or south) that will
cause the calculations to reach extremities. We need to guard before
sending the calculations to astral.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#51641 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA6CDD7ZIVTTDZ2MFUO2D4TTR4IHNANCNFSM46KUADVA>
.
--
Nick Filer
15 Ravensway
Prestwich
Manchester M25 0EU
*Email*: ***@***.***
|
Also see: sffjunkie/astral#64
These are for extreme case of Polar situation so much further North
than my case.
Nick
…On Wed, 9 Jun 2021 at 08:15, Tsvi Mostovicz ***@***.***> wrote:
@yuvalabou it's unrelated to the offset.
It has to do with certain latitudes (too much north or south) that will cause the calculations to reach extremities. We need to guard before sending the calculations to astral.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
--
Nick Filer
15 Ravensway
Prestwich
Manchester M25 0EU
Email: ***@***.***
|
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Seems thave been resolved. Please close. Thanks |
The problem
For the integration author: Tsvi Mostovicz @tsvi
Also see: https://community.home-assistant.io/t/error-in-jewish-calendar-integration-python-math-valueerror-thrown/314289
At startup the "jewish_calendar" integration throws a Python Math ValueError exception many times but always in the same bit of code.
I'm running HA 2021.6.3 on a 4GB Raspberry PI4 using the standard integrated Home Assistant Operating System variant.
The error is logged as follows:
What is version of Home Assistant Core has the issue?
core-2021.6.3
What was the last working version of Home Assistant Core?
core-2021.6.3
What type of installation are you running?
Home Assistant OS
Integration causing the issue
jewish_calendar
Link to integration documentation on our website
https://www.home-assistant.io/integrations/jewish_calendar/
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: