Call to Action! Prototype of Micropython Plugin NOVA is ready to challenge brave testers! #330
Replies: 7 comments 50 replies
-
This is wonderful! I'm a brave tester, so I'll do it if I must. It's a sacrifice I'm willing to take. I have a couple of comments/issues that I'd like to share. First off, I am able to normally use the REPL console, but every time there is some transfer of data, like pressing the "connect" button (the one that looks like a plug in the top left corner of the micropython window) or flashing a script, I get this error in the bottom left: Additionally, the REPL console doesn't have the helpful message that explains how to reset the microcontroller with The File System tab isn't working for me at all:Pressing connect doesn't do anything, and hitting the refresh button throws the same error in the previous picture. I think that's all I've got. I am very grateful that this repo is getting some attention! Thanks a lot for putting this work in! I use this plugin all the time. |
Beta Was this translation helpful? Give feedback.
-
Looks like a great release! Looking forward to coding with it. Will make sure to report back with my feedback once I spend some time with the plugin! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I have spent some time in the IDE with the updated plugin, and I have found a few bugs:
First few bugs I came across. Tested on ESP32 S2 Mini 2 running latest MicroPython 1.24.0 flashed with Thonny, the ESP8266 is selected as the used device type, used the Serial communication option, did not test WebREPL for any of the described bugs. Build #PY-242.23726.102, built on October 22, 2024 Besides this, I have to applaud your work - this plugin will make PyCharm the best IDE out there for MicroPython projects of all kinds, from simple to very complicated company projects. |
Beta Was this translation helpful? Give feedback.
-
I have another idea - from my experience WebREPL is not quite reliable for REPL terminal communication itself. Especially if I frequently develop on different STA Wi-Fi networks. Would you consider adding an option in the settings for choosing a separate way of communication for the file uploads and for the REPL terminal? For me it makes a lot of sense to stick with REPL terminal over serial due to its increased reliability - and the fact that I can use the serial REPL terminal for debugging WebREPL. And then use WebREPL solely for file uploads/flashing, because of the increased file transfer speed. |
Beta Was this translation helpful? Give feedback.
-
Many thanks to everyone for testing and for the feedback. |
Beta Was this translation helpful? Give feedback.
-
Today I have tried the latest MicroPython plugin pre-alpha on the ESP32 S3 Lilygo display board, non-touch version. Two odd bugs happen a lot. I connect, flash a file, the device soft-reboots and I start interacting with the board through Microdot over wi-fi. Then after about 1-3 minutes I try to flash a new file, that times out, then I click the "Reset" button under "REPL". That throws the following: "Reset... error - SerialPortException: Port name - /dev/cu.usbmodem101; Method name - writeBytes; Exception type - Native exception occurred: Device not configured. jssc.SerialPortException: Port name - /dev/cu.usbmodem101; Method name - writeBytes; Exception type - Native exception occurred: Device not configured. Now the second bug has the same steps to reproduce but when I press reset or try to upload something, instead of the above mentioned error the REPL gets stuck in some loop printing the same output over and over followed by "Server error: <class 'OSError'>: [Errno 112] EADDRINUSE". This repeats and the REPL gets filled with tons of these. Right now it appears to be a coin toss between which of these bugs occurs. What I am running on the device is WiFi AP interface and Microdot. As mentioned the device is an ESP32 S3 Lilygo with display, non touch version. Plugin version is pre-alpha 9, PyCharm is EAP - Build #PY-243.21565.33, built on October 30, 2024 and I work with an M2 mac. |
Beta Was this translation helpful? Give feedback.
-
Compatibility: PyCharm
2024.22024.3 EAPTested setups:
Features:
Please download, install, try, share your feedback with us!
Download: intellij-micropython-2.0.0.pre-alpha13-2024.3.zip
PS: How to install the plugin from disk
PPS: Webrepl setup manuals could be found here or here
Beta Was this translation helpful? Give feedback.
All reactions