Skip to content
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

File "PyQtPiClock.py", line 64, in __timefromdecimalday return datetime.time(hour=h, minute=m, second=s) ValueError: hour must be in 0..23 #213

Closed
davidabevan opened this issue Mar 10, 2021 · 2 comments

Comments

@davidabevan
Copy link

Hello,
Thanks for your project.
I have just started on the Pi moving from arduino.
I have this error upon running and my LCD stops at hat point with a background and unfilled clockface.
I wonder if newer libraries have caused this or is it a silly newbie user error?
this is the error copied from ssh terminal.

Traceback (most recent call last):
File "PyQtPiClock.py", line 1375, in qtstart
sunset = sun.sunset(dt)
File "PyQtPiClock.py", line 54, in sunset
return suntimes.__timefromdecimalday(self.sunset_t)
File "PyQtPiClock.py", line 64, in __timefromdecimalday
return datetime.time(hour=h, minute=m, second=s)
ValueError: hour must be in 0..23
^Z
[1]+ Stopped sh startup.sh -n -s

Thanks.. I hope you can advise
Kind Regards
Dave B

PS I have treble checked my files as per instructions and tried a google etc before posting Its probably me...

@n0bel
Copy link
Owner

n0bel commented Apr 20, 2021

Is this still an issue? If so, could you provide your latitude?

@davidabevan
Copy link
Author

davidabevan commented Apr 20, 2021 via email

@n0bel n0bel closed this as completed Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants