vscode-circuitpython icon indicating copy to clipboard operation
vscode-circuitpython copied to clipboard

[BUG] Error while installing libs

Open Karolis92 opened this issue 3 years ago • 5 comments

Describe the bug I get error when running CircuitPython: Show Available Libraries and trying to install any lib:

2022-02-14 18:18:32.505] [exthost] [error] Error: ENOENT: no such file or directory, copyfile 'c:\Users\<username>\AppData\Roaming\Code\User\globalStorage\joedevivo.vscode-circuitpython\bundle\20220214\adafruit-circuitpython-bundle-7.x-mpy-20220214\lib\adafruit_24lc32.mpy' -> 'e:\lib\adafruit_24lc32.mpy'
	at Object.copyFileSync (fs.js:1991:3)

Expected behavior It installs/updates library

Desktop (please complete the following information):

  • OS: Windows 11

Additional context I see actual path where libs are differes with adafruit-circuitpython-bundle-py-20220214 instead of adafruit-circuitpython-bundle-7.x-mpy-20220214

Karolis92 avatar Feb 14 '22 16:02 Karolis92

The extension seems to be downloading the source bundle (.py) rather than the usual compiled (.mpy) one.

Also seems to be a dup of #72

kk-sonata avatar Feb 20 '22 19:02 kk-sonata

Same here, Windows 11, VSCode 1.64.2, Extension v0.1.15

jbliesener avatar Mar 01 '22 20:03 jbliesener

Same here on Linux. I always find it incredibly sad when developers create something as useful as this and then lose interest, for whatever reason. Such a pity, I'm sure the fix is not a great deal of work. I have a workaround using node-red to watch the bundle directory and download the correct library and save it as soon as the bundle date changes..

ghayne avatar Mar 06 '22 20:03 ghayne

Same problem. Using Windows 11. VSC 1.65.0 Extension v0.1.15

JanGerene avatar Mar 07 '22 10:03 JanGerene

same issue here, just like you.

Same problem. Using Windows 11. VSC 1.65.0 Extension v0.1.15

HughGrant avatar Mar 08 '22 08:03 HughGrant