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.
    • R Offline
      Ralph
      last edited by

      Version 0.9.4 has been released with a few bugfixes and stability improvements:

      • Include precompiled serialport libs for mac and linux
      • Improved error handling and stability on sync
      • Running files is now possible for unsaved files
      • Bugfixes for pasting multiple lines and cmd-c/cmd-v commands.
      • Fixed connection issue when using telnet to a device's access point
      O 2 Replies Last reply Reply Quote 2
      • O Offline
        obviate @Ralph
        last edited by

        @Ralph Hi Ralph, I installed 0.9.4 and upgraded firmware on my LoPy modules to 1.6.13.b1 and now I can't sync using a serial connection. It was OK with 0.9.3 but I don't know whether to blame the firmware or the Atom plugin update. I am running Atom on a Windows 7 x64 PC.

        1 Reply Last reply Reply Quote 0
        • O Offline
          obviate @Ralph
          last edited by

          @Ralph I re-built the filesystem on each LoPy and now the sync is working. All good.

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

            V1.0.0 has just been released. A few problems concerning the synchronize feature using a serial connection are now solved and some new features have been added:

            • Added project specific settings
            • Added serial port detection (in sub-navigation under the 'more' button)
            • Multiple bug fixes for synchronization over serial
            • Terminal height now resizable by dragging the top edge
            • Fixed 'failed to connect' bug when reconnecting on telnet

            The project specific settings might need some explanation:
            When clicking the new 'project settings' option, a config file is created inside your project folder. Any settings changed inside this file will override the global settings. This can be useful when you are using different project for different devices or when each project has a different folder that has to be synchronized.
            Remove the settings from this file that you don't want to override.

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

              @Ralph

              Hi,

              Maybe I am doing something dumb. When I set up the Atom plugin, by going to Atom > Preferences > Packages > Pymakr, all I see is the PyMakr Readme.

              This is what I see... I don't see a place to configure the IP Address of the LoPy.

              Any idea what I am doing incorrectly?

              Thanks,
              Mike

              0_1496924816310_upload-695f7c17-dac2-45e2-a8ee-f5c0b3682d28

              B 1 Reply Last reply Reply Quote 0
              • B Offline
                bucknall @mcook
                last edited by

                Hi @mcook,

                If you look at the bottom of the Atom window, you'll see a new bar with a button that says '^ Open'. If you click this, you will see the new terminal interface.

                Developer Evangelist - Pycom

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

                  With one of the previous versions I encountered a serious error, Atom wouldn't even start anymore. So I deinstalled Pymakr.
                  However when I now install it again (tried multiple times) it won't show up anymore. Toggle console does nothing. I can see Pymakr in the packages menu (top menu bar) and I also see it in the Installed Packages menu, where you can change the port etc.

                  Atom is updated to the latest version. Maybe I need to clear some old files?

                  Without data you're just another person with an opinion.
                  Hackster | About me

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mcook @bucknall
                    last edited by

                    @bucknall

                    Thanks. I see what the issue is.... there is a small red bug in the bottom right corner of the screen. When clicking on it, it indicates that there is an issue with my serial library. It has a "rebuild" link. After clicking on it, and restarting Atom, it now works.

                    Mike

                    1 Reply Last reply Reply Quote 0
                    • RobTuDelftR Offline
                      RobTuDelft
                      last edited by RobTuDelft

                      Clicking on that bug also gave me some hints: Some installed packages could not be loaded because they contain native modules that were compiled for an earlier version of Atom.Rebuild Packages and clicking rebuild: The system cannot find the path specified, it fails.

                      edit: third time it worked!

                      Without data you're just another person with an opinion.
                      Hackster | About me

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        amartinez Pybytes Beta
                        last edited by

                        I' m always having problems to sync with the boards, specially while connecting by WiFi it's almost impossible to sync or run a program.

                        I have everything updated and using Windows10, am I the only one? Or is it "normal"? What do you recommend me to sync easier? Is it possible to connect with Putty by Wifi?

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

                          A small patch has just been released under v1.0.2. It contains some fixes that will help pytrack/pysense users, for example when the board goes into sleep. The serial will now handle a loss and recovery of the serial port when the board goes to sleep.

                          • Added timeout and reconnect logic on serial connection (useful for pysense/pytrack sleep)
                          • Pysense/pytrack serialport detection
                          • Bugfix related to project settings not refreshing (issue #23)
                          • Ignoring hidden and empty subfolders during synchronize
                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            Ralph
                            last edited by

                            This morning a patch has been released under v1.0.3.

                            It fixes issues with serialport library on windows32 and problems in newer atom versions (1.17.2 and 1.18). If you had any installation issues before, this update should to resolve it.

                            O 1 Reply Last reply Reply Quote 0
                            • O Offline
                              ozeta @Ralph
                              last edited by ozeta

                              @Ralph I have atom 1.18 and before pymakr 1.0.3 all worked fine. after last update I get: "Failed to load the Pymakr package" ... stacktrace.... then: The error was thrown from the Pymakr package. This issue has already been reported.
                              View Issue ( https://github.com/pycom/pymakr-atom/issues/1 )

                              is it possible to revert to 1.0.2?

                              M 1 Reply Last reply Reply Quote 0
                              • M Offline
                                Manuel @ozeta
                                last edited by

                                @ozeta I have the same problem in 2 windows 10 machines (64 bits).

                                Using this https://forum.pycom.io/topic/1137/downgrade-atom-pymkr-plugin should fix the problem.

                                Try with "apm install Pymakr@1.0.2" in cmd or PowerShell (if you are using windows). It worked for me.

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

                                  @Manuel That works, but if you want to use 1.0.3, you can completely uninstall and then re install the plugin to make it work. There is an issue with a few files that fail to update to the new code in the folder, for unknown reasons. Only happens on windows it seems. We're working on a permanent solution.

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

                                    @Ralph Thank you. It works.

                                    A 1 Reply Last reply Reply Quote 0
                                    • 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

                                            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
                                            • 4 / 5
                                            • First post
                                              Last post

                                            Pycom on Twitter

                                            Pycom