Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Lost PyMakr in VSCode

    Scheduled Pinned Locked Moved Issues & Bugs
    vscode pymakr
    40 Posts 10 Posters 6.4k Views 10 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      ChangedDaily
      last edited by

      Re: Lost pymakr Pycom console in VSCode after update VSCode

      All seemed OK - created project, ran code, uploaded code. Then Pymakr disappeared from VSCode and I cannot get it back. I have tried reverting to VSCode V1.25.1 as suggested in the post above to no avail.

      How can I get it back!?

      Thanks

      1 Reply Last reply Reply Quote 0
      • R Offline
        Ralph
        last edited by

        HI @ChangedDaily, which OS and which version of VSCode are you using? Try running it on vscode v1.30.2. Also try to reinstall pymakr and see if you get any errors while installing. Make sure you're installing pymakr 1.0.5.
        Let me know what happens

        1 Reply Last reply Reply Quote 0
        • C Offline
          ChangedDaily
          last edited by

          Hi,
          I actually started with V1.30.2 and 1.0.5, I only went back to V1.25.1 as suggested in the related thread. Anyway, I've gone back to the latest for both (V1.30.2 and 1.0.5), still the same. But... I must admit I am a bit new to VSCode (I use Visual Studio) so I tried closing the "Workspace" I had created and the Pymakr toolbar appeared and it connected to the board. After a bit of investigation it turns out that I had the workspace pointing to the scripts folder so boot.py, main.py and pymakr.conf weren't seen. Changing this has fixed it.
          Thanks

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            Ralph @ChangedDaily
            last edited by

            @changeddaily Ok good to hear! If you have any ideas on making this more user friendly for someone just starting out with vscode, let me know.

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              ChangedDaily @Ralph
              last edited by ChangedDaily

              @ralph Hi again.

              Arrrggghhh! VS Code has just updated itself to version1.31 and the Pymakr extension has disappeared again.

              I'll try rolling back to V1.30.2 and see if I can stop auto updates, at least for now.

              Edit: Rolled back and it is working again. Changed settings to hopefully prevent future auto update.

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                Ralph @ChangedDaily
                last edited by

                @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.

                robert-hhR C 3 Replies Last reply Reply Quote 0
                • robert-hhR Offline
                  robert-hh @Ralph
                  last edited by

                  @ralph Good ol' rabbit and hedgehog game.

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    ChangedDaily @robert-hh
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      ChangedDaily @Ralph
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        kgunnar
                        last edited by

                        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-generic

                        So 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.

                        P 1 Reply Last reply Reply Quote 0
                        • C Offline
                          ChangedDaily @Ralph
                          last edited by

                          @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.

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            Paul Thornton @kgunnar
                            last edited by

                            @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.

                            C 1 Reply Last reply Reply Quote 1
                            • C Offline
                              combaindeft @Paul Thornton
                              last edited by combaindeft

                              @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

                              0_1549637687378_Screenshot 2019-02-08 at 15.53.19.png

                              • B) You can download (rollback) here: https://code.visualstudio.com/updates/v1_30
                              C 1 Reply Last reply Reply Quote 0
                              • C Offline
                                curtis.hendrix @combaindeft
                                last edited by

                                @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.

                                C 1 Reply Last reply Reply Quote 0
                                • C Offline
                                  combaindeft @curtis.hendrix
                                  last edited by combaindeft

                                  @curtis-hendrix Yeah 🤓 *fixed-post*

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    Ralph
                                    last edited by

                                    v1.0.6 has just been released to fix these issues. Let me know if any of you are still facing any after updating.

                                    M 1 Reply Last reply Reply Quote 1
                                    • M Offline
                                      Martinnn @Ralph
                                      last edited by

                                      @ralph 1.0.6 just installed, is broken (no command bar, no connection) in VSCode 1.30

                                      R 1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        Ralph @Martinnn
                                        last edited by

                                        @martinnn Make sure you run vscode 1.31. The precompiled serialport lib's are now rebuild for that version specifically.

                                        M 1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          Martinnn @Ralph
                                          last edited by

                                          @ralph OK, updated VSCode the second time today. Works with pymakr 1.0.6.

                                          R 1 Reply Last reply Reply Quote 0
                                          • R Offline
                                            Ralph @Martinnn
                                            last edited by

                                            @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.

                                            J 1 Reply Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            Pycom on Twitter

                                            Pycom