Closed whinee closed 6 months ago
line 136 of file /home/lyra/storage/projects/fw-linux/.venv/lib64/python3.11/site-packages/micropy/pyd/backend_upydevice.py
:
results = self._pydevice.cmd(f"list(uos.ilistdir('{path}'))", silent=True, rtn_resp=True)
equals to:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 2] ENOENT
No wonder!
Running the following makes the first error go away:
mkdir stubs
ampy --port /dev/ttyUSB0 put stubs
However, a new error arise:
MicroPy Connecting to Pyboard @ /dev/ttyUSB0
MicroPy ✔ Connected!
2024-02-11 13:14:29.126 | DEBUG | stubber.minify:minify_script:253 - Original length : 26905
2024-02-11 13:14:29.126 | INFO | stubber.minify:minify_script:254 - Minified length : 11631
2024-02-11 13:14:29.126 | INFO | stubber.minify:minify_script:255 - Reduced by : 15274
2024-02-11 13:14:29.354 | DEBUG | stubber.minify:cross_compile:328 - mpy-cross compiled to : mpy_cross_3_qc0ugh.mpy
MicroPy Executing stubber on pyboard...
MicroPy Pyboard Writing /createstubs.mpy: 100%|███████████████████████████████████████████████████████████| [10.4k/10.4k @ 1.04kB/s]
MicroPy Pyboard Traceback (most recent call last):
MicroPy Pyboard File "<stdin>", line 1, in <module>
MicroPy Pyboard ValueError: incompatible .mpy file
MicroPy ✔ Done!
MicroPy Copying stubs...
Im trying to make a stub for the board A9G pudding.
Describe the bug
I don't know, but when I run the following command:
This spits out:
Expected Behavior
For it to work.
Current Behavior
Error.
Steps to Reproduce
Run the following command:
Logs
Context (Environment)