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

    Pymakr Atom Plugin released

    Scheduled Pinned Locked Moved Announcements & News
    pymakrpluginatom
    91 Posts 29 Posters 63.5k Views 26 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.
    • A Offline
      amartinez Pybytes Beta @Manuel
      last edited by

      @Ralph I' m getting this error when I try to install Pymakr plugin 1.0.3 (I' ve tried to update from 1.0.2 and it crashed, so I' ve unistalled to reinstall it).

      0_1500029112717_Error Pymakr.JPG

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

        V1.1.0 update. Includes a big refactor round that gets the code in line with the VSCode plugin. This has very little effect on the UI and features, except for a new config option 'open_on_start' that can be used to hide the plugin by default. All problems with the serialport should also be resolved (bindings file not found and serialport version mismatch errors), as long as you are on the latest atom version (1.19 or higher)

        • Big refactor to get a shared base code with the VSCode plugin
        • Added 'open_on_start' config
        • Fixes issues with serialport lib for newer versions of atom
        • Bugfix in the run feature on linux.
        • More relaxed keep-alive protocol on telnet (ping has to fail twice before connection break)
        1 Reply Last reply Reply Quote 1
        • C Offline
          Colateral
          last edited by Colateral

          On my Mac I installed last ver of Atom (1.20.0 x64) and pymakr plugin (1.0.3). I'm connected to LoPy through serial.
          After I created a simple file test.py containing this:

          import uos
          uos.uname()
          

          Sync &Running the project with Atom raise errors. Do I have to configure something to run a simple python file?

          >>>
          >>
          Traceback (most recent call last):
            File "<stdin>", line 2, in <module>
          NameError: name 'null' is not defined
          >
          MicroPython 8a4f37d-dirty on 2017-09-17; LoPy with ESP32
          Type "help()" for more information.
          
          1 Reply Last reply Reply Quote 0
          • D Offline
            danielm
            last edited by

            On Windows 7 with Atom 1.20.1x64 only Pymakr version 1.0.3 is offered as latest compatible version.

            0_1506173579924_pymakr.png

            Then the package fails to be loaded anyway:

            0_1506173753011_pymakr2.png

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              MJ @danielm
              last edited by

              @danielm Hi, i am new here. I also facing the same problem as you. May i know how can we fix it?

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

                @mj @danielm I see your issue. To explain: from pymakr 1.1.0 on we added a version limit to the plugin (<=1.20.0), with the goal to make sure that when a new version of atom comes out, we can test it before we release the plugin for it as well. The problem is that if you are on an old pymakr version before this limiter, but update straight to a new release (1.20.1 was released last week) you'll be stuck with an incompatible version.

                I'll test pymakr with the latest Atom and will release 1.1.2 very soon. A quick fix would be to downgrade to atom 1.20.0, then update pymakr to 1.1.1

                R M 2 Replies Last reply Reply Quote 0
                • R Offline
                  Ralph @Ralph
                  last edited by

                  @MJ @danielm A new version has been released. Let me know if this solves your issues.

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    lesure1
                    last edited by

                    Hello,

                    I am trying to connect to Pycom (1.1.3) from Atom editor (Atom: 1.20.1, Electron: 1.6.9, Chrome: 56.0.2924.87, Node: 7.4.0) on Ubuntu 14.04. I added Pymkr 1.1.3 automatically using the Atom GUI. The Atom editor crashes when clicking on connect, after retrieving and setting the USB serial port for Pycom. The message displayed is "Editor has crashed. Please report this issue". I am totally new to the environment and trying to do my first set up. Could anyone help me identify the source of the problem and fix it?

                    Thank you!

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

                      Hi @lesure1, thanks for reporting this. I've just tested it on ubuntu and it seems that the serialport lib is not working properly for this version on ubuntu. I'm inspecting and fixing it now and will send you an updated plugin tomorrow to see if it's working.

                      L 1 Reply Last reply Reply Quote 0
                      • L Offline
                        lesure1 @Ralph
                        last edited by

                        @ralph, okay thank you. Looking for the update.

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          mahe
                          last edited by mahe

                          Hi,

                          I just updated to Pymakr 1.1.3 in Atom (macOS). Ever since the update I get the following error when trying to sync:

                          Reading file status
                          Synchronizing failed: timeout. Please reboot your device manually.

                          I do have a connection and Running files doesn't seem to be a problem. But I can not get it to sync.

                          I've tried both soft, hard and factory reset of the LoPy as instructed on:

                          https://docs.pycom.io/chapter/toolsandfeatures/bootmodes.html

                          If anyone can help I would be grateful.

                          Mathies

                          edit: I've also tried upgrading the firmware.

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

                            @ralph Thanks. Our problem solved.

                            1 Reply Last reply Reply Quote 0
                            • JaltetJ Offline
                              Jaltet @mahe
                              last edited by Jaltet

                              @mahe
                              Hi! I have had the same problem today.
                              Pymakr 1.1.3 in Atom (Windows) gives the same error:

                              Reading file status
                              Synchronizing failed: timeout. Please reboot your device manually

                              I solved the problem by uninstalling Pymakr 1.1.3 and reinstalling Pymakr 1.1.1

                              To do so, I used the apm command like this:

                              apm install Pymakr@1.1.1

                              I got the 1.1.1 version from https://libraries.io/atom/pymakr

                              I hope this will work for you.

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

                                @jaltet @mahe If you didn't notice yet, we deployed an update on Friday (v1.1.4) that solves the issue introduces in 1.1.3.

                                Let me know if this is indeed the case on your machines.

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

                                  @ralph

                                  Thanks,

                                  I'm still experience problems though:

                                  Synchronizing failed: undefined. Please reboot your device manually.

                                  sorenS 1 Reply Last reply Reply Quote 0
                                  • sorenS Offline
                                    soren @mahe
                                    last edited by

                                    @mahe me too.. was away from the lopy for 5 months, and hoped things would have become more stable with the atom plugin... pretty disappointed

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

                                      Another update, a bigger one this time:

                                      V1.2.0 - Download feature and multi project support

                                      • Splits 'sync' into 'download' and 'upload'
                                      • Adds detection for selected project in the tree-view
                                      • Better stability for upload

                                      Please let me know if you have any feedback on these new features!

                                      J 1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        jhoguaman @Ralph
                                        last edited by

                                        @ralph Hi friend, I just uploaded this version (V1.2.0) and Atom (1.21.1). I can RUN my projects, but when I want 'sync' -- 'upload', I am gettin this error:
                                        Error: Writing to COM port (GetOverlappedResult): Operation aborted)
                                        Thanks for your atention.

                                        sorenS R 2 Replies Last reply Reply Quote 1
                                        • sorenS Offline
                                          soren @jhoguaman
                                          last edited by

                                          @jhoguaman me too

                                          1 Reply Last reply Reply Quote 0
                                          • R Offline
                                            raxy @jhoguaman
                                            last edited by raxy

                                            @jhoguaman
                                            mee too !!!
                                            seems to be related to win10 : atom v1.21.1 x64 + pymakr v1.2.0; on my win7 machine, no problem w/ atom v1.21.1 x64 + pymakr 1.1.1

                                            R J 2 Replies 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
                                            • 3
                                            • 4
                                            • 5
                                            • 1 / 5
                                            • First post
                                              Last post

                                            Pycom on Twitter

                                            Pycom