- Code: Select all | TOGGLE FULL SIZE
Traceback (most recent call last):
File "code.py", line 49, in <module>
File "adafruit_display_text/label.py", line 86, in __init__
File "adafruit_display_text/__init__.py", line 240, in __init__
File "adafruit_display_text/__init__.py", line 261, in _get_ascent_descent
File "adafruit_bitmap_font/bdf.py", line 75, in ascent
OSError: [Errno 22] Invalid argument
For the above example, line 49 in your code.py would be the first place to look. The actual error is on line 75 in adafruit_bitmap_font/bdf.py, but it could be that something was done wrong in code.py to cause this.