Describe the bug
- System: Apple M2 15.6 (Sequoia)
The latest develop branch raise some exceptions when running the simulator on mac:
parser.add_argument(
~~~~~~~~~~~~~~~~~~~^
"--screenshot-scale",
^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
action=argparse.BooleanOptionalAction,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
TypeError: BooleanOptionalAction.__init__() got an unexpected keyword argument 'type'
This was easy to fix with:
parser.add_argument(
"--printer",
action="store_true",
default=False,
required=False,
)
But when running again the simulator, another exception was raised:
Poe => python simulator/simulator.py --device maixpy_amigo --sd
pygame 2.6.1 (SDL 2.32.10, Python 3.14.0)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "/Users/qlrd/github/krux/simulator/simulator.py", line 77, in <module>
pg.freetype.init()
^^^^^^^^^^^
AttributeError: module 'pygame' has no attribute 'freetype'
Reproduce
Run poetry run poe simulator --sd
Device(s) affected
Version affected
Describe the bug
The latest
developbranch raise some exceptions when running the simulator on mac:parser.add_argument( ~~~~~~~~~~~~~~~~~~~^ "--screenshot-scale", ^^^^^^^^^^^^^^^^^^^^^ ...<3 lines>... action=argparse.BooleanOptionalAction, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) TypeError: BooleanOptionalAction.__init__() got an unexpected keyword argument 'type'This was easy to fix with:
But when running again the simulator, another exception was raised:
Reproduce
Run
poetry run poe simulator --sdDevice(s) affected
Version affected