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

Cannot use REPL console. #21

Closed
Lak4CYUT opened this issue Sep 16, 2022 · 12 comments
Closed

Cannot use REPL console. #21

Lak4CYUT opened this issue Sep 16, 2022 · 12 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Lak4CYUT
Copy link

What are the steps to reproduce this issue?

  1. Open VSCode.
  2. Open a Pico W Go project.
  3. Wait.

What happens?

A dialog show the "Unable to start the terminal".

What were you expecting to happen?

Show REPL console terminal.

Any logs, error output, etc?

(If it’s long, please paste to https://gist.github.com and insert the link here)
Platform: Ubuntu
VSCode version: 1.70.2

Any other comments?

Support info

Copy this from the Help -> Info -> Copy option in Visual Studio Code:
Version: 1.70.2
Commit: e4503b30fc78200f846c62cf8091b76ff5547662
Date: 2022-08-16T05:36:25.715Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: 10.0.139.17-electron.0
OS: Linux x64 5.4.0-96-generic

< Paste Here >
@Lak4CYUT Lak4CYUT added the bug Something isn't working label Sep 16, 2022
@aaaaahaaaaa
Copy link

aaaaahaaaaa commented Sep 16, 2022

I experience the same issue.

@apazdnikov
Copy link

apazdnikov commented Sep 17, 2022

Hello, experience the same issue.
Tried to downgrade the pico-w extension till 2.0.0, the same behavior.

Version: 1.71.2
Commit: 74b1f979648cc44d385a2286793c226e611f59e7
Date: 2022-09-14T21:12:14.256Z
Electron: 19.0.12
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Linux x64 5.15.0-46-generic snap
Sandboxed: No

@migs35323
Copy link

probably related, in my case vscode opens like 4 terminals and i can't seem to close them, they respawn

@paulober
Copy link
Owner

What happens?

A dialog show the "Unable to start the terminal".

Ok, can you please reproduce the error, open a new "normal" terminal > output panel > select something with "(Extensionhost)" at then end, and then copy the output concerning picowgo to something like a gist or directly into the issue?

@paulober
Copy link
Owner

probably related, in my case vscode opens like 4 terminals and i can't seem to close them, they respawn

I know, that's a known issue. I'm working on it as it affects all platforms.

@paulober
Copy link
Owner

paulober commented Sep 18, 2022

@migs35323

There is a workaround. Instead of opening VS Code via a shortcut just run code C:\path\to\project\folder in terminal as this should not reload the terminals from your last session.

@Lak4CYUT
Copy link
Author

probably related, in my case vscode opens like 4 terminals and i can't seem to close them, they respawn

Yes, I got the same problem.

@Lak4CYUT
Copy link
Author

Lak4CYUT commented Sep 19, 2022

What happens?

A dialog show the "Unable to start the terminal".

Ok, can you please reproduce the error, open a new "normal" terminal > output panel > select something with "(Extensionhost)" at then end, and then copy the output concerning picowgo to something like a gist or directly into the issue?

Sure.
https://gist.github.com/Lak4CYUT/cce611f288955f924509fd00b21624b6

@paulober
Copy link
Owner

Should be fixed now with version v2.1.0.
Can you confirm?

@paulober paulober added this to the v2.1.0 milestone Sep 24, 2022
@paulober paulober self-assigned this Sep 24, 2022
@aaaaahaaaaa
Copy link

I confirm it's working on my side.

Small feedback: I've never worked on a VSCode extension myself, but from UX point of view, it does feel like an oddity that it always forces a terminal to be opened. It would feel better if the Pico Console was available in the list of available terminals, and could be opened and closed freely.

@paulober
Copy link
Owner

Small feedback: I've never worked on a VSCode extension myself, but from UX point of view, it does feel like an oddity that it always forces a terminal to be opened. It would feel better if the Pico Console was available in the list of available terminals, and could be opened and closed freely.

As of now you can set "picowgo.openOnStart" to false in your porject settings, this would avoid opening the terminal on start. But i'll add this feature to the list.

@Lak4CYUT
Copy link
Author

Lak4CYUT commented Sep 27, 2022

@paulober

Should be fixed now with version v2.1.0. Can you confirm?

Confirmed, it is fixed on my Ubuntu. Thanks.

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

5 participants