Replies: 8 comments 18 replies
-
Interesting....this works for me w/ Python 3 on Mac OX. Sounds like there might be a case-sensitivity problem w/ kernel names? What is the output for you of
Note the lower case kernel name. If you execute
|
Beta Was this translation helpful? Give feedback.
-
Right I saw that, I'm just noting that
If the versions you are running are different from what's above you might try updating those packages. You could also try updating the package w/ the bash kernel. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure what's going on then. My first test was on Mac and now I've tried again on Linux (as it looks like that's where you are running). Here is my "python": {
"versionMajor": 3,
"versionMinor": 8,
"versionPatch": 10,
"versionStr": "3.8.10 (default, Mar 15 2022, 12:22:08) [GCC 9.4.0]",
"conda": false,
"execPrefix": "/home/jjallaire/quarto/dev/bash-kernel/env",
"executable": "/home/jjallaire/quarto/dev/bash-kernel/env/bin/python3",
"jupyter_core": "4.9.2",
"nbformat": "5.3.0",
"nbclient": "0.6.0",
"ipykernel": "6.13.0",
"pyLauncher": false,
"kernels": [
{
"name": "bash",
"language": "bash",
"display_name": "Bash"
},
{
"name": "python3",
"language": "python",
"display_name": "Python 3 (ipykernel)"
}
],
"venv": true
} |
Beta Was this translation helpful? Give feedback.
-
It is printing whatever error is returned by the kernel. You could try the flag |
Beta Was this translation helpful? Give feedback.
-
@aborruso I think the problem is like with shell magic command, it is related to the daemon. This means that executing with Works for me when I try |
Beta Was this translation helpful? Give feedback.
-
For the use case of running bash commands within Python cells (w/ magics, etc.) we now have a fix that will automatically turn off daemon mode if bash commands are detected: 537cf3c |
Beta Was this translation helpful? Give feedback.
-
I have a related question that surfaces on Windows (not under WSL) with Quarto 0.9.611. Here's the code. Note the lowercase
Then
If I change the lowercase
Here's the output of
I realize this is hard to replicate without a working SAS installation, and I'm pretty sure the regexp error is unrelated to the Bash problem outlined above, but I noticed the similarity with behavior between I also noticed a difference in the converted |
Beta Was this translation helpful? Give feedback.
-
I think the problem is not related to case but rather to how we are handling SAS option comments (specifically we are not escaping the Fix is available in this build: https://github.com/quarto-dev/quarto-cli/releases/tag/v0.9.613 Note that option comments need to be valid SAS comment lines including the trailing ```{sas}
*| echo: false ;
``` |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I use sometime in my notebook this bash kernel.
Is it possibile to use this kernel and bash computation inside Quarto?
Using this the below hello world qmd file, and running
quarto preview
I have this error:If I change
to
I have no more the error (
Bash
should be the right label), but I have no code excution.Thank you
Beta Was this translation helpful? Give feedback.
All reactions