Julia does not run in Atom!


#1

Install the following packages by hand, and with the procedure shown in the code lines:

C:\Users\XXXXX>cd .atom

C:\Users\XXXXX\.atom>cd packages

git clone https://github.com/JunoLab/atom-ink.git
C:\Users\XXXXX\.atom\packages>cd atom-ink
C:\Users\XXXXX\.atom\packages\atom-ink>apm install
Installing modules done

git clone https://github.com/JunoLab/uber-juno.git
 C:\Users\XXXXX\.atom\packages>cd uber-juno
 C:\Users\XXXXX\.atom\packages\uber-juno>apm install
Installing modules done

 git clone https://github.com/JunoLab/atom-julia-client.git
C:\Users\XXXXX\.atom\packages>cd atom-julia-client
C:\Users\XXXXX\.atom\packages\atom-julia-client>amp install

 git clone https://github.com/JuliaEditorSupport/atom-language-julia.git
C:\Users\XXXXX\.atom\packages>cd atom-language-julia
C:\Users\XXXXX\.atom\packages\atom-language-julia>apm install
Installing modules done

git clone https://github.com/nteract/hydrogen.git
C:\Users\XXXXX\.atom\packages>cd hydrogen
C:\Users\XXXXX\.atom\packages\hydrogen>apm install

But all the time when I intend to run Ju; ia from Atom I receive the following alert:

Press Enter to start Julia.
ERROR: System image file failed consistency check: maybe opened the wrong version?

How to proceed? To achieve the task

C:\Users\hermesr>apm -version
apm 2.1.2
npm 6.2.0
node 8.9.3 ia32
atom 1.32.2
python
git 2.19.1.windows.1
visual studio


#2

How did you install Julia and the Julia packages? Does the Julia REPL itself work fine? What happens when you call using Atom in a normal Julia REPL?


#3
julia> using Atom
[ Info: Precompiling Atom [c52e3926-4ff0-5f6e-af25-54175e0327b1]
WARNING: Method definition displayable(Atom.JunoDisplay, Base.MIME{Symbol("appli
cation/prs.juno.jlpane")}) in module Atom at C:\Users\XXXXX\.julia\packages\At
om\v2iqN\src\display\showdisplay.jl:92 overwritten at C:\Users\XXXXX\.julia\pa
ckages\Atom\v2iqN\src\display\showdisplay.jl:94.
WARNING: could not import Base.endof into StringDistances

#4

And are you sure that that version of Julia is the one you’re trying to start from Juno too? You can double check in the julia-client settings.


#5

If this can help in something:

config.cson
"*":
  "autocomplete-plus":
    confirmCompletion: "tab always, enter when suggestion explicitly selected"
  editor:
    scrollPastEnd: true
  "exception-reporting":
    userId: "a8552954-dcde-45d0-801e-90bbcea11c73"
  "julia-client":
    firstBoot: false
    juliaPath: "C:\\Users\\hermesr\\AppData\\Local\\Julia-1.0.2\\bin\\julia.exe"
    uiOptions:
      enableMenu: true
      enableToolBar: true
  "tool-bar":
    position: "Left"
  "uber-juno":
    disable: true

> VM22 <embedded>:14 Unable to locate git workspace root for C:\Users\hermesr\Documents\Julia software\Julia Scripts. Expected if C:\Users\hermesr\Documents\Julia software\Julia Scripts is not in a git repository. GitError: git rev-parse --show-toplevel in C:\Users\hermesr\Documents\Julia software\Julia Scripts exited with code 128
> 
> stdout:
> 
> stderr: fatal: not a git repository (or any of the parent directories): .git
> 
> at new GitError (C:\Users\hermesr\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:14:2765929)
> 
> at Promise (C:\Users\hermesr\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:14:2770747)
> 
> at <anonymous>
> 
> at process._tickCallback (internal/process/next_tick.js:188:7)
> 
> revParse @ VM22 <embedded>:14


#8

:grinning:

Solved the problem:
Atom under Julia -> Settings:

Uncheck “Enable Powershell Wrapper”.

Thank you