Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

New Day Error #434

Open
pjockey opened this issue Nov 30, 2023 · 0 comments
Open

New Day Error #434

pjockey opened this issue Nov 30, 2023 · 0 comments

Comments

@pjockey
Copy link

pjockey commented Nov 30, 2023

Describe the bug
Left board running over and and on the New Day time change, the board shutdown.

Logs
2023-11-29 08:01:18 ERROR Weather board not enabled in config.json. Is enabled set to True?
2023-11-29 08:01:18 INFO PING !!! Render off day
2023-11-29 08:01:18 INFO Checking for new day
2023-11-29 08:01:18 INFO It is a new day, refreshing Data
2023-11-29 08:01:18 INFO refreshing daily data
2023-11-29 08:01:19 ERROR Failed to refresh the list of Series. 5 attempt remaining.
2023-11-29 08:01:19 ERROR Expecting value: line 1 column 1 (char 0)
2023-11-29 08:01:20 ERROR Failed to refresh the list of Series. 4 attempt remaining.
2023-11-29 08:01:20 ERROR Expecting value: line 1 column 1 (char 0)
2023-11-29 08:01:21 ERROR Failed to refresh the list of Series. 3 attempt remaining.
2023-11-29 08:01:21 ERROR Expecting value: line 1 column 1 (char 0)
2023-11-29 08:01:22 ERROR Failed to refresh the list of Series. 2 attempt remaining.
2023-11-29 08:01:22 ERROR Expecting value: line 1 column 1 (char 0)
2023-11-29 08:01:22 ERROR Failed to refresh the list of Series. 1 attempt remaining.
2023-11-29 08:01:22 ERROR Expecting value: line 1 column 1 (char 0)
2023-11-29 08:01:23 INFO Updating next season info
Traceback (most recent call last):
File "/home/pi/nhl-led-scoreboard/src/main.py", line 157, in
run()
File "/home/pi/nhl-led-scoreboard/src/main.py", line 152, in run
MainRenderer(matrix, data, sleepEvent).render()
File "/home/pi/nhl-led-scoreboard/src/renderer/main.py", line 73, in render
self.__render_offday()
File "/home/pi/nhl-led-scoreboard/src/renderer/main.py", line 87, in __render_offday
if self.data._is_new_day():
File "/home/pi/nhl-led-scoreboard/src/data/data.py", line 239, in _is_new_day
self.status.refresh_next_season()
File "/home/pi/nhl-led-scoreboard/src/data/status.py", line 79, in refresh_next_season
self.season_info = current_season_info()['seasons'][0]
File "/home/pi/nhl-led-scoreboard/src/nhl_api/init.py", line 30, in current_season_info
return nhl_api.info.current_season()
File "/home/pi/nhl-led-scoreboard/src/nhl_api/info.py", line 174, in current_season
data = nhl_api.data.get_current_season().json()
File "/usr/lib/python3/dist-packages/requests/models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Hardware you are using

  • Raspberry pi model 3B
  • The Matrix driver (Adafruit Bonnet or Adafruit HAT) Adafruit HAT
  • Anti-flicker mod or not? Yes

Software
version 1.7.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant