Comments (12)
The code that crashed is only in the emulator, not the actual board (I wrote it, I’m pretty sure) so I think it would need to be a different error
from mlb-led-scoreboard.
Do you know which team’s news feed lead to the headline appearing?
from mlb-led-scoreboard.
I'm finding a play button
from mlb-led-scoreboard.
I'm also seeing the play buttons on the cubs feed though. I'm testing the feed on my board now and haven't experienced a crash yet
from mlb-led-scoreboard.
Not seeing a crash on board. Just saw the Game Story article and it ended with a play icon and then a ? symbol (like it didn't understand the character)
from mlb-led-scoreboard.
from mlb-led-scoreboard.
@ty-porter how do I find the emulator version?
from mlb-led-scoreboard.
I am pretty new to programming, so I am not sure if this is the best way to fix the issue, but I did resolve it by removing emojis from headlines.
I did so by adding the following to the scrollingtext.py in the renderers folder:
from cleantext import clean
And then at line 28:
clean_text = clean(text,normalize_whitespace=False, no_emoji=True, lower=False)
from mlb-led-scoreboard.
@WardBrian it was the Braves headlines that were causing the issue. It was the same thing that @swemoney described with the Astro's: it had the play emoji ("
from mlb-led-scoreboard.
@ty-porter how do I find the emulator version?
python3 -m pip show RGBMatrixEmulator
from mlb-led-scoreboard.
I can reproduce this in emulator v0.8.3
Steps to trigger the bug:
- Character not in font
- Missing character is the first character in the string
- Text origin is < 0 (off matrix to the left)
For this specific trigger that would mean the string needs an emoji as the first character of a string that's large enough to scroll. The error will happen when the scrolling goes offscreen
I will fix this upstream in RGBME, however the fix there will be to gracefully handle 0 width characters. Missing characters will still show a (?)
icon. If that's something we want to fix as well, we would need work in this project.
from mlb-led-scoreboard.
Resolved in #465.
from mlb-led-scoreboard.
Related Issues (20)
- 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
- Turning off scrolling text HOT 4
- Option to display team record on game screen HOT 2
- Trouble starting up when plugged in HOT 7
- Top Half of screen is green HOT 2
- Verify software compatibility with Raspberry Pi 5 HOT 1
- Error when installing HOT 3
- Create Image HOT 1
- Just set up the hardware and I have an issue starting the software HOT 6
- no module stats API HOT 6
- PIL failed to load HOT 1
- Update installer to disable soundcard HOT 3
- new install on Bookworm, No module named 'statsapi', then No module named 'rgbmatrix' HOT 2
- Error Message when trying to start the scoreboard HOT 6
- Button to turn on/off scoreboard HOT 2
- No matching distribution found for Pillow>=10.0.1 HOT 4
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.