sg-wireless / Pymakr

Pymakr is a Python IDE based on eric and customized to offer a plug and play development experience with the WiPy, the LoPy and other modules from Pycom that run MicroPython.
https://www.pycom.io
Other
52 stars 13 forks source link

Pymakr commands not working with VS Code #32

Closed rdlaner closed 2 years ago

rdlaner commented 2 years ago

I'm currently running: VS Code version 1.69.0. PyMakr extension version 2.12.3

I noticed that most of the Pymakr commands in the command palette no longer have the "PyMakr:" prefix:

Screen Shot 2022-07-03 at 12 09 17 PM Screen Shot 2022-07-03 at 12 09 48 PM

Whenever I attempt to run any of the commands that now are missing the "PyMakr:" prefix, I see this error in the PyMakr log:

error: PyMakr (335384) > command > Failed to run command: disconnect with params: 
error: PyMakr (335384) > command > Cannot destructure property 'device' of 'undefined' as it is undefined.
error: PyMakr (341992) > command > Failed to run command: connect with params: 
error: PyMakr (341992) > command > Cannot destructure property 'device' of 'undefined' as it is undefined.
error: PyMakr (358711) > command > Failed to run command: uploadPrompt with params: 
error: PyMakr (358711) > command > projectRef did not match an accepted type

Any time I try to add a new device, nothing happens. I'm out of ideas on how to get this extension to work again, please help!

jakobrosenberg commented 2 years ago

@rdlaner I think this has been fixed in the upcoming version. You can try it out here.

There's a dedicated repo for the VSC plugin. The readme should help you get started with Pymakr 2. https://github.com/pycom/pymakr-vsc

rdlaner commented 2 years ago

Thanks @jakobrosenberg! Using the "Pymakr - Preview" version has resolved all my isues.