adafruit / adafruit/Adafruit_CircuitPython_MAX7219

font5x8.bin

Open
#48 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
19
Forks
7
PR merge metrics
No merged PRs in 30d

Description

I am getting this error.

Could not find font file font5x8.bin
Traceback (most recent call last):
File "", line 42, in
File "adafruit_max7219/matrices.py", line 75, in text
File "adafruit_framebuf.py", line 507, in text
File "adafruit_framebuf.py", line 581, in __init__
OSError: [Errno 2] No such file/directory: font5x8.bin

I have the bin file and tried placing it in the library folder on the device but still get the error. The library still has this issue and if anyone knows how to resolve it (i.e. where I am to place the bin file) please let me know.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the font-loading path shown in adafruit_max7219/matrices.py and adafruit_framebuf.py, then inspect how font5x8.bin is located. Reproduce the reported text call and determine the expected file location or packaging behavior. Done means the font file is found and the text call no longer raises the reported OSError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.