Das Pymakr-Plugin hat gerade Probleme mit der aktuellen Atom Version 1.39.x:
I’m using MacOS 10.12 and Atom just updated to 1.39.0 x64. Now when I start Atom it pops up a red window saying “Failed to activate the pymakr package”. ‘/Users/john/.atom/packages/pymakr/precompiles/serialport-osx/build/Release/serialport.node’ ...
Reading time: 1 mins 🕑
Likes: 2 ❤
Hilft wohl nur ein roll back auf die 1.38er Version, doof ist, das sich der Fehler ungemerkt eingeschlichen hat duch ein autoupdate von Atom, ggf. das ausschalten um zukünftige Überraschungen zu vermeiden.
Andreas
November 11, 2019, 5:27pm
2
Nur kurz. Hier erneut Kompatibilitätsprobleme und Lösungsvorschläge, diesmal bei VSCode.
On upgrading to VSCode 1.40, Pymakr fails to initialise with the following error message If I downgrade VSCode to 1.39.2, everything works again. As a workaround, I have disabled automatic updates in VSCode under Settings/Application/Update.
I downloaded the 1.1.5 VSIX beta version by @Josverl on GitHub at There was an error with your serialport module, Pymakr will likely not work properly. · Issue #62 · pycom/pymakr-vsc · GitHub and Pymakr now works again on VSCode 1.40.
opened 02:28PM - 30 Oct 19 UTC
closed 03:17PM - 25 Nov 19 UTC
(Hi! 👋 Thanks for reporting an issue! Please make sure you click the link above… to view the issue guidelines, then fill out the blanks below.)
## What are the steps to reproduce this issue?
1. Install Pymakr on VSCode
2.
3.
## What happens?
An error pops up.
## What were you expecting to happen?
I was expecting no error to pop up.
## Any logs, error output, etc?
There was an error with your serialport module, Pymakr will likely not work properly. Please try to install again or report an issue on our github (see developer console for details)
https://gist.github.com/MJtuks/6e16d397690be9a67418b5fec4e54e01
## Any other comments?
## What versions of software are you using?
**Operating system:**
Windows 10
**VSCode version:**
Version: 1.39.2 (user setup)
Commit: 6ab598523be7a800d7f3eb4d92d7ab9a66069390
Date: 2019-10-15T15:35:18.241Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.18362
**Pymakr version:**
1.1.3
Und schon wieder:
opened 02:24PM - 11 May 21 UTC
Even the update from Atom 1.56 to 1.57 did not change anything, still not possib… le to install Pymakr!? What a creePy support from PyCom! Tons of bug issues but no reaction! We will leave the PyCom universe, too much hassle, less support.
```
Installing “pymakr@2.1.13” failed.Hide output…
> @serialport/bindings@8.0.8 install C:\Users\mail\AppData\Local\Temp\apm-install-dir-2021411-1496-16xfu09.pesh\node_modules\pymakr\node_modules\@serialport\bindings
> prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
C:\Users\mail\AppData\Local\Temp\apm-install-dir-2021411-1496-16xfu09.pesh\node_modules\pymakr\node_modules\@serialport\bindings>if not defined npm_config_node_gyp (node "C:\Users\mail\AppData\Local\atom\app-1.57.0\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\mail\AppData\Local\atom\app-1.57.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
npm WARN deprecated parser-byte-length@1.0.2: renamed to @serialport/parser-byte-length
npm WARN deprecated parser-cctalk@1.0.2: reanmed to @serialport/parser-cctalk
npm WARN deprecated parser-delimiter@1.0.2: reanmed to @serialport/parser-delimiter
npm WARN deprecated crypto@1.0.1: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
npm WARN deprecated parser-readline@1.0.2: reanmed to @serialport/parser-readline
npm WARN deprecated parser-ready@1.0.2: reanmed to @serialport/parser-ready
npm WARN deprecated parser-regex@1.0.2: reanmed to @serialport/parser-regex
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
prebuild-install WARN install No prebuilt binaries found (target=9.4.4 runtime=electron arch=x64 libc= platform=win32)
gyp ERR! find VS
gyp ERR! find VS msvs_version not set from command line or npm config
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer
gyp ERR! find VS looking for Visual Studio 2015
gyp ERR! find VS - not found
gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
gyp ERR! find VS
gyp ERR! find VS **************************************************************
gyp ERR! find VS You need to install the latest version of Visual Studio
gyp ERR! find VS including the "Desktop development with C++" workload.
gyp ERR! find VS For more information consult the documentation at:
gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
gyp ERR! find VS **************************************************************
gyp ERR! find VS
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Visual Studio installation to use
gyp ERR! stack at VisualStudioFinder.fail (C:\Users\mail\AppData\Local\atom\app-1.57.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:121:47)
gyp ERR! stack at C:\Users\mail\AppData\Local\atom\app-1.57.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:74:16
gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Users\mail\AppData\Local\atom\app-1.57.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:351:14)
gyp ERR! stack at C:\Users\mail\AppData\Local\atom\app-1.57.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:70:14
gyp ERR! stack at C:\Users\mail\AppData\Local\atom\app-1.57.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:372:16
gyp ERR! stack at C:\Users\mail\AppData\Local\atom\app-1.57.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\util.js:54:7
gyp ERR! stack at C:\Users\mail\AppData\Local\atom\app-1.57.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\util.js:33:16
gyp ERR! stack at ChildProcess.exithandler (child_process.js:302:5)
gyp ERR! stack at ChildProcess.emit (events.js:223:5)
gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
gyp ERR! System Windows_NT 10.0.19041
gyp ERR! command "C:\\Users\\mail\\AppData\\Local\\atom\\app-1.57.0\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\mail\\AppData\\Local\\atom\\app-1.57.0\\resources\\app\\apm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\mail\AppData\Local\Temp\apm-install-dir-2021411-1496-16xfu09.pesh\node_modules\pymakr\node_modules\@serialport\bindings
gyp ERR! node -v v12.14.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN notsup Unsupported engine for pymakr@2.1.13: wanted: {"atom":">=1.41.0","node":">=6.3.0 <=7.0.0"} (current: {"node":"12.14.1","npm":"6.14.13"})
npm WARN notsup Not compatible with your version of node/npm: pymakr@2.1.13
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\mail\AppData\Local\Temp\apm-install-dir-2021411-1496-16xfu09.pesh\package.json'
npm WARN apm-install-dir-2021411-1496-16xfu09.pesh No description
npm WARN apm-install-dir-2021411-1496-16xfu09.pesh No repository field.
npm WARN apm-install-dir-2021411-1496-16xfu09.pesh No README data
npm WARN apm-install-dir-2021411-1496-16xfu09.pesh No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @serialport/bindings@8.0.8 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @serialport/bindings@8.0.8 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\mail\.atom\.apm\_logs\2021-05-11T14_15_04_025Z-debug.log
```
Auch mit der vorletzten Atom-Version 1.56 gab es Probleme und man konnte damit Pymakr nicht nutzen, trotz diversert bug reports auf die es PyCom nicht mal nötig fand zu reagieren. @Diren saß auch mit Waldemar virtuell vor dem Rechner und versuchte ihn durch die Bob-Installation zu guiden. Atom gibt nicht mal eine Fehlermeldung aus, wenn die Installation des Plugins scheitert, erst nach einem Neustart von Atom kommt die error message!
MKO
June 7, 2021, 7:13am
4
Hab gestern Nachmittag auch Probleme mit VSCode WSL1 und PyMakr gehabt (PyMakr konnte nicht auf die Com Ports zugreifen). In Win10 läuft PyMakr jedoch mit VSCode.
Könnte das Problem allerdings noch nicht näher untersuchen.
Jan
June 7, 2021, 11:04am
5
Das Problem habe ich auch schon länger. Die Pymakr kann scheinbar nicht in der WSL(1) auf die COM-Ports zugreifen. Das Problem wird z.B. hier beschrieben:
opened 06:31AM - 04 Jul 19 UTC
closed 11:25AM - 04 Sep 19 UTC
Each time I run Visual Studio Code I get the following error message now:
`Th… ere was an error with your serialport module, Pymakr will likely not work properly. Please try to install again or report an issue on our github (see developer console for details)`
Vs Code details are:
Version: 1.36.0 (user setup)
Commit: 0f3794b38477eea13fb47fbe15a42798e6129338
Date: 2019-07-03T13:25:46.372Z
Electron: 4.2.5
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.17134
Pymakr: 1.1.2
I've tried uninstalling and reinstalling previous versions but that just removes the error and pymakr doesn't load.
Ich habe auch schon gefühlt wirklich alles versucht um das Problem zu lösen: andere bindings.node versucht, rebuild der bindings.node etc etc etc.
Leider hat bis heute nichts geholfen. Ich kann über VSCode nur editieren und speichern. Alles andere wie cross-compile und upload muss ich dann manuell machen… nicht unmöglich, aber schon nervig…
MKO
June 7, 2021, 12:25pm
6
Früher hatte ich es am laufen mußte aber für was anderes ein Upgrade machen. Sollte also bestimmt mit einem Downgrade von VScode laufen Version=?.
WSL2 geht wie ich mich entsinne auch nicht. Da hat man von Haus aus keine Schnittstellen.
Hat es schon Mal einer mit WSLg versucht? Oder ist das nur ein um GUI erweitertes WSL2?
Jan
June 7, 2021, 12:28pm
7
Richtig, in der WSL2 gibt es aktuell leider keine Möglichkeit auf die COM-Ports zuzugreifen
Von einem Downgrade habe ich auch gelesen, selber habe ich das aber nicht versucht.
Was würde dagegen sprechen VSCode direkt unter Windows zu nutzen?
MKO
June 7, 2021, 7:38pm
9
Moin Clemens,
nicht viel, daher habe ich es auch noch nicht weiter untersucht. Ist mir also nur aufgefallen. Die Sandbox läuft in WSL bei Terkin ja auch noch.
Finde es nur schade, das Pycom in solchen dingen so unzuverlässig ist.
Wenn sie in solch wichtigen Dingen nicht immer up to Date sind, werden immer mehr Programierer von ihren Produkten abspringen und das kommt weder Ihnen noch uns zu gute.
1 Like
Jan
June 9, 2021, 9:35am
10
Ich habe es jetzt mal ausprobiert: Mit der Pymakr Version 1.1.7 funktioniert es! Ab der Version 1.1.8 und aufwärts gibt es dann die Fehlermeldung bzgl. des Serialports.
MKO
June 9, 2021, 10:05am
11
Hmmm…interessant. Hätte eher getippt, das man das man einen VSCode Downgrade, wie sonnst auch, machen muß.
Haben die wieder jeglicher Erwartungen etwa schon was in Richtung WSL2 oder WSLg gemacht.
Edit: Dem Cangelog zufolge wohl eher nicht. pymakr-vsc/CHANGELOG.md at develop · pycom/pymakr-vsc · GitHub
@Jan Welche VSC Version hast Du drauf?
Bei mir kann ich leider erst heute Nacht schauen.
Jan
June 9, 2021, 10:11am
12
Meine VSC Version ist 1.56.2
MKO
June 10, 2021, 7:24am
13
@Jan danke für teilen.
Habe auch VSC 1.56.2 und habe es gestern auch mit PyMakr 1.1.7 und node.js 16.x.x versucht.
Die Fehlermeldung bezüglich des Serialports sind dann auch weg. Leider klappt es bei mir trotzdem nicht. Hab jetzt eine neue Fehlermeldung, wenn ich versuche PyMakr zu nutzen.
error (command ‘pymakr.globalsettings’ not found)
Gibt also noch weitere Abhängigkeiten.
Bei mir – direkt unter Win10 – läuft gerade VSC 1.56.2 mit PyMakr 1.1.12 (beides die latest versions) ohne Probleme.
MKO
June 10, 2021, 3:27pm
15
Bei mir
Win10 x64 + VSC 1.56.2 + PyMakr 1.1.12 = OK
Win10 x64 + WSL1 + ubuntu + VSC 1.56.2 + PyMakr 1.1.(1-12)= Error
Jan
June 11, 2021, 10:53am
16
Ebenfalls genau das gleiche Verhalten bei mir. Ohne die WSL funktioniert alles. In Kombination mit der WSL habe ich jetzt so viele Versionen von VSC und PyMakr ausprobiert, dass ich schon fast nicht mehr zählen kann. Alles leider ohne Erfolg…
poesel
June 11, 2021, 6:51pm
17
Man kann aus der WSL2 Verzeichnisse zu Windows raus linken. Dann läuft make usw… in der WSL und das Ergebnis ist dann für VSC & pymakr verfügbar und kann direkt hochgeladen werden. Das funktioniert eigentlich ganz gut.
1 Like