iodide-project / iodide-project/iodide

on localhost, loading Julia before Python causes error, but loading python before julia is fine

Open
#1,479 1 comment 0 reactions 1 assignee Claimed by @mdboom View on GitHub
bug
Dominant language
JavaScript
Stars
1.5k
Forks
145
PR merge metrics
No merged PRs in 30d

Description

cc @mdboom -

Not sure what to make of this issue, since this appears to be a problem primarily on localhost (on `master`, can't reproduce on `extremely-alpha`). If you run these cells sequentially, it succeeds:

```
%% py

[1,12,1]

%% plugin
{
"languageId": "jl",
"displayName": "julia",
"codeMirrorMode": "julia",
"keybinding": "j",
"url": "https://keno.github.io/julia-wasm/julide/julide.js",
"module": "jlodide",
"evaluator": "runJulia",
"pluginType": "language"
}

%% jl
Sys.ARCH

```

But this fails:

```
%% plugin
{
"languageId": "jl",
"displayName": "julia",
"codeMirrorMode": "julia",
"keybinding": "j",
"url": "https://keno.github.io/julia-wasm/julide/julide.js",
"module": "jlodide",
"evaluator": "runJulia",
"pluginType": "language"
}

%% jl
Sys.ARCH

%% py
[1,12,1]

```

It could be the Julia is clobbering something somewhere in the setup that prevents python from working as expected, in which case it'd be a bug on the `julia-wasm` end.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.