Installed mlb-led-scoreboard first on a clean, lite install of bullseye. That scoreboard/app works fine. Installed the NBA scoreboard after following wiki, and getting the below error. Seems to be something to do with Pillow getting updated and removing getsize from what I can find via some google-ing?
Error: 'FreeTypeFont' object has no attribute 'getsize'
Traceback (most recent call last):
File "/home/necro/nba-led-scoreboard/renderer/main.py", line 59, in render
self.loading()
File "/home/necro/nba-led-scoreboard/renderer/main.py", line 142, in loading
loading_pos = center_text(self.font_mini.getsize('Loading')[0], 32)
AttributeError: 'FreeTypeFont' object has no attribute 'getsize'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/necro/nba-led-scoreboard/main.py", line 30, in
MainRenderer(matrix, data).render()
File "/home/necro/nba-led-scoreboard/renderer/main.py", line 66, in render
self.error_screen()
File "/home/necro/nba-led-scoreboard/renderer/main.py", line 163, in error_screen
self.display_nba_logo()
File "/home/necro/nba-led-scoreboard/renderer/main.py", line 35, in display_nba_logo
nba_logo = Image.open('logos/NBA.png').resize((22, 22), Image.ANTIALIAS)
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
Installed mlb-led-scoreboard first on a clean, lite install of bullseye. That scoreboard/app works fine. Installed the NBA scoreboard after following wiki, and getting the below error. Seems to be something to do with Pillow getting updated and removing getsize from what I can find via some google-ing?
Error: 'FreeTypeFont' object has no attribute 'getsize' Traceback (most recent call last): File "/home/necro/nba-led-scoreboard/renderer/main.py", line 59, in render self.loading() File "/home/necro/nba-led-scoreboard/renderer/main.py", line 142, in loading loading_pos = center_text(self.font_mini.getsize('Loading')[0], 32) AttributeError: 'FreeTypeFont' object has no attribute 'getsize'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/necro/nba-led-scoreboard/main.py", line 30, in
MainRenderer(matrix, data).render()
File "/home/necro/nba-led-scoreboard/renderer/main.py", line 66, in render
self.error_screen()
File "/home/necro/nba-led-scoreboard/renderer/main.py", line 163, in error_screen
self.display_nba_logo()
File "/home/necro/nba-led-scoreboard/renderer/main.py", line 35, in display_nba_logo
nba_logo = Image.open('logos/NBA.png').resize((22, 22), Image.ANTIALIAS)
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'