David Lechner
David Lechner
I assume this works with `pybricksdev` instead of Pybricks Code? Sounds like a bug with the Python parser we use for import detection in Pybricks Code.
Thanks for checking. So more a bug in MicroPython for not catching the syntax error.
I see. The code works fine in MicroPython if there are no imports since MicroPython seems to allow `"` withing f-string with `f"` while standard Python does not. `pybricksdev` reports...
minimal test case: ```python import a print(f"{"x"}") ```
I don't see how updating the MicroPython version will make a difference. The problem is that the Python parser for finding imports in Pybricks Code hasn't been updated to support...
also copying this comment from the other issue since it has some useful links to the relevant code: --- If it is only a problem with skbuild (classic), then maybe...
Unfortunately, I didn't keep notes so I don't have an exact list of what is done and what is left to do. Since this uses the same WebView2 as the...
I assume you installed the runtime and not the SDK? What kind of error are you getting? Not sure if the runtime has to be an exact (minor version) match....
What is the call stack for that error? What VM do you use on Mac (VMWare, UTM)? And what version of Windows is this?
No, haven't seen that. But I think it could be caused if you are using the Python runtime installed from the Microsoft Store. I will check it out.