Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Command "CircuitPython: Show Available Libraries" resulted in an error #130

Open
Spongman opened this issue Dec 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Spongman
Copy link

Spongman commented Dec 16, 2023

image

  • OS: win10

More Info
Published 2020-03-03, 16:30:41
Last released 2023-02-13, 06:52:30

2023-12-15 23:13:21.426 [error] TypeError: Cannot read properties of undefined (reading 'name')
	at new LibraryQP (c:\Users\User\.vscode\extensions\joedevivo.vscode-circuitpython-0.1.20-win32-x64\out\librarymanager\libraryManager.js:25:24)
	at c:\Users\User\.vscode\extensions\joedevivo.vscode-circuitpython-0.1.20-win32-x64\out\librarymanager\libraryManager.js:149:26
	at Array.forEach (<anonymous>)
	at LibraryManager.getInstalledChoices (c:\Users\User\.vscode\extensions\joedevivo.vscode-circuitpython-0.1.20-win32-x64\out\librarymanager\libraryManager.js:146:59)
	at LibraryManager.getAllChoices (c:\Users\User\.vscode\extensions\joedevivo.vscode-circuitpython-0.1.20-win32-x64\out\librarymanager\libraryManager.js:140:37)
	at LibraryManager.show (c:\Users\User\.vscode\extensions\joedevivo.vscode-circuitpython-0.1.20-win32-x64\out\librarymanager\libraryManager.js:120:28)
	at c:\Users\User\.vscode\extensions\joedevivo.vscode-circuitpython-0.1.20-win32-x64\out\container.js:39:73
	at d.h (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:141:140094)
	at d.$executeContributedCommand (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:141:140954)
	at l.S (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:10829)
	at l.Q (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:10595)
	at l.M (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:9685)
	at l.L (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:8764)
	at f.value (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:7567)
	at n.y (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:80:1902)
	at n.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:80:2119)
	at o.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:103:14039)
	at f.value (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:7903)
	at n.y (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:80:1902)
	at n.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:80:2119)
	at o.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:103:14039)
	at MessagePortMain.<anonymous> (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:6183)
	at MessagePortMain.emit (node:events:513:28)
	at MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:367) circuitpython.library.show {"value":"joedevivo.vscode-circuitpython","_lower":"joedevivo.vscode-circuitpython"}

LibraryQP.constructor():

    this.label = b.name;

b is undefined

@Spongman Spongman added the bug Something isn't working label Dec 16, 2023
@joedevivo
Copy link
Owner

This should be fixed in v0.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants