Comments (11)
Not sure what to say, I'm running multiple boards (7 or 8) and various different OSes (raspbian buster , raspbian bullseye, Alpine, Diet Pi) with the tzlocal at 4.2 and apscheduler at V3.6.3 and also 3.9.1. I'm also running different versions of Python (3.7.3 to 3.10). If you have a spare card, I'd start with a fresh install of the OS and start the install of the boards again. I don't run anything other than the NHL board so I don't know if you are clobbering what the NHL installs or vice versa.
from nhl-led-scoreboard.
Totally different issue. So the other stuff with tzlocal and apscheduler are OK? To test, update your config to not use weather, weather alerts or weather forecast and see if it works. If it does, close this issue and open another one for the Environment Canada stuff. I'm seeing the same issue on some of my boards right now. Not sure if it's an EC datamart issue or something else.
from nhl-led-scoreboard.
I recall coming up against this last year while developing some new functionality. It seems there's an issue with apscheduler when the OS updates the tzlocal library or python 3.7. What does this give you:
pip3 show apscheduler
and
pip3 show tzlocal
from nhl-led-scoreboard.
pi@Scoreboard:~ $ pip3 show apscheduler
Name: APScheduler
Version: 3.7.0
Summary: In-process task scheduler with Cron-like capabilities
Home-page: https://github.com/agronholm/apscheduler
Author: Alex Grönholm
Author-email: [email protected]
License: MIT
Location: /usr/local/lib/python3.7/dist-packages
Requires: pytz, setuptools, six, tzlocal
Required-by:
pi@Scoreboard:~ $ pip3 show tzlocal
Name: tzlocal
Version: 4.2
Summary: tzinfo object for the local timezone
Home-page: UNKNOWN
Author: Lennart Regebro
Author-email: [email protected]
License: MIT
Location: /usr/local/lib/python3.7/dist-packages
Requires: backports.zoneinfo, pytz-deprecation-shim
Required-by: APScheduler
from nhl-led-scoreboard.
sudo apt upgrade
showed an update to tzlocal
from nhl-led-scoreboard.
I uninstalled and the reinstalled the tzlocal package using pip3 and received this"
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
apscheduler 3.7.0 requires tzlocal~=2.0, but you have tzlocal 4.2 which is incompatible.
from nhl-led-scoreboard.
Try updating apscheduler to the last V3.x version. Don't upgrade to the V4 beta as it will break everything.
sudo pip3 install apscheduler=3.9.1
The apscheduler V3.7.0 pins it's tzlocal requirements to V2 series, whereas the 3.5.3 version I am running and any version above the 3.7.0 will work with the tzlocal V4 series. I installed the apschedular V3.9.1 and it works with tzlocal V4.2
from nhl-led-scoreboard.
This little mess up has taken down all of my boards. Nothing shows on the matrix, on any of the boards.
pi@Scoreboard:~/mlb-led-scoreboard $ pip3 show tzlocal
Name: tzlocal
Version: 4.2
Summary: tzinfo object for the local timezone
Home-page: UNKNOWN
Author: Lennart Regebro
Author-email: [email protected]
License: MIT
Location: /home/pi/.local/lib/python3.7/site-packages
Requires: backports.zoneinfo, pytz-deprecation-shim
Required-by: APScheduler
pi@Scoreboard:~/mlb-led-scoreboard $ pip3 show apscheduler
Name: APScheduler
Version: 3.9.1
Summary: In-process task scheduler with Cron-like capabilities
Home-page: https://github.com/agronholm/apscheduler
Author: Alex Grönholm
Author-email: [email protected]
License: MIT
Location: /home/pi/.local/lib/python3.7/site-packages
Requires: pytz, setuptools, six, tzlocal
Required-by:
pi@Scoreboard:~/mlb-led-scoreboard $
from nhl-led-scoreboard.
This is the error I get now with the starting command:
pi@Scoreboard:~/nhl-led-scoreboard $ sudo python3 src/main.py --led-gpio-mapping=adafruit-hat-pwm --led-brightness=60 --led-slowdown-gpio=2 --led-cols=128 --led-rows=64 --led-rgb-sequence=BGR --led-row-addr-type=3
INFO: Validating config.json.....
INFO: config.json passes validation
22-10-04 17:28:00 INFO Scheduler started
22-10-04 17:28:00 DEBUG Looking for jobs to run
22-10-04 17:28:00 DEBUG No jobs; waiting until a job is added
22-10-04 17:28:00 DEBUG Starting new HTTPS connection (1): dd.weather.gc.ca:443
22-10-04 17:28:01 DEBUG https://dd.weather.gc.ca:443 "GET /citypage_weather/docs/site_list_en.csv HTTP/1.1" 200 32894
22-10-04 17:28:04 DEBUG Starting new HTTPS connection (1): dd.weather.gc.ca:443
Unable to connect to EC, try running again in a few minutes
pi@Scoreboard:~/nhl-led-scoreboard $
from nhl-led-scoreboard.
It appears another reboot seem to have fixed whatever was the problem.
from nhl-led-scoreboard.
There was an issue with the EC Data Mart. It was extremely slow hence the issue you were seeing. It does look like it's recovered now.
from nhl-led-scoreboard.
Related Issues (20)
- static team_summary pages
- Error during nhl_setup file Not Found I see the error on 64 bit system HOT 2
- Started scoreboard and see: "The 20212022 Season playoff has not started yet or is unavailable" HOT 7
- Error after nhl-setup when not simple setup HOT 11
- Board Restarts during Post Game SC Champions Check HOT 2
- Continual Reloading HOT 1
- Is there a way to just launch the clock? HOT 2
- Shot Clock HOT 1
- Unable to connect to EC HOT 8
- LED brightness control HOT 1
- LED matrix showing with light blue tint HOT 3
- Continual Reloading and Not getting all Information HOT 3
- Frequent Crashing HOT 6
- Board presents as off day when there's a game scheduled HOT 1
- Fresh install not working HOT 8
- Cannot get past loading screen HOT 4
- Current update v1.6.11 shows that v1.6.12 is available. HOT 1
- MQTT user/pass HOT 3
- live_mode when set to false should not need to call NHL API HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nhl-led-scoreboard.