circuitpython icon indicating copy to clipboard operation
circuitpython copied to clipboard

Doesn't run on current Circuitpython

Open stanelie opened this issue 11 months ago • 0 comments

Hello. Just got a badger and wanted to try your port of BadgerOS. I'm trying to make it run on the current "Adafruit CircuitPython 9.2.4 on 2025-01-29; Pimoroni Badger 2040 with rp2040".

After fixing the code as per the last post of https://github.com/beboxos/circuitpython/issues/7 (comment out lines 51, 52 and 53 of code.py), it still does not run.

I switched out the librairies with the libraries package adafruit-circuitpython-bundle-9.x-mpy-20241128 (before that, it would complain that the libraries were incompatible).

Latest error is Traceback (most recent call last): File "<stdin>", line 368, in <module> File "<stdin>", line 79, in fixlayout ImportError: no module named 'adafruit_hid.keyboard_layout_fr'

Somehow, it thinks I should use a french layout, but that layout does not exist in my adafruit_hid library.

How can I force the US layout?

Thanks!

Edit : forced us layout on line 36 by stating layout = "us" Now, it quits with Traceback (most recent call last): File "<stdin>", line 1365, in <module> File "<stdin>", line 412, in render AttributeError: .show(x) removed. Use .root_group = x

stanelie avatar Jan 30 '25 03:01 stanelie