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 stopped working in Atom 1.25

    Scheduled Pinned Locked Moved Software Tools
    pymakr
    5 Posts 3 Posters 1.2k Views 3 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.
    • S Offline
      smbunn
      last edited by smbunn

      I am using Atom on Windows and after updating to 1.25 yesterday I have lost use of the Pymakr plug in. A quick uninstall and re-install popped up an error window that said Pymakr had been compiled with an outdated version of the python libraries. What do I do now as all the talk about using "npm install" and re-compiling is all for Linux machines. I am on Windows. Help please as I miss my REPL window console!

      Failed to load the Pymakr package
      The module '\?\C:\Users\Simon.atom\packages\Pymakr\precompiles\serialport-win\build\Release\serialport.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 49. This version of Node.js requires
      NODE_MODULE_VERSION 54. Please try re-compiling or re-installing
      the module (for instance, using npm rebuild ornpm install).

      sebS 1 Reply Last reply Reply Quote 1
      • sebS Offline
        seb @smbunn
        last edited by

        @smbunn
        Can you try deleting the C:\Users\Simon.atom\packages\Pymakr\ folder and then try re-installing?

        1 Reply Last reply Reply Quote 0
        • S Offline
          smbunn
          last edited by

          It downloaded 1.0.3 of PyMakr, reported that this was a much older version of PyMakr but said this was the only one compatible with my version of Atom (1.25.0). Then after the inistall the same error message came up as follows

          Atom: 1.25.0 x64
          Electron: 1.7.11
          OS: Microsoft Windows 7 Ultimate
          Thrown From: Pymakr package 1.0.3

          Stack Trace

          Failed to load the Pymakr package

          At The module '\\?\C:\Users\Simon\.atom\packages\Pymakr\precompiles\serialport-win\build\Release\serialport.node'
          was compiled against a different Node.js version using
          NODE_MODULE_VERSION 49. This version of Node.js requires
          NODE_MODULE_VERSION 54. Please try re-compiling or re-installing
          the module (for instance, using `npm rebuild` or`npm install`).
          
          Error: The module '\\?\C:\Users\Simon\.atom\packages\Pymakr\precompiles\serialport-win\build\Release\serialport.node'
          was compiled against a different Node.js version using
          NODE_MODULE_VERSION 49. This version of Node.js requires
          NODE_MODULE_VERSION 54. Please try re-compiling or re-installing
          the module (for instance, using `npm rebuild` or`npm install`).
              at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
              at Object.Module._extensions..node (module.js:598:18)
              at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
              at Module.load (module.js:488:32)
              at tryModuleLoad (module.js:447:12)
              at Function.Module._load (module.js:439:3)
              at Module.require (/app.asar/static/index.js:47:45)
              at require (~/AppData/Local/atom/app-1.25.0/resources/app/src/native-compile-cache.js:66:33)
              at bindings (/packages/Pymakr/node_modules/bindings/bindings.js:76:44)
              at /packages/Pymakr/precompiles/serialport-win/lib/bindings.js:3:35)
              at /packages/Pymakr/precompiles/serialport-win/lib/bindings.js:36:3)
              at Module.get_Module._compile (~/AppData/Local/atom/app-1.25.0/resources/app/src/native-compile-cache.js:106:36)
              at Object.value [as .js] (~/AppData/Local/atom/app-1.25.0/resources/app/src/compile-cache.js:240:29)
              at Module.load (module.js:488:32)
              at tryModuleLoad (module.js:447:12)
              at Function.Module._load (module.js:439:3)
              at Module.require (/app.asar/static/index.js:47:45)
              at require (~/AppData/Local/atom/app-1.25.0/resources/app/src/native-compile-cache.js:66:33)
              at /packages/Pymakr/precompiles/serialport-win/lib/serialport.js:12:25)
              at /packages/Pymakr/precompiles/serialport-win/lib/serialport.js:476:3)
              at Module.get_Module._compile (~/AppData/Local/atom/app-1.25.0/resources/app/src/native-compile-cache.js:106:36)
              at Object.value [as .js] (~/AppData/Local/atom/app-1.25.0/resources/app/src/compile-cache.js:240:29)
              at Module.load (module.js:488:32)
              at tryModuleLoad (module.js:447:12)
              at Function.Module._load (module.js:439:3)
              at Module.require (/app.asar/static/index.js:47:45)
              at require (~/AppData/Local/atom/app-1.25.0/resources/app/src/native-compile-cache.js:66:33)
              at /packages/Pymakr/lib/connections/pyserial.js:20:18)
              at /packages/Pymakr/lib/connections/pyserial.js:26:30)
              at Module.get_Module._compile (~/AppData/Local/atom/app-1.25.0/resources/app/src/native-compile-cache.js:106:36)
          

          Commands

          Non-Core Packages

          Pymakr 1.0.3 
          
          1 Reply Last reply Reply Quote 0
          • S Offline
            smbunn
            last edited by

            Tried downloading 1.29 from GitHub, copied to /.atom/packages/pymakr after deleting everything in that directory. Then ran apm link and apm install. Both said 'done' but created a new shortcut in the packages directory called 'simon' (my name) and this is a link to the root of c drive. Started Atom and three errors now; one complaining about linking not liking 'Less' and then this one:

            Atom: 1.25.0 x64
            Electron: 1.7.11
            OS: Microsoft Windows 7 Ultimate
            Thrown From: pymakr package 1.2.9

            Stack Trace

            Failed to load the pymakr package

            At '../node_modules/font-awesome/less/font-awesome.less' wasn't found. Tried - C:\Users\Simon\.atom\packages\pymakr\node_modules\font-awesome\less\font-awesome.less,C:\Users\Simon\AppData\Local\atom\app-1.25.0\resources\app.asar\node_modules\one-dark-syntax\node_modules\font-awesome\less\font-awesome.less,C:\Users\Simon\AppData\Local\atom\app-1.25.0\resources\app.asar\node_modules\one-dark-ui\node_modules\font-awesome\less\font-awesome.less,C:\Users\Simon\AppData\Local\atom\app-1.25.0\resources\app.asar\static\node_modules\font-awesome\less\font-awesome.less,C:\Users\Simon\AppData\Local\atom\app-1.25.0\resources\app.asar\node_modules\font-awesome\less\font-awesome.less,..\node_modules\font-awesome\less\font-awesome.less in C:\Users\Simon\.atom\packages\pymakr\styles\pymakr.less:7:0
            
            LessError: '../node_modules/font-awesome/less/font-awesome.less' wasn't found. Tried - C:\Users\Simon\.atom\packages\pymakr\node_modules\font-awesome\less\font-awesome.less,C:\Users\Simon\AppData\Local\atom\app-1.25.0\resources\app.asar\node_modules\one-dark-syntax\node_modules\font-awesome\less\font-awesome.less,C:\Users\Simon\AppData\Local\atom\app-1.25.0\resources\app.asar\node_modules\one-dark-ui\node_modules\font-awesome\less\font-awesome.less,C:\Users\Simon\AppData\Local\atom\app-1.25.0\resources\app.asar\static\node_modules\font-awesome\less\font-awesome.less,C:\Users\Simon\AppData\Local\atom\app-1.25.0\resources\app.asar\node_modules\font-awesome\less\font-awesome.less,..\node_modules\font-awesome\less\font-awesome.less
            at C:\Users\Simon\.atom\packages\pymakr\styles\pymakr.less:7:0
            

            Commands

            Non-Core Packages

            pymakr 1.2.9 
            Simon undefined 
            
            1 Reply Last reply Reply Quote 0
            • R Offline
              Ralph
              last edited by

              HI @smbunn, thanks for reporting, sorry for not having this issue fixed yet. We spent some time today re-compiling the serialport-lib that's in Pymakr for Atom 1.25. It hasn't succeeded yet for all operating systems. There is a new release of pymakr v1.2.10 which contains new precompiles for osx and win64, but the latter still has issues.

              Bear with us on this, we'll be sure to fix it in the next days. And there's always VSCode to fall back to for a few days. I'll keep you up to date.

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

              Pycom on Twitter

              Pycom