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

Non-zero errors with bash notebook in VS Code #137

Closed
davidchatz opened this issue Dec 10, 2023 · 2 comments
Closed

Non-zero errors with bash notebook in VS Code #137

davidchatz opened this issue Dec 10, 2023 · 2 comments

Comments

@davidchatz
Copy link

When running a notebook in VS Code its always generating an error with any cell despite it running successfully. I can see similar issues were raised with versions pre 0.8 (#120), but I'm running

bash_kernel 0.9.1
python 3.11
jupyter 6.1.12
jupyter vscode extension v2023.11.1003402403
macosx 13.6.1

echo "hello world"
echo "hello world"
hello world

1

This kernel and notebooks run just fine when run from jupyter lab, but it would be more convenient if I could run them directly from VS Code.

The kernel spec is

{"argv": ["/usr/local/opt/[email protected]/bin/python3.11", "-m", "bash_kernel", "-f", "{connection_file}"], "codemirror_mode": "shell", "display_name": "Bash", "env": {"PS1": "$"}, "language": "bash"}
echo $PS1
echo $TERM
echo $PS1
PROMPT_HENTDKWZSIFS\[\]>
echo $TERM
dumb

Any suggestions on what to try?

@kdm9
Copy link
Collaborator

kdm9 commented Dec 10, 2023

Double check that bash_kernel 0.9.3 has the same bug you're hitting, as #136 could fix strangeness with more non-standard bash configurations.

@kdm9
Copy link
Collaborator

kdm9 commented May 8, 2024

closing this due to lack of response, but please reopen if problems persist

@kdm9 kdm9 closed this as completed May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants