Comments (10)
I also have this problem on Manjaro. It works on my windows desktop so I assume it probably a Linux issue.
from micropico.
Update: after much research I have learned that this is a problem with the latest version of VS code having an issue with loading some micro-controller programming extensions. They say you can rollback your installation, but I didn't have any luck.
from micropico.
I am sorry to hear that you are having these problems with the extension. I don't know how the vscode snap version differs from the others in terms of loading the extension, but maybe that could be the reason for skipping the initialization of the extension which would initialize all the commands and the taskbar. Maybe i get this problem fixed with version 2.0 of this extension coming (hopefully) in the next time
from micropico.
Should be fixed now in version 2.0.0+
Can you confirm?
from micropico.
On VS code 1.71.0 and on the plugin release from 9/5/2022 it still does not work for me.
from micropico.
Ok, can you reproduce this error and then open ther visual studio code terminal -> select the output pane -> select Protocoll (Extensionhost) in the dropdown can past the contenct into pastebin, gist or something like that. This constains log information why the extension crashes on you setup.
from micropico.
it's in a big loop now, its worse lol
it's spamming theese window non stop
closed vscode and opened again, i can't use vscode lol
found this in the log shared tab not sure if its your extention or other:
[2022-09-05 23:49:18.168] [sharedprocess] [error] [uncaught exception in sharedProcess]: Could not find pty on pty host: CodeExpectedError: Could not find pty on pty host at c._throwIfNoPty (/snap/code/106/usr/share/code/resources/app/out/vs/platform/terminal/node/ptyHostMain.js:23:36316) at c.resize (/snap/code/106/usr/share/code/resources/app/out/vs/platform/terminal/node/ptyHostMain.js:23:33195) at Object.call (/snap/code/106/usr/share/code/resources/app/out/vs/platform/terminal/node/ptyHostMain.js:16:8386) at u.onPromise (/snap/code/106/usr/share/code/resources/app/out/vs/platform/terminal/node/ptyHostMain.js:15:5851) at u.onRawMessage (/snap/code/106/usr/share/code/resources/app/out/vs/platform/terminal/node/ptyHostMain.js:15:5234) at /snap/code/106/usr/share/code/resources/app/out/vs/platform/terminal/node/ptyHostMain.js:15:4520 at _.invoke (/snap/code/106/usr/share/code/resources/app/out/vs/platform/terminal/node/ptyHostMain.js:11:145) at D.deliver (/snap/code/106/usr/share/code/resources/app/out/vs/platform/terminal/node/ptyHostMain.js:11:2275) at T.fire (/snap/code/106/usr/share/code/resources/app/out/vs/platform/terminal/node/ptyHostMain.js:11:1853) at process.Q (/snap/code/106/usr/share/code/resources/app/out/vs/platform/terminal/node/ptyHostMain.js:9:20703) at process.emit (node:events:526:28) at emit (node:internal/child_process:938:14)
the log extension host shows this, nothing important i believe
[2022-09-05 23:49:37.790] [exthost] [info] Extension host with pid 5582 started [2022-09-05 23:49:37.924] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft' [2022-09-05 23:49:37.958] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: true, activationEvent: '*' [2022-09-05 23:49:37.962] [exthost] [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git [2022-09-05 23:49:37.967] [exthost] [info] ExtensionService#_doActivateExtension vscode.ipynb, startup: true, activationEvent: '*' [2022-09-05 23:49:38.069] [exthost] [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*' [2022-09-05 23:49:38.102] [exthost] [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*' [2022-09-05 23:49:38.150] [exthost] [info] Eager extensions activated [2022-09-05 23:49:38.170] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onStartupFinished' [2022-09-05 23:49:38.181] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' [2022-09-05 23:49:38.186] [exthost] [info] ExtensionService#_doActivateExtension vscode.npm, startup: false, activationEvent: 'onStartupFinished', root cause: esbenp.prettier-vscode [2022-09-05 23:49:38.207] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-containers, startup: false, activationEvent: 'onStartupFinished' [2022-09-05 23:49:38.283] [exthost] [info] ExtensionService#_doActivateExtension PKief.material-icon-theme, startup: false, activationEvent: 'onStartupFinished' [2022-09-05 23:49:38.301] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github' [2022-09-05 23:49:38.432] [exthost] [info] ExtensionService#_doActivateExtension esbenp.prettier-vscode, startup: false, activationEvent: 'onStartupFinished'
and here's what is on pty host, this is a piece. the log is full of theese:
[2022-09-05 23:49:16.488] [ptyhost] [warning] Shell integration cannot be enabled for executable "/usr/bin/python3" and args ["/home/ubuntu/.vscode/extensions/paulober.pico-w-go-2.0.3-linux-x64/dist/terminalExec.py","1972"] [2022-09-05 23:49:17.694] [ptyhost] [warning] Shell integration cannot be enabled for executable "/usr/bin/python3" and args ["/home/ubuntu/.vscode/extensions/paulober.pico-w-go-2.0.3-linux-x64/dist/terminalExec.py","2332"] [2022-09-05 23:49:18.325] [ptyhost] [warning] Shell integration cannot be enabled for executable "/usr/bin/python3" and args ["/home/ubuntu/.vscode/extensions/paulober.pico-w-go-2.0.3-linux-x64/dist/terminalExec.py","1920"] [2022-09-05 23:49:18.853] [ptyhost] [warning] Shell integration cannot be enabled for executable "/usr/bin/python3" and args ["/home/ubuntu/.vscode/extensions/paulober.pico-w-go-2.0.3-linux-x64/dist/terminalExec.py","1909"] [2022-09-05 23:49:19.352] [ptyhost] [warning] Shell integration cannot be enabled for executable "/usr/bin/python3" and args ["/home/ubuntu/.vscode/extensions/paulober.pico-w-go-2.0.3-linux-x64/dist/terminalExec.py","2264"]
from micropico.
I just tested the extension on manjaro Linux at i think i found the problem. Expect fix soon.
from micropico.
@migs35323 should be fixed now with v2.0.4. Can you confirm?
from micropico.
@paulober thank you a lot for the fixing and quick actions, i will be able to test later today, will provide feedback once i have the change to try
from micropico.
Related Issues (20)
- Problems after re-connecting usb HOT 4
- Use VSCode serial API to reduce TD and
- Issues connecting on a MAC toggling from Pico Connect to Pico Disconnected HOT 12
- Question: deactivation
- Code Quirk? HOT 1
- 'MicroPico:Extra > Switch stubs' resulted in an error (wrong path)
- Debug variables
- [error] Invalid version for /usr/bin/python HOT 2
- How can I get a listing of the files already on the Pico? HOT 2
- MicroPico disconnect won't free serial port HOT 3
- friendly names for additional sync folders
- Project configuration fails when creating new project on external drive HOT 4
- repl not reading print data when not in while true loop
- pico keeps disconnecting and reconnecting when i try to run a script on it HOT 8
- Upload/ Sync syncFIleTypes seems to not respected when editing
- Sync Folder seems to not respected settings.json HOT 4
- Switch stubs throw syntax error "&" unexpected HOT 1
- Working on two Raspberry Pi Picos in two workspaces, uploading code copies to both
- Under Linux, cannot connect ot Pico HOT 3
- stubs for @rp2.asm_pio PIO methods HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from micropico.