Comments (5)
Need a little more info here, as I see it from main.py
it would currently never switch to the next day's games, as we never update the day/month/year values passed to mlbgame.games
from mlb-led-scoreboard.
I've run into this issue as well. I don't know that it's necessarily try to switch the next day but rather rotate back to the first game. Here's the stack trace that I got.
Traceback (most recent call last):
File "main.py", line 44, in
GameRenderer(matrix, canvas, games[0], config).render()
File "/home/pi/mlb-led-scoreboard/renderers/games.py", line 64, in render
self.__refresh_game(game, overview.status)
File "/home/pi/mlb-led-scoreboard/renderers/games.py", line 97, in __refresh_game
scoreboard = Scoreboard(game)
File "/home/pi/mlb-led-scoreboard/data/scoreboard.py", line 16, in init
self.game_data = self.__current_game_data(game)
File "/home/pi/mlb-led-scoreboard/data/scoreboard.py", line 27, in __current_game_data
game_data['inning'] = self.__current_inning(game_id)
File "/home/pi/mlb-led-scoreboard/data/scoreboard.py", line 44, in __current_inning
inning_status['at_bat'] = self.__current_at_bat(at_bats[-1])
IndexError: list index out of range
I did some digging(I'm a beginner when it comes to python), and it looks like it may have something to do with the MLBAPI itself.
from mlb-led-scoreboard.
Give the latest a checkout and see if you're still having issues. A lot of work has been done on the data objects.
from mlb-led-scoreboard.
Awesome. That seems to have fixed the issue I was having.
from mlb-led-scoreboard.
I'm gonna say this issue is fixed by fa191b7 and close it, anybody can reopen if they see this again.
from mlb-led-scoreboard.
Related Issues (20)
- Awkward letter spacing HOT 8
- Only Showing Astros/Mariners Game 2 Final while game 3 is live HOT 8
- Only weather is being displayed no matter if games are live. HOT 6
- Does this work for Radxa Zero board? HOT 1
- Worked one day, then next day errors on launch HOT 6
- Automatically update custom configurations on install
- WBC teams added for the Baseball Classic? HOT 4
- Testing: Verify all existing coordinate examples are valid
- Start the Scoreboard on Autostart does't work HOT 10
- [Feature Request] Add time delay to scoreboard update to account for streaming tv delay
- Add Pitch Count Clock HOT 4
- I created a new w64h32.json and re ran install.sh but is still splitting into two 32 by 32 screens. HOT 3
- If emoji is present in News Article Title, then python script crashes due to a ZeroDivisionError HOT 12
- Scoreboard >= v6.3.0 causes games to get "stuck" without rotating HOT 10
- Add result of previous play to game screen
- Add support for 96 x 48 matrix HOT 1
- Issue when trying to set Dbacks as preferred team HOT 9
- Delayed game still showed start time HOT 1
- Units of measurement not working HOT 2
- Scoreboard not starting with one team config and offday HOT 2
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 mlb-led-scoreboard.