Lost PyMakr in VSCode
-
@changeddaily Looks like vscode released their version with an updated version of electron, which means that the precompiled serialport library that's included in Pymakr is now out of date again. I'll rebuild it and release a hotfix for it today.
-
@ralph Good ol' rabbit and hedgehog game.
-
This post is deleted! -
This post is deleted! -
I'm also having this issue. I was just using pymakr yesterday but today when I opened up VS Code today, it was nowhere to be found. Ctrl+Shift+C responds with "command 'pymakr.connect' not found". I don't recall my VS Code updating between then and now but I just checked my VS Code version:
Version: 1.31.0
Commit: 7c66f58312b48ed8ca4e387ebd9ffe9605332caa
Date: 2019-02-06T08:51:24.856Z
Electron: 3.1.2
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 4.15.0-45-genericSo it did update. I switched updating to manual but I can't use pymakr at the moment... is a fix imminent or do I need to take other steps to try and get back to work again? Is this strictly an issue with the serialport library? I also use PlatformIO with VS Code rather extensively and have never had issues connecting to serial or otherwise when VS Code has updated.
-
@ralph Looks like you've got a job on your hands keeping up there! I hope you can update the plugin because despite me setting VS Code not to update (I was pretty sure I had) it did, so when I came to start on this tonight of course no Pymakr extension. Had to rollback VS Code again.
-
@kgunnar Ralph is busy working on the fix now. Hopefully, it won't be much longer. I believe others have confirmed manually rolling back and installing VSCode 1.30 is a temp fix. but VScode seems to ignore its option telling it to not auto update at times so you may lose it again.
-
@paul-thornton said in Lost PyMakr in VSCode:
@kgunnar Ralph is busy working on the fix now. Hopefully, it won't be much longer. I believe others have confirmed manually rolling back and installing VSCode 1.30 is a temp fix. but VScode seems to ignore its option telling it to not auto update at times so you may lose it again.
Jupp.
- A) 1st make sure to disable auto-update ... or it'll sneak it in again :-)
In setting, search for: update.channel ... and Choose None or Manual

- B) You can download (rollback) here: https://code.visualstudio.com/updates/v1_30
-
@combaindeft Just a side note: make sure to change the update.channel setting before uninstalling 1.31. I got burned after installing 3.10, since the updater runs before the settings get saved. So 3.10 saw the old update.channel setting, so it updated to 1.31.
-
@curtis-hendrix Yeah 🤓 *fixed-post*
-
v1.0.6 has just been released to fix these issues. Let me know if any of you are still facing any after updating.
-
@ralph 1.0.6 just installed, is broken (no command bar, no connection) in VSCode 1.30
-
@martinnn Make sure you run vscode 1.31. The precompiled serialport lib's are now rebuild for that version specifically.
-
@ralph OK, updated VSCode the second time today. Works with pymakr 1.0.6.
-
@martinnn Good to hear!
Also, sorry for the delay on this new version guys. We'll have to work on our rebuild process a bit to keep pymakr compatible with vscode.
-
@ralph: Today I suddenly couldn't connect anymore to the extension board (3.1) with a lopy4 through the COM13 port I always use. Next I even lost Pymakr completely in VSCode.
Reading the posts in this topic, I realized I needed to upgrade VSCode to the latest version, which I did. I now have:
Version: 1.31.1 (system setup)
Commit: 1b8e8302e405050205e69b59abb3559592bb9e60
Date: 2019-02-12T02:20:54.427Z
Electron: 3.1.2
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 6.1.7601And I have Pymakr 1.0.6.
But I cannot connect to the lopy4 anymore: > Failed to connect (Error: Port is not open). Click here to try again.
The VSCode command 'List serial ports' yields the following:
Found 2 serialports
COM5 (Dell) (copied to clipboard)
COM3 (Dell)But I cannot connect to the lopy4. It doesn't work with COM5, not with COM3, and not with COM13.
When I connect through COM5, the console starts producing a continuous stream like this:
$GPGGA,,,,,,0,00,0.5,,M,,,,*00
$GPGSV,1,1,00,,,,,,,,,,,,,,,,79
$GPGLL,,,,,235944.000,V,N77
$GPGGA,,,,,,0,0,,,M,,,,*1B
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGST,235944.000,,,,0,,,74
$GPRMC,235944.000,V,,,,,,,,,,N40
$GPGSV,1,1,00,,,,,,,,,,,,,,,,79
$GPGLL,,,,,235946.000,V,N75
etc.....What to do?
-
Hi @jand, looks like your device is not detected by the driver anymore. If it would be, it would definitely show up in the 'list serial ports' list. Did you restart your computer and try again? Happens on my mac sometimes if you unplug the device when it's connected, it doesn't show up again until you reboot.
I don't know what COM5 has attached, but that doesn't look like something any Pycom device would output :) Perhaps @iwahdan can confirm that.
-
@jand said in Lost PyMakr in VSCode:
$GPGGA,,,,,,0,00,0.5,,M,,,,*00
$GPGSV,1,1,00,,,,,,,,,,,,,,,,79
$GPGLL,,,,,235944.000,V,N77
$GPGGA,,,,,,0,0,,,M,,,,*1B
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGST,235944.000,,,,0,,,74
$GPRMC,235944.000,V,,,,,,,,,,N40
$GPGSV,1,1,00,,,,,,,,,,,,,,,,79
$GPGLL,,,,,235946.000,V,N75These look like sequences from a GPS module. Do you by change have one attached?
-
@ralph said in Lost PyMakr in VSCode:
I don't know what COM5 has attached, but that doesn't look like something any Pycom device would output :) Perhaps @iwahdan can confirm that.
This is the output of NMEA GPS sentences. Can be a pytrack ;)
@jand If VSCode works like Atom, click in the window of the output and hit ctrl-c a couple of times. This shall bring you into the REPL.
There may be a setting which hits the break key as soon the pytrack is connected.
PS: Your sentences show a lot of garbage. Check the way you read them. It seems that you drop a lot of chars and mix up multiple sentences.
-
This post is deleted!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login