question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unclear on how to use Lua kernel

See original GitHub issue

Environment data

  • VS Code version: 1.54-insiders
  • Jupyter Extension version (available under the Extensions sidebar): Version: 2020.12.414227025
  • Python Extension version (available under the Extensions sidebar): v2021.2.531887795-dev
  • OS (Windows | Mac | Linux distro) and version: Windows
  • Python and/or Anaconda version: 3.8
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
  • Jupyter server running: Remote (WSL)

Expected behaviour

An UI hint that explains how to use Kernels that are not part of the preconfigured list

Actual behaviour

No hint

Steps to reproduce:

  • Try to use the iLua kernel

In comparison to the Python interpreter popup, the Jupyter Kernel one does not have an option to add one manually.

Logs

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

XXX

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
DavidKutucommented, Feb 9, 2021

Thanks for letting us know @Stanzilla.

We only check on specific places to look for kerneles, this is for performance reasons. So all you need to do to get your lua kernel on VS code is:

  1. Follow the instructions on the link you shared, the lua kernel should be on <your folder>\ilua\~\.local\share\jupyter\kernels
  2. Copy that lua kernel to C:\Users\<user>\AppData\Roaming\jupyter\kernels
  3. Reload VS code

With that the lua kernel should come up on the kernel picker: image

Let me know if this helps

0reactions
rchiodocommented, Aug 31, 2021

Closing as this issue seems like an installation problem of lua itself and not an issue with the jupyter extension.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lua in the kernel? - LWN.net
NFLua is implemented as a loadable kernel module that contains the Lunatik framework, the Lua interpreter, and whatever libraries are being made available...
Read more >
Is there anyway to avoid this security issue in Lua?
First and foremost execute untrusted code in sandboxed environment only – as it was said by other posters. Except for loading bytecode ...
Read more >
From Jupyter to the Moon. A new Jupyter kernel for Lua based ...
I am pleased to announce xeus-lua, a new Jupyter kernel for the Lua language based on Xeus. Using Sol2 and Xeus, it was...
Read more >
Why is the Lua scripting language so hated? - Quora
One possible reason is that Lua is error prone (see examples below). ... Can Lua be considered a confusing programming language? Why or...
Read more >
VR JuggLua: A Framework for VR Applications Combining ...
Using VR JuggLua, VR applications can be written entirely in Lua, building from the base level of the VR Juggler kernel frame loop....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found