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

Issues using Julia kernel without a python/conda installatoin #4353

Closed
jlperla opened this issue Jan 12, 2021 · 8 comments
Closed

Issues using Julia kernel without a python/conda installatoin #4353

jlperla opened this issue Jan 12, 2021 · 8 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@jlperla
Copy link

jlperla commented Jan 12, 2021

I am trying to test out usage without an existing conda installation or the the python extension installed. cc @rchiodo

Environment data

  • VS Code version: 1.53.0-insider
  • Jupyter Extension version (available under the Extensions sidebar): 2020.12.414227025
  • Python Extension version (available under the Extensions sidebar): N/A
  • OS (Windows | Mac | Linux distro) and version: WIndows 10
  • Python and/or Anaconda version: N/A
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Jupyter server running: Local

Expected behaviour

I expect to be able to create a Julia notebook without installation of conda or the python extension

Actual behaviour

It seems to ahve trouble connecting to the kernel in that case.

Steps to reproduce:

Minimal Setup:
0. Install the jupyter extension and no other extensions. Not even the Julia one, which should not be needed.

  1. Install Julia on your machine, in my case 1.5.3
  2. In the Juila REPL do an ] add IJulia in julia or a ] build IJulia if you already had it installed. This would install the kernelspec as required.

In vscode:

  1. Do a > Create New Jupyter Notebook and then > Select Notebook Kernel. to choose Julia 1.5.3. I didn't have trouble finding it on my system.
    • The same thing happens if I open a preexsting notebook as well, I will give both logs.
  2. It seems to correctly appear in the lower right hand corner of the window.
  3. If I add in a some code and execute it, it says it is Connecting to kernel: Julia 1.5.3 which is good.
  4. But then it says "Timed out waiting to get a heartbeat from kernel process".

Logs

Output for Jupyter in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter)

User belongs to experiment group 'NativeNotebookEditor'
> ~\AppData\Local\Programs\Julia 1.5.3\bin\julia.exe -i --color=yes --project=@. ~\.julia\packages\IJulia\IDNmS\src\kernel.jl ~\AppData\Local\Temp\tmp-4504pUQHacw3pI8g.json
cwd: c:\Users\jlperla\Documents\GitHub\quantecon-notebooks-julia\getting_started_julia
Error 2021-01-12 10:39:12: Timed out waiting to get a heartbeat from kernel process.
Error 2021-01-12 10:39:12: Failed to connect raw kernel session: Error: Timed out waiting to get a heartbeat from kernel process.
Error 2021-01-12 10:39:12: failed to create INotebook in kernel [Error: Timed out waiting to get a heartbeat from kernel process.
	at m.waitForHeartbeat (c:\Users\jlperla\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\out\client\extension.js:49:637256)]
Error 2021-01-12 10:39:12: DataScience Error [Error: Timed out waiting to get a heartbeat from kernel process.
	at m.waitForHeartbeat (c:\Users\jlperla\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\out\client\extension.js:49:637256)]

A few things:

  • The julia executable points at, C:\users\jlperla\AppData\Local\Programs\Julia 1.5.3\bin\julia.exe But I do find the whole linux ~ thing a little fishy. But maybe that is just how you display it.

Similarly, the same sort of thing happens if I open a preexisting notebook. For example, I have one in c:\Users\jlperla\Documents\GitHub\quantecon-notebooks-julia\getting_started_julia and when I try to run a cell within the kernel I get.

User belongs to experiment group 'NativeNotebookEditor'
> ~\AppData\Local\Programs\Julia 1.5.3\bin\julia.exe -i --color=yes --project=@. ~\.julia\packages\IJulia\IDNmS\src\kernel.jl ~\AppData\Local\Temp\tmp-4504pUQHacw3pI8g.json
cwd: c:\Users\jlperla\Documents\GitHub\quantecon-notebooks-julia\getting_started_julia
Error 2021-01-12 10:39:12: Timed out waiting to get a heartbeat from kernel process.
Error 2021-01-12 10:39:12: Failed to connect raw kernel session: Error: Timed out waiting to get a heartbeat from kernel process.
Error 2021-01-12 10:39:12: failed to create INotebook in kernel [Error: Timed out waiting to get a heartbeat from kernel process.
	at m.waitForHeartbeat (c:\Users\jlperla\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\out\client\extension.js:49:637256)]
Error 2021-01-12 10:39:12: DataScience Error [Error: Timed out waiting to get a heartbeat from kernel process.
	at m.waitForHeartbeat (c:\Users\jlperla\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\out\client\extension.js:49:637256)]
> ~\AppData\Local\Programs\Julia 1.5.3\bin\julia.exe -i --color=yes --project=@. ~\.julia\packages\IJulia\IDNmS\src\kernel.jl ~\AppData\Local\Temp\tmp-4504Q9TMI8Pz57Yl.json
cwd: c:\Users\jlperla\Documents\GitHub\quantecon-notebooks-julia\getting_started_julia
Error 2021-01-12 10:44:49: Timed out waiting to get a heartbeat from kernel process.
Error 2021-01-12 10:44:49: Failed to connect raw kernel session: Error: Timed out waiting to get a heartbeat from kernel process.
Error 2021-01-12 10:44:49: failed to create INotebook in kernel [Error: Timed out waiting to get a heartbeat from kernel process.
	at m.waitForHeartbeat (c:\Users\jlperla\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\out\client\extension.js:49:637256)]
Error 2021-01-12 10:44:49: DataScience Error [Error: Timed out waiting to get a heartbeat from kernel process.
	at m.waitForHeartbeat (c:\Users\jlperla\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\out\client\extension.js:49:637256)]

One thing I will point out is that if I convert over the text that it seems to be using for the kernel.jl call, i.e.

~\AppData\Local\Programs\Julia 1.5.3\bin\julia.exe -i --color=yes --project=@. ~\.julia\packages\IJulia\IDNmS\src\kernel.jl ~\AppData\Local\Temp\tmp-4504pUQHacw3pI8g.json

That is, in powershell I run

PS C:\Users\jlperla\Documents\GitHub> julia.exe -i --color=yes --project=@. $HOME\.julia\packages\IJulia\IDNmS\src\kernel.jl $HOME\AppData\Local\Temp\tmp-274403HLuz4vgGiuM.json
Starting kernel event loops.

Then it seems to be working? But I had trouble due to the space in the path name, so didn't do the $HOME thing there.

Is it possible that this is just a path escaping problem?

@jlperla jlperla added the bug Issue identified by VS Code Team member as probable bug label Jan 12, 2021
@IanMatthewHuff
Copy link
Member

@jlperla Thanks for reporting this. We have added in some CI tests that I believe should have been covering this scenario (operating without the Python extension and without a python install) so I'm not fully sure what is happening here. I'll have to try to get a machine up to investigate. Out of interest could you share the contents of that Julia kernelspec file? That should be what we are pulling that kernel launch info from.

@jlperla
Copy link
Author

jlperla commented Jan 13, 2021

Hi @IanMatthewHuff I think it might be:

{
  "display_name": "Julia 1.5.3",
  "argv": [
    "C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia 1.5.3\\bin\\julia.exe",
    "-i",
    "--color=yes",
    "--project=@.",
    "C:\\Users\\jlperla\\.julia\\packages\\IJulia\\IDNmS\\src\\kernel.jl",
    "{connection_file}"
  ],
  "language": "julia",
  "env": {},
  "interrupt_mode": "message"
}

But that is the one I found by doing the jupyter kernelspec list. Is there another way to check which one you might be picking up instead?

@IanMatthewHuff
Copy link
Member

Could you try one thing quick? On my Julia install the kernel startup time can be really slow. Could you try bumping up the value in the setting Jupyter: Jupyter Launch Timeout. We should rename that now that it's not starting a server most of the time, but we apply that same timeout value to getting the kernel startup up and waiting for a heartbeat from it.

@jlperla
Copy link
Author

jlperla commented Jan 13, 2021

The old settings where:

  • Launch Retires = 3
  • Launch timeout = 60000

I changed my settings to be:

{
    "julia.enableTelemetry": true,
    "jupyter.insidersChannel": "weekly",
    "workbench.editorAssociations": [
        {
            "viewType": "jupyter-notebook",
            "filenamePattern": "*.ipynb"
        }
    ],
    "jupyter.alwaysTrustNotebooks": true,
    "notebook.kernelProviderAssociations": [
        {
            "viewType": "jupyter-notebook",
            "kernelProvider": "ms-toolsai.jupyter"
        }
    ],
    "jupyter.jupyterLaunchTimeout": 120000,
    "jupyter.jupyterLaunchRetries": 10
}

But no luck.:

User belongs to experiment group 'NativeNotebookEditor'
> ~\AppData\Local\Programs\Julia 1.5.3\bin\julia.exe -i --color=yes --project=@. ~\.julia\packages\IJulia\IDNmS\src\kernel.jl ~\AppData\Local\Temp\tmp-4252yxX9Bn2IXDo3.json
cwd: c:\Users\jlperla\Documents\GitHub\quantecon-notebooks-julia\getting_started_julia
Error 2021-01-13 13:53:16: Timed out waiting to get a heartbeat from kernel process.
Error 2021-01-13 13:53:16: Failed to connect raw kernel session: Error: Timed out waiting to get a heartbeat from kernel process.
Error 2021-01-13 13:53:16: failed to create INotebook in kernel [Error: Timed out waiting to get a heartbeat from kernel process.
	at m.waitForHeartbeat (c:\Users\jlperla\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\out\client\extension.js:49:637256)]
Error 2021-01-13 13:53:16: DataScience Error [Error: Timed out waiting to get a heartbeat from kernel process.
	at m.waitForHeartbeat (c:\Users\jlperla\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\out\client\extension.js:49:637256)]

I tried to change from the weekly insiders channel/etc. for jupyter and it didn't help either, as did tryign to opt-out of the new notebook interface.

Is there a way to see the exact string that would be executed on my system to launch the kernel" I don't think the

> ~\AppData\Local\Programs\Julia 1.5.3\bin\julia.exe -i --color=yes --project=@. ~\.julia\packages\IJulia\IDNmS\src\kernel.jl ~\AppData\Local\Temp\tmp-4252yxX9Bn2IXDo3.json

Can't be exactly it since the ~ isn't expanded.

Part of this may be that I can't see what the julia kernel call is actually returning. Is there a way to pass a commandline argument to the kernel to have it pipe to a file? Can I edit that kernelspec file to add another argv, for example? I tried the following, but it didn't end up working

{
  "display_name": "Julia 1.5.3",
  "argv": [
    "C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia 1.5.3\\bin\\julia.exe",
    "-i",
    "--color=yes",
    "--project=@.",
    "C:\\Users\\jlperla\\.julia\\packages\\IJulia\\IDNmS\\src\\kernel.jl",
    "{connection_file}",
    "> C:\\Users\\jlperla\\out.txt"
  ],
  "language": "julia",
  "env": {},
  "interrupt_mode": "message"
}

leading to

User belongs to experiment group 'NativeNotebookEditor'
> ~\AppData\Local\Programs\Julia 1.5.3\bin\julia.exe -i --color=yes --project=@. ~\.julia\packages\IJulia\IDNmS\src\kernel.jl ~\AppData\Local\Temp\tmp-7496BVW1iYnhFMQ5.json "> C:\Users\jlperla\out.txt"
cwd: c:\Users\jlperla\Documents\GitHub\quantecon-notebooks-julia\getting_started_julia
Error 2021-01-13 15:16:45: Timed out waiting to get a heartbeat from kernel process.
Error 2021-01-13 15:16:45: Failed to connect raw kernel session: Error: Timed out waiting to get a heartbeat from kernel process.
Error 2021-01-13 15:16:45: failed to create INotebook in kernel [Error: Timed out waiting to get a heartbeat from kernel process.
	at m.waitForHeartbeat (c:\Users\jlperla\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\out\client\extension.js:49:637256)]
Error 2021-01-13 15:16:45: DataScience Error [Error: Timed out waiting to get a heartbeat from kernel process.
	at m.waitForHeartbeat (c:\Users\jlperla\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\out\client\extension.js:49:637256)]

@IanMatthewHuff
Copy link
Member

@jlperla I just realized, I'm looking this over again and I'm not seeing as much in the output as I was expecting. Between the errors I'd expect to see output from the kernel starting. I think that I might have forgotten to ask about turning on full output. In VS Code settings could you please check and see if the Jupyter: Logging > Level is set to 'debug'? That might surface any errors coming from stdout of the kernel.

I'm normally on Mac, but I have a personal Windows PC as well, and I had Julia + kernelspec installed on there from earlier testing. Then I disabled all extensions expect for the Julia one. That scenario did work for me, and I see the ~ in the path so I don't believe that would be the issue here.
image

@jlperla
Copy link
Author

jlperla commented Jan 15, 2021

That is what i needed, thank.

A few quick points first and then the resolution:

  • I see you have julia 1.0.5 there... It is getting pretty old, so I think it is reasonable to say you only support julia 1.5+ especially since there have been a number of package manager changes related to binaries.
  • To reset, you should just be able to delete your .julia folder, install 1.5.3, and then do an ] add IJulia;precompile.
  • ALso, the vscode julia extension should not be necessary for this to function properly (and I am not installing it in my tests)

Now for this particular bug, the debug output helps track things down. The summary:

The solution if anyone runs into this: delete your manifest, create a new manifest or project file with the packagse you want, and ensure the IJulia is updated in your main enviornment.

@IanMatthewHuff On your side, I think the only thing to consider is whether you want to distinguish between the julia process returing with an error on hte launching of the kernel (which I think it probalby did, but not sure?) vs. saying there is a heartbeat error. Not sure, but otherwise I think it is just a question of ensuring that the errors percolate to the user better if possible.

The full debug log is:

User belongs to experiment group 'NativeNotebookEditor'
Info 2021-01-15 11:25:54: ZMQ install verified.
Info 2021-01-15 11:25:54: Found existing keyfile at c:\Users\jlperla\AppData\Roaming\Code - Insiders\User\globalStorage\ms-toolsai.jupyter\nbsecret
Info 2021-01-15 11:25:54: Attempting to start a server because of preload conditions ...
Info 2021-01-15 11:25:54: Searching for kernel based on {} for Untitled-4.ipynb
Info 2021-01-15 11:25:54: Loading kernelspec from C:\Users\jlperla\AppData\Roaming\jupyter\kernels\julia-1.4\kernel.json for undefined
Info 2021-01-15 11:25:54: Loading kernelspec from C:\Users\jlperla\AppData\Roaming\jupyter\kernels\julia-1.5\kernel.json for undefined
Info 2021-01-15 11:25:54: Loading kernelspec from C:\Users\jlperla\AppData\Roaming\jupyter\kernels\python37764bitsymmetrydpcondadf8a9d0473224c43a3b2405ccc7417ab\kernel.json for undefined
Info 2021-01-15 11:25:54: Loading kernelspec from C:\Users\jlperla\AppData\Roaming\jupyter\kernels\python38264bitsdpcondaaacb591ee41e4a808af31da18ba86838\kernel.json for undefined
Info 2021-01-15 11:25:54: Find kernel spec, Class name = E, completed in 123ms, has a truthy return value, Arg 1: <Uri:Untitled-4.ipynb>, Arg 2: {"language_info":{"name":"julia","nbconvert_exporter":"python"},"orig_nbformat":2}, Arg 3: {"_isCancelled":false,"_emitter":null}, Return Value: {"specFile":"C:\\Users\\jlperla\\AppData\\Roaming\\jupyter\\kernels\\julia-1.4\\kernel.json","name":"julia-1.4","argv":["C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","-i","--startup-file=yes","--color=yes","--project=@.","C:\\Users\\jlperla\\.julia\\packages\\IJulia\\DrVMH\\src\\kernel.jl","{connection_file}"],"language":"julia","path":"C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","display_name":"Julia 1.4.2","env":{},"interrupt_mode":"message"}
Info 2021-01-15 11:25:54: Find kernel spec, Class name = I, completed in 123ms, has a truthy return value, Arg 1: <Uri:Untitled-4.ipynb>, Arg 2: {"language_info":{"name":"julia","nbconvert_exporter":"python"},"orig_nbformat":2}, Arg 3: {"_isCancelled":false,"_emitter":null}, Arg 4: true, Return Value: {"kind":"startUsingKernelSpec","kernelSpec":{"specFile":"C:\\Users\\jlperla\\AppData\\Roaming\\jupyter\\kernels\\julia-1.4\\kernel.json","name":"julia-1.4","argv":["C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","-i","--startup-file=yes","--color=yes","--project=@.","C:\\Users\\jlperla\\.julia\\packages\\IJulia\\DrVMH\\src\\kernel.jl","{connection_file}"],"language":"julia","path":"C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","display_name":"Julia 1.4.2","env":{},"interrupt_mode":"message"}}
Info 2021-01-15 11:26:00: Trusted, Class name = p, completed in 0ms, has a truthy return value, Return Value: true
Info 2021-01-15 11:26:00: Attempting to start a server because of preload conditions ...
Info 2021-01-15 11:26:01: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-01-15 11:26:01: Searching for kernel based on {"display_name":"Julia 1.4.1","language":"julia","name":"julia-1.4"} for c:\Users\jlperla\Documents\GitHub\quantecon-notebooks-julia\getting_started_julia\getting_started.ipynb
Info 2021-01-15 11:26:01: Find kernel spec, Class name = E, completed in 2ms, has a truthy return value, Arg 1: <Uri:c:\Users\jlperla\Documents\GitHub\quantecon-notebooks-julia\getting_started_julia\getting_started.ipynb>, Arg 2: {"date":1589496361.268619,"download_nb":1,"download_nb_path":"https://julia.quantecon.org/","filename":"getting_started.rst","filename_with_path":"getting_started_julia/getting_started","kernelspec":{"display_name":"Julia 1.4.1","language":"julia","name":"julia-1.4"},"language_info":{"file_extension":".jl","mimetype":"application/julia","name":"julia","version":"1.4.1"},"title":"Setting up Your Julia Environment"}, Arg 3: {"_isCancelled":false,"_emitter":null}, Return Value: {"specFile":"C:\\Users\\jlperla\\AppData\\Roaming\\jupyter\\kernels\\julia-1.4\\kernel.json","name":"julia-1.4","argv":["C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","-i","--startup-file=yes","--color=yes","--project=@.","C:\\Users\\jlperla\\.julia\\packages\\IJulia\\DrVMH\\src\\kernel.jl","{connection_file}"],"language":"julia","path":"C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","display_name":"Julia 1.4.2","env":{},"interrupt_mode":"message"}
Info 2021-01-15 11:26:01: Find kernel spec, Class name = I, completed in 3ms, has a truthy return value, Arg 1: <Uri:c:\Users\jlperla\Documents\GitHub\quantecon-notebooks-julia\getting_started_julia\getting_started.ipynb>, Arg 2: {"date":1589496361.268619,"download_nb":1,"download_nb_path":"https://julia.quantecon.org/","filename":"getting_started.rst","filename_with_path":"getting_started_julia/getting_started","kernelspec":{"display_name":"Julia 1.4.1","language":"julia","name":"julia-1.4"},"language_info":{"file_extension":".jl","mimetype":"application/julia","name":"julia","version":"1.4.1"},"title":"Setting up Your Julia Environment"}, Arg 3: {"_isCancelled":false,"_emitter":null}, Arg 4: true, Return Value: {"kind":"startUsingKernelSpec","kernelSpec":{"specFile":"C:\\Users\\jlperla\\AppData\\Roaming\\jupyter\\kernels\\julia-1.4\\kernel.json","name":"julia-1.4","argv":["C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","-i","--startup-file=yes","--color=yes","--project=@.","C:\\Users\\jlperla\\.julia\\packages\\IJulia\\DrVMH\\src\\kernel.jl","{connection_file}"],"language":"julia","path":"C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","display_name":"Julia 1.4.2","env":{},"interrupt_mode":"message"}}
Info 2021-01-15 11:26:04: Trusted, Class name = p, completed in 0ms, has a truthy return value, Return Value: true
Info 2021-01-15 11:26:04: Attempting to start a server because of preload conditions ...
Info 2021-01-15 11:26:04: Searching for kernel based on {"display_name":"Julia 1.4.1","language":"julia","name":"julia-1.4"} for c:\Users\jlperla\Documents\GitHub\quantecon-notebooks-julia\getting_started_julia\introduction_to_types.ipynb
Info 2021-01-15 11:26:04: Find kernel spec, Class name = E, completed in 1ms, has a truthy return value, Arg 1: <Uri:c:\Users\jlperla\Documents\GitHub\quantecon-notebooks-julia\getting_started_julia\introduction_to_types.ipynb>, Arg 2: {"date":1589496361.9318705,"download_nb":1,"download_nb_path":"https://julia.quantecon.org/","filename":"introduction_to_types.rst","filename_with_path":"getting_started_julia/introduction_to_types","kernelspec":{"display_name":"Julia 1.4.1","language":"julia","name":"julia-1.4"},"language_info":{"file_extension":".jl","mimetype":"application/julia","name":"julia","version":"1.4.1"},"title":"Introduction to Types and Generic Programming"}, Arg 3: {"_isCancelled":false,"_emitter":null}, Return Value: {"specFile":"C:\\Users\\jlperla\\AppData\\Roaming\\jupyter\\kernels\\julia-1.4\\kernel.json","name":"julia-1.4","argv":["C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","-i","--startup-file=yes","--color=yes","--project=@.","C:\\Users\\jlperla\\.julia\\packages\\IJulia\\DrVMH\\src\\kernel.jl","{connection_file}"],"language":"julia","path":"C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","display_name":"Julia 1.4.2","env":{},"interrupt_mode":"message"}
Info 2021-01-15 11:26:04: Find kernel spec, Class name = I, completed in 3ms, has a truthy return value, Arg 1: <Uri:c:\Users\jlperla\Documents\GitHub\quantecon-notebooks-julia\getting_started_julia\introduction_to_types.ipynb>, Arg 2: {"date":1589496361.9318705,"download_nb":1,"download_nb_path":"https://julia.quantecon.org/","filename":"introduction_to_types.rst","filename_with_path":"getting_started_julia/introduction_to_types","kernelspec":{"display_name":"Julia 1.4.1","language":"julia","name":"julia-1.4"},"language_info":{"file_extension":".jl","mimetype":"application/julia","name":"julia","version":"1.4.1"},"title":"Introduction to Types and Generic Programming"}, Arg 3: {"_isCancelled":false,"_emitter":null}, Arg 4: true, Return Value: {"kind":"startUsingKernelSpec","kernelSpec":{"specFile":"C:\\Users\\jlperla\\AppData\\Roaming\\jupyter\\kernels\\julia-1.4\\kernel.json","name":"julia-1.4","argv":["C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","-i","--startup-file=yes","--color=yes","--project=@.","C:\\Users\\jlperla\\.julia\\packages\\IJulia\\DrVMH\\src\\kernel.jl","{connection_file}"],"language":"julia","path":"C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","display_name":"Julia 1.4.2","env":{},"interrupt_mode":"message"}}
Info 2021-01-15 11:26:05: Trusted, Class name = p, completed in 0ms, has a truthy return value, Return Value: true
Info 2021-01-15 11:26:05: Attempting to start a server because of preload conditions ...
Info 2021-01-15 11:26:05: Searching for kernel based on {"display_name":"Julia 1.4.1","language":"julia","name":"julia-1.4"} for c:\Users\jlperla\Documents\GitHub\quantecon-notebooks-julia\getting_started_julia\julia_by_example.ipynb
Info 2021-01-15 11:26:05: Find kernel spec, Class name = E, completed in 2ms, has a truthy return value, Arg 1: <Uri:c:\Users\jlperla\Documents\GitHub\quantecon-notebooks-julia\getting_started_julia\julia_by_example.ipynb>, Arg 2: {"date":1589496362.3903027,"download_nb":1,"download_nb_path":"https://julia.quantecon.org/","filename":"julia_by_example.rst","filename_with_path":"getting_started_julia/julia_by_example","kernelspec":{"display_name":"Julia 1.4.1","language":"julia","name":"julia-1.4"},"language_info":{"file_extension":".jl","mimetype":"application/julia","name":"julia","version":"1.4.1"},"title":"Introductory Examples"}, Arg 3: {"_isCancelled":false,"_emitter":null}, Return Value: {"specFile":"C:\\Users\\jlperla\\AppData\\Roaming\\jupyter\\kernels\\julia-1.4\\kernel.json","name":"julia-1.4","argv":["C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","-i","--startup-file=yes","--color=yes","--project=@.","C:\\Users\\jlperla\\.julia\\packages\\IJulia\\DrVMH\\src\\kernel.jl","{connection_file}"],"language":"julia","path":"C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","display_name":"Julia 1.4.2","env":{},"interrupt_mode":"message"}
Info 2021-01-15 11:26:05: Find kernel spec, Class name = I, completed in 2ms, has a truthy return value, Arg 1: <Uri:c:\Users\jlperla\Documents\GitHub\quantecon-notebooks-julia\getting_started_julia\julia_by_example.ipynb>, Arg 2: {"date":1589496362.3903027,"download_nb":1,"download_nb_path":"https://julia.quantecon.org/","filename":"julia_by_example.rst","filename_with_path":"getting_started_julia/julia_by_example","kernelspec":{"display_name":"Julia 1.4.1","language":"julia","name":"julia-1.4"},"language_info":{"file_extension":".jl","mimetype":"application/julia","name":"julia","version":"1.4.1"},"title":"Introductory Examples"}, Arg 3: {"_isCancelled":false,"_emitter":null}, Arg 4: true, Return Value: {"kind":"startUsingKernelSpec","kernelSpec":{"specFile":"C:\\Users\\jlperla\\AppData\\Roaming\\jupyter\\kernels\\julia-1.4\\kernel.json","name":"julia-1.4","argv":["C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","-i","--startup-file=yes","--color=yes","--project=@.","C:\\Users\\jlperla\\.julia\\packages\\IJulia\\DrVMH\\src\\kernel.jl","{connection_file}"],"language":"julia","path":"C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","display_name":"Julia 1.4.2","env":{},"interrupt_mode":"message"}}
Info 2021-01-15 11:26:07: Attempting to start a server because of preload conditions ...
Info 2021-01-15 11:26:07: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-01-15 11:26:07: Searching for kernel based on {} for Untitled-3.ipynb
Info 2021-01-15 11:26:07: Find kernel spec, Class name = E, completed in 5ms, has a truthy return value, Arg 1: <Uri:Untitled-3.ipynb>, Arg 2: {"language_info":{"name":"julia","nbconvert_exporter":"python"},"orig_nbformat":2}, Arg 3: {"_isCancelled":false,"_emitter":null}, Return Value: {"specFile":"C:\\Users\\jlperla\\AppData\\Roaming\\jupyter\\kernels\\julia-1.4\\kernel.json","name":"julia-1.4","argv":["C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","-i","--startup-file=yes","--color=yes","--project=@.","C:\\Users\\jlperla\\.julia\\packages\\IJulia\\DrVMH\\src\\kernel.jl","{connection_file}"],"language":"julia","path":"C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","display_name":"Julia 1.4.2","env":{},"interrupt_mode":"message"}
Info 2021-01-15 11:26:07: Find kernel spec, Class name = I, completed in 6ms, has a truthy return value, Arg 1: <Uri:Untitled-3.ipynb>, Arg 2: {"language_info":{"name":"julia","nbconvert_exporter":"python"},"orig_nbformat":2}, Arg 3: {"_isCancelled":false,"_emitter":null}, Arg 4: true, Return Value: {"kind":"startUsingKernelSpec","kernelSpec":{"specFile":"C:\\Users\\jlperla\\AppData\\Roaming\\jupyter\\kernels\\julia-1.4\\kernel.json","name":"julia-1.4","argv":["C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","-i","--startup-file=yes","--color=yes","--project=@.","C:\\Users\\jlperla\\.julia\\packages\\IJulia\\DrVMH\\src\\kernel.jl","{connection_file}"],"language":"julia","path":"C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia\\Julia-1.4.2\\bin\\julia.exe","display_name":"Julia 1.4.2","env":{},"interrupt_mode":"message"}}
Info 2021-01-15 11:26:18: Execute Cell in kernelWithMetadata.ts
Info 2021-01-15 11:26:18: Creating raw notebook for untitled:Untitled-3.ipynb
Info 2021-01-15 11:26:18: Getting preferred kernel for untitled:Untitled-3.ipynb
Info 2021-01-15 11:26:18: Searching for kernel based on {"name":"julia-1.5","display_name":"Julia 1.5.3"} for Untitled-3.ipynb
Info 2021-01-15 11:26:18: Find kernel spec, Class name = E, completed in 0ms, has a truthy return value, Arg 1: <Uri:Untitled-3.ipynb>, Arg 2: {"language_info":{"codemirror_mode":{"name":"ipython","version":3},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython3","version":3},"orig_nbformat":2,"kernelspec":{"name":"julia-1.5","display_name":"Julia 1.5.3"}}, Arg 3: {"_isCancelled":false,"_emitter":null}, Return Value: {"specFile":"C:\\Users\\jlperla\\AppData\\Roaming\\jupyter\\kernels\\julia-1.5\\kernel.json","name":"julia-1.5","argv":["C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia 1.5.3\\bin\\julia.exe","-i","--color=yes","--project=@.","C:\\Users\\jlperla\\.julia\\packages\\IJulia\\IDNmS\\src\\kernel.jl","{connection_file}"],"language":"julia","path":"C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia 1.5.3\\bin\\julia.exe","display_name":"Julia 1.5.3","env":{},"interrupt_mode":"message"}
Info 2021-01-15 11:26:18: Find kernel spec, Class name = I, completed in 1ms, has a truthy return value, Arg 1: <Uri:Untitled-3.ipynb>, Arg 2: {"language_info":{"codemirror_mode":{"name":"ipython","version":3},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython3","version":3},"orig_nbformat":2,"kernelspec":{"name":"julia-1.5","display_name":"Julia 1.5.3"}}, Arg 3: {"_isCancelled":false,"_emitter":null}, Arg 4: undefined, Return Value: {"kind":"startUsingKernelSpec","kernelSpec":{"specFile":"C:\\Users\\jlperla\\AppData\\Roaming\\jupyter\\kernels\\julia-1.5\\kernel.json","name":"julia-1.5","argv":["C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia 1.5.3\\bin\\julia.exe","-i","--color=yes","--project=@.","C:\\Users\\jlperla\\.julia\\packages\\IJulia\\IDNmS\\src\\kernel.jl","{connection_file}"],"language":"julia","path":"C:\\Users\\jlperla\\AppData\\Local\\Programs\\Julia 1.5.3\\bin\\julia.exe","display_name":"Julia 1.5.3","env":{},"interrupt_mode":"message"}}
Info 2021-01-15 11:26:18: Computing working directory untitled:Untitled-3.ipynb
Info 2021-01-15 11:26:18: Connecting to raw session for untitled:Untitled-3.ipynb
Info 2021-01-15 11:26:18: Cached data exists getEnvironmentVariables, Untitled-3.ipynb
Info 2021-01-15 11:26:18: No custom variables for Kernel as interpreter path is not defined for kernel
Info 2021-01-15 11:26:18: > ~\AppData\Local\Programs\Julia 1.5.3\bin\julia.exe -i --color=yes --project=@. ~\.julia\packages\IJulia\IDNmS\src\kernel.jl ~\AppData\Local\Temp\tmp-8068v4xo82IchEPq.json
> ~\AppData\Local\Programs\Julia 1.5.3\bin\julia.exe -i --color=yes --project=@. ~\.julia\packages\IJulia\IDNmS\src\kernel.jl ~\AppData\Local\Temp\tmp-8068v4xo82IchEPq.json
Info 2021-01-15 11:26:18: cwd: c:\Users\jlperla\Documents\GitHub\quantecon-notebooks-julia\getting_started_julia
cwd: c:\Users\jlperla\Documents\GitHub\quantecon-notebooks-julia\getting_started_julia
Info 2021-01-15 11:26:19: KernelProcess error: [ Info: Precompiling IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a]

Warn 2021-01-15 11:26:19: StdErr from Kernel Process [ Info: Precompiling IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a]

Info 2021-01-15 11:26:22: KernelProcess error: ERROR: 
Warn 2021-01-15 11:26:22: StdErr from Kernel Process ERROR: 
Info 2021-01-15 11:26:22: KernelProcess error: LoadError: 
Warn 2021-01-15 11:26:22: StdErr from Kernel Process LoadError: 
Info 2021-01-15 11:26:23: KernelProcess error: ArgumentError: Package MbedTLS_jll does not have JLLWrappers in its dependencies:
- If you have MbedTLS_jll checked out for development and have
  added JLLWrappers as a dependency but haven't updated your primary
  environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with MbedTLS_jll
Warn 2021-01-15 11:26:23: StdErr from Kernel Process ArgumentError: Package MbedTLS_jll does not have JLLWrappers in its dependencies:
- If you have MbedTLS_jll checked out for development and have
  added JLLWrappers as a dependency but haven't updated your primary
  environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with MbedTLS_jll
Info 2021-01-15 11:26:23: KernelProcess error: 
Stacktrace:
Warn 2021-01-15 11:26:23: StdErr from Kernel Process 
Stacktrace:
Info 2021-01-15 11:26:23: KernelProcess error: 
 [1] 
Warn 2021-01-15 11:26:23: StdErr from Kernel Process 
 [1] 
Info 2021-01-15 11:26:23: KernelProcess error: require
Warn 2021-01-15 11:26:23: StdErr from Kernel Process require
Info 2021-01-15 11:26:23: KernelProcess error: (
Warn 2021-01-15 11:26:23: StdErr from Kernel Process (
Info 2021-01-15 11:26:23: KernelProcess error: ::
Warn 2021-01-15 11:26:23: StdErr from Kernel Process ::
Info 2021-01-15 11:26:23: KernelProcess error: Module, 
Warn 2021-01-15 11:26:23: StdErr from Kernel Process Module, 
Info 2021-01-15 11:26:23: KernelProcess error: ::Symbol) at .\loading.jl:906
 [2] include(::Function, ::Module, ::String)
Warn 2021-01-15 11:26:23: StdErr from Kernel Process ::Symbol) at .\loading.jl:906
 [2] include(::Function, ::Module, ::String)
Info 2021-01-15 11:26:23: KernelProcess error:  at .\Base.jl:380
 [3] include(::Module, ::String) at .\Base.jl:368
 [4] top-level scope at 
Warn 2021-01-15 11:26:23: StdErr from Kernel Process  at .\Base.jl:380
 [3] include(::Module, ::String) at .\Base.jl:368
 [4] top-level scope at 
Info 2021-01-15 11:26:23: KernelProcess error: none:2
 [5] 
Warn 2021-01-15 11:26:23: StdErr from Kernel Process none:2
 [5] 
Info 2021-01-15 11:26:23: KernelProcess error: eval
Warn 2021-01-15 11:26:23: StdErr from Kernel Process eval
Info 2021-01-15 11:26:23: KernelProcess error:  at .\boot.jl:331 [inlined]
 [6] eval(::Expr) at .\client.jl:467
 [7] top-level scope at .\none:3
in expression starting at C:\Users\jlperla\.julia\packages\MbedTLS_jll\qMb7d\src\MbedTLS_jll.jl:5

Warn 2021-01-15 11:26:23: StdErr from Kernel Process  at .\boot.jl:331 [inlined]
 [6] eval(::Expr) at .\client.jl:467
 [7] top-level scope at .\none:3
in expression starting at C:\Users\jlperla\.julia\packages\MbedTLS_jll\qMb7d\src\MbedTLS_jll.jl:5

Info 2021-01-15 11:26:24: KernelProcess error: ERROR: 
Warn 2021-01-15 11:26:24: StdErr from Kernel Process ERROR: 
Info 2021-01-15 11:26:24: KernelProcess error: LoadError: 
Warn 2021-01-15 11:26:24: StdErr from Kernel Process LoadError: 
Info 2021-01-15 11:26:25: KernelProcess error: Failed to precompile MbedTLS_jll [c8ffd9c3-330d-5841-b78e-0817d7145fa1] to C:\Users\jlperla\.julia\compiled\v1.5\MbedTLS_jll\u5NEn_PiYuY.ji.
Warn 2021-01-15 11:26:25: StdErr from Kernel Process Failed to precompile MbedTLS_jll [c8ffd9c3-330d-5841-b78e-0817d7145fa1] to C:\Users\jlperla\.julia\compiled\v1.5\MbedTLS_jll\u5NEn_PiYuY.ji.
Info 2021-01-15 11:26:25: KernelProcess error: 
Stacktrace:
Warn 2021-01-15 11:26:25: StdErr from Kernel Process 
Stacktrace:
Info 2021-01-15 11:26:25: KernelProcess error: 
 [1] 
Warn 2021-01-15 11:26:25: StdErr from Kernel Process 
 [1] 
Info 2021-01-15 11:26:25: KernelProcess error: error
Warn 2021-01-15 11:26:25: StdErr from Kernel Process error
Info 2021-01-15 11:26:25: KernelProcess error: (
Warn 2021-01-15 11:26:25: StdErr from Kernel Process (
Info 2021-01-15 11:26:25: KernelProcess error: ::
Warn 2021-01-15 11:26:25: StdErr from Kernel Process ::
Info 2021-01-15 11:26:25: KernelProcess error: String)
Warn 2021-01-15 11:26:25: StdErr from Kernel Process String)
Info 2021-01-15 11:26:25: KernelProcess error:  at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
 [3] _require
Warn 2021-01-15 11:26:25: StdErr from Kernel Process  at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
 [3] _require
Info 2021-01-15 11:26:25: KernelProcess error: (::Base.PkgId) at .\loading.jl:1030
 [4] require(::Base.PkgId) at 
Warn 2021-01-15 11:26:25: StdErr from Kernel Process (::Base.PkgId) at .\loading.jl:1030
 [4] require(::Base.PkgId) at 
Info 2021-01-15 11:26:25: KernelProcess error: .\loading.jl:928
 [5] require(::Module, ::Symbol) at .\loading.jl:923
 [6] include(::
Warn 2021-01-15 11:26:25: StdErr from Kernel Process .\loading.jl:928
 [5] require(::Module, ::Symbol) at .\loading.jl:923
 [6] include(::
Info 2021-01-15 11:26:25: KernelProcess error: Function, ::Module, ::String) at .\Base.jl:380
 [7] include(::Module, ::
Warn 2021-01-15 11:26:25: StdErr from Kernel Process Function, ::Module, ::String) at .\Base.jl:380
 [7] include(::Module, ::
Info 2021-01-15 11:26:25: KernelProcess error: String) at .\Base.jl:368
 [8] top-level scope at none:2
 [9] 
Warn 2021-01-15 11:26:25: StdErr from Kernel Process String) at .\Base.jl:368
 [8] top-level scope at none:2
 [9] 
Info 2021-01-15 11:26:25: KernelProcess error: eval at 
Warn 2021-01-15 11:26:25: StdErr from Kernel Process eval at 
Info 2021-01-15 11:26:25: KernelProcess error: .\boot.jl:331 [inlined]
 [10] eval(::Expr) at .\client.jl:467
 [11] top-level scope at .\none:3
in expression starting at C:\Users\jlperla\.julia\packages\MbedTLS\4YY6E\src\MbedTLS.jl:3

Warn 2021-01-15 11:26:25: StdErr from Kernel Process .\boot.jl:331 [inlined]
 [10] eval(::Expr) at .\client.jl:467
 [11] top-level scope at .\none:3
in expression starting at C:\Users\jlperla\.julia\packages\MbedTLS\4YY6E\src\MbedTLS.jl:3

Info 2021-01-15 11:26:25: KernelProcess error: ERROR: 
Warn 2021-01-15 11:26:25: StdErr from Kernel Process ERROR: 
Info 2021-01-15 11:26:25: KernelProcess error: LoadError: LoadError: 
Warn 2021-01-15 11:26:25: StdErr from Kernel Process LoadError: LoadError: 
Info 2021-01-15 11:26:26: KernelProcess error: Failed to precompile MbedTLS [739be429-bea8-5141-9913-cc70e7f3736d] to C:\Users\jlperla\.julia\compiled\v1.5\MbedTLS\bf9T0_PiYuY.ji.
Warn 2021-01-15 11:26:26: StdErr from Kernel Process Failed to precompile MbedTLS [739be429-bea8-5141-9913-cc70e7f3736d] to C:\Users\jlperla\.julia\compiled\v1.5\MbedTLS\bf9T0_PiYuY.ji.
Info 2021-01-15 11:26:26: KernelProcess error: 
Stacktrace:
Warn 2021-01-15 11:26:26: StdErr from Kernel Process 
Stacktrace:
Info 2021-01-15 11:26:26: KernelProcess error: 
 [1] 
Warn 2021-01-15 11:26:26: StdErr from Kernel Process 
 [1] 
Info 2021-01-15 11:26:26: KernelProcess error: error
Warn 2021-01-15 11:26:26: StdErr from Kernel Process error
Info 2021-01-15 11:26:26: KernelProcess error: (
Warn 2021-01-15 11:26:26: StdErr from Kernel Process (
Info 2021-01-15 11:26:26: KernelProcess error: ::
Warn 2021-01-15 11:26:26: StdErr from Kernel Process ::
Info 2021-01-15 11:26:26: KernelProcess error: String
Warn 2021-01-15 11:26:26: StdErr from Kernel Process String
Info 2021-01-15 11:26:26: KernelProcess error: ) at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
Warn 2021-01-15 11:26:26: StdErr from Kernel Process ) at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
Info 2021-01-15 11:26:26: KernelProcess error: 
 [3] _require(::Base.PkgId) at .\loading.jl:1030
 [4] require(::Base.PkgId) at 
Warn 2021-01-15 11:26:26: StdErr from Kernel Process 
 [3] _require(::Base.PkgId) at .\loading.jl:1030
 [4] require(::Base.PkgId) at 
Info 2021-01-15 11:26:26: KernelProcess error: .\loading.jl:928
 [5] require(::Module, ::Symbol) at .\loading.jl:923
 [6] include(::Function, 
Warn 2021-01-15 11:26:26: StdErr from Kernel Process .\loading.jl:928
 [5] require(::Module, ::Symbol) at .\loading.jl:923
 [6] include(::Function, 
Info 2021-01-15 11:26:26: KernelProcess error: ::Module, ::String) at .\Base.jl:380
 [7] 
Warn 2021-01-15 11:26:26: StdErr from Kernel Process ::Module, ::String) at .\Base.jl:380
 [7] 
Info 2021-01-15 11:26:26: KernelProcess error: include at 
Warn 2021-01-15 11:26:26: StdErr from Kernel Process include at 
Info 2021-01-15 11:26:26: KernelProcess error: .\Base.jl:368 [inlined]
 [8] include(::String) at C:\Users\jlperla\.julia\packages\IJulia\IDNmS\src\IJulia.jl:33
 [9] top-level scope at C:\Users\jlperla\.julia\packages\IJulia\IDNmS\src\IJulia.jl:309
 [10] include(::Function
Warn 2021-01-15 11:26:26: StdErr from Kernel Process .\Base.jl:368 [inlined]
 [8] include(::String) at C:\Users\jlperla\.julia\packages\IJulia\IDNmS\src\IJulia.jl:33
 [9] top-level scope at C:\Users\jlperla\.julia\packages\IJulia\IDNmS\src\IJulia.jl:309
 [10] include(::Function
Info 2021-01-15 11:26:26: KernelProcess error: , ::Module, ::String) at .\Base.jl:380
 [11] include(::Module, ::String
Warn 2021-01-15 11:26:26: StdErr from Kernel Process , ::Module, ::String) at .\Base.jl:380
 [11] include(::Module, ::String
Info 2021-01-15 11:26:26: KernelProcess error: ) at .\Base.jl:368
 [12] top-level scope at none:2
Warn 2021-01-15 11:26:26: StdErr from Kernel Process ) at .\Base.jl:368
 [12] top-level scope at none:2
Info 2021-01-15 11:26:26: KernelProcess error: 
 [13] eval at .\boot.jl:331 [inlined]

Warn 2021-01-15 11:26:26: StdErr from Kernel Process 
 [13] eval at .\boot.jl:331 [inlined]

Info 2021-01-15 11:26:26: KernelProcess error:  [14] eval(::Expr) at 
Warn 2021-01-15 11:26:26: StdErr from Kernel Process  [14] eval(::Expr) at 
Info 2021-01-15 11:26:26: KernelProcess error: .\client.jl:467
 [15] top-level scope at .\none:3
in expression starting at C:\Users\jlperla\.julia\packages\IJulia\IDNmS\src\hmac.jl:1
in expression starting at C:\Users\jlperla\.julia\packages\IJulia\IDNmS\src\IJulia.jl:309
Warn 2021-01-15 11:26:26: StdErr from Kernel Process .\client.jl:467
 [15] top-level scope at .\none:3
in expression starting at C:\Users\jlperla\.julia\packages\IJulia\IDNmS\src\hmac.jl:1
in expression starting at C:\Users\jlperla\.julia\packages\IJulia\IDNmS\src\IJulia.jl:309
Info 2021-01-15 11:26:26: KernelProcess error: 

Warn 2021-01-15 11:26:26: StdErr from Kernel Process 

Info 2021-01-15 11:26:27: KernelProcess error: ERROR: 
Warn 2021-01-15 11:26:27: StdErr from Kernel Process ERROR: 
Info 2021-01-15 11:26:27: KernelProcess error: LoadError: 
Warn 2021-01-15 11:26:27: StdErr from Kernel Process LoadError: 
Info 2021-01-15 11:26:27: KernelProcess error: Failed to precompile IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a] to C:\Users\jlperla\.julia\compiled\v1.5\IJulia\nfu7T_PiYuY.ji.
Warn 2021-01-15 11:26:27: StdErr from Kernel Process Failed to precompile IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a] to C:\Users\jlperla\.julia\compiled\v1.5\IJulia\nfu7T_PiYuY.ji.
Info 2021-01-15 11:26:27: KernelProcess error: 
Stacktrace:
Warn 2021-01-15 11:26:27: StdErr from Kernel Process 
Stacktrace:
Info 2021-01-15 11:26:28: KernelProcess error: 
 [1] 
Warn 2021-01-15 11:26:28: StdErr from Kernel Process 
 [1] 
Info 2021-01-15 11:26:28: KernelProcess error: error
Warn 2021-01-15 11:26:28: StdErr from Kernel Process error
Info 2021-01-15 11:26:28: KernelProcess error: (
Warn 2021-01-15 11:26:28: StdErr from Kernel Process (
Info 2021-01-15 11:26:28: KernelProcess error: ::
Warn 2021-01-15 11:26:28: StdErr from Kernel Process ::
Info 2021-01-15 11:26:28: KernelProcess error: String)
Warn 2021-01-15 11:26:28: StdErr from Kernel Process String)
Info 2021-01-15 11:26:28: KernelProcess error:  at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
 [3] _require(::Base.PkgId) at .\loading.jl:1030
 [4] 
Warn 2021-01-15 11:26:28: StdErr from Kernel Process  at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
 [3] _require(::Base.PkgId) at .\loading.jl:1030
 [4] 
Info 2021-01-15 11:26:28: KernelProcess error: require(::Base.PkgId) at .\loading.jl:928
 [5] require(::Module, ::Symbol) at .\loading.jl:923

Warn 2021-01-15 11:26:28: StdErr from Kernel Process require(::Base.PkgId) at .\loading.jl:928
 [5] require(::Module, ::Symbol) at .\loading.jl:923

Info 2021-01-15 11:26:28: KernelProcess error:  [6] include(::Function, ::Module, ::String) at .\Base.jl:380
 [7] include(::Module, ::String) at .\Base.jl:368
 [8] exec_options(::Base.JLOptions) at .\client.jl:296

Warn 2021-01-15 11:26:28: StdErr from Kernel Process  [6] include(::Function, ::Module, ::String) at .\Base.jl:380
 [7] include(::Module, ::String) at .\Base.jl:368
 [8] exec_options(::Base.JLOptions) at .\client.jl:296

Info 2021-01-15 11:26:28: KernelProcess error:  [9] _start() at .\client.jl:506
in expression starting at C:\Users\jlperla\.julia\packages\IJulia\IDNmS\src\kernel.jl:1

Warn 2021-01-15 11:26:28: StdErr from Kernel Process  [9] _start() at .\client.jl:506
in expression starting at C:\Users\jlperla\.julia\packages\IJulia\IDNmS\src\kernel.jl:1

Error 2021-01-15 11:26:48: Timed out waiting to get a heartbeat from kernel process.
Error 2021-01-15 11:26:48: Failed to connect raw kernel session: Error: Timed out waiting to get a heartbeat from kernel process.
Info 2021-01-15 11:26:48: Shutdown session -- complete
Error 2021-01-15 11:26:48: failed to create INotebook in kernel [Error: Timed out waiting to get a heartbeat from kernel process.
	at m.waitForHeartbeat (c:\Users\jlperla\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\out\client\extension.js:49:637256)]
Error 2021-01-15 11:26:48: DataScience Error [Error: Timed out waiting to get a heartbeat from kernel process.
	at m.waitForHeartbeat (c:\Users\jlperla\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\out\client\extension.js:49:637256)]
Info 2021-01-15 11:26:48: KernelProcess Exit Exit - null

@jlperla jlperla closed this as completed Jan 15, 2021
@IanMatthewHuff
Copy link
Member

@jlperla Your comment on this is very relevant. It's actually an issue that we are working on addressing now.

The crux of the issue is that 'timeout' error isn't useful to the user, and it's more of a catch-all chokepoint for any issues with a kernel failing to start. Even in just the Python world kernels can fail to start in a myriad of ways and now that we're starting up other language kernels directly there are more options for failing kernels here. Were talking some about better options here, but as a stopgap in our next release I believe that we're adding a warning message in the timeout case directing users to the advanced logging option so that they can at least see the output coming in.

Regarding the Julia version I believe that I had 1.0.5 as it was listed as the LTS version on the Julia site. Does look pretty old though so I'll look at installing the newest stable as well. I think that for our testing we're actually using the newest stable, LTS was just what I happened to have installed.

@jlperla
Copy link
Author

jlperla commented Jan 19, 2021

@IanMatthewHuff All sounds great. For julia, the last LTS is the 1.05 (although they are talking about the upcoming release maybe being the new LTS) but the package system and binary distribution stuff has changed so radically since 1.0.5 that I think that testing on 1.5 or above is much more sane at this point. I am willing to bet that nobody stuck on the LTS is going to use this feature prior to a new LTS.

BTW, for testing out any changes to your user info on kernel problems, you might be able to replicate the exact issue that I saw by cloning https://github.com/QuantEcon/quantecon-notebooks-julia and then opening one of those notebooks inside of that folder (which picks up the Project.toml and Manifest.toml by going recursively up the directories). It probably will have the same problem I had, but might not. Regardless, you would need julia 1.4 or above.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants