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

Fail to precompile Atom #155

Closed
tlienart opened this issue Aug 19, 2019 · 3 comments
Closed

Fail to precompile Atom #155

tlienart opened this issue Aug 19, 2019 · 3 comments

Comments

@tlienart
Copy link
Contributor

tlienart commented Aug 19, 2019

julia v"1.3.0-rc1.0"
julia-client 0.9.4
language-julia 0.19.1

issue seems to stem from Traceur.jl, when modifying Traceur/src/analysis.jl L143 from

 warn(call, l, "$var is assigned as $t")

to

warn(call, l, "$var is assigned as $(t)")

the error goes away (...); this may be a bug to do with Julia 1.3-rc1.

stacktrace

Julia has exited. Press Enter to start a new session.
Starting Julia...
[ Info: Precompiling Atom [c52e3926-4ff0-5f6e-af25-54175e0327b1]
ERROR: LoadError: LoadError: syntax: interpolated variable $is ends with invalid character "t"; use "$(is)" instead.
Stacktrace:
 [1] top-level scope at /Users/tlienart/.julia/packages/Traceur/OKJwj/src/analysis.jl:143
 [2] include at ./boot.jl:328 [inlined]
 [3] include_relative(::Module, ::String) at ./loading.jl:1105
 [4] include at ./Base.jl:31 [inlined]
 [5] include(::String) at /Users/tlienart/.julia/packages/Traceur/OKJwj/src/Traceur.jl:1
 [6] top-level scope at /Users/tlienart/.julia/packages/Traceur/OKJwj/src/Traceur.jl:12
 [7] include at ./boot.jl:328 [inlined]
 [8] include_relative(::Module, ::String) at ./loading.jl:1105
 [9] include(::Module, ::String) at ./Base.jl:31
 [10] top-level scope at none:2
 [11] eval at ./boot.jl:330 [inlined]
 [12] eval(::Expr) at ./client.jl:433
 [13] top-level scope at ./none:3
in expression starting at /Users/tlienart/.julia/packages/Traceur/OKJwj/src/analysis.jl:143
in expression starting at /Users/tlienart/.julia/packages/Traceur/OKJwj/src/Traceur.jl:12
ERROR: LoadError: LoadError: Failed to precompile Traceur [37b6cedf-1f77-55f8-9503-c64b63398394] to /Users/tlienart/.julia/compiled/v1.3/Traceur/QT21m_UpH5i.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1274
 [3] _require(::Base.PkgId) at ./loading.jl:1024
 [4] require(::Base.PkgId) at ./loading.jl:922
 [5] require(::Module, ::Symbol) at ./loading.jl:917
 [6] include at ./boot.jl:328 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1105
 [8] include at ./Base.jl:31 [inlined]
 [9] include(::String) at /Users/tlienart/.julia/packages/Atom/Wouyw/src/Atom.jl:3
 [10] top-level scope at /Users/tlienart/.julia/packages/Atom/Wouyw/src/Atom.jl:57
 [11] include at ./boot.jl:328 [inlined]
 [12] include_relative(::Module, ::String) at ./loading.jl:1105
 [13] include(::Module, ::String) at ./Base.jl:31
 [14] top-level scope at none:2
 [15] eval at ./boot.jl:330 [inlined]
 [16] eval(::Expr) at ./client.jl:433
 [17] top-level scope at ./none:3
in expression starting at /Users/tlienart/.julia/packages/Atom/Wouyw/src/profiler/traceur.jl:1
in expression starting at /Users/tlienart/.julia/packages/Atom/Wouyw/src/Atom.jl:57
ERROR: LoadError: Failed to precompile Atom [c52e3926-4ff0-5f6e-af25-54175e0327b1] to /Users/tlienart/.julia/compiled/v1.3/Atom/w9XOh_UpH5i.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1274
 [3] _require(::Base.PkgId) at ./loading.jl:1024
 [4] require(::Base.PkgId) at ./loading.jl:922
 [5] require(::Module, ::Symbol) at ./loading.jl:917
 [6] top-level scope at /Users/tlienart/.atom/packages/julia-client/script/boot_repl.jl:31
 [7] include at ./boot.jl:328 [inlined]
 [8] include_relative(::Module, ::String) at ./loading.jl:1105
 [9] include(::Module, ::String) at ./Base.jl:31
 [10] exec_options(::Base.JLOptions) at ./client.jl:295
 [11] _start() at ./client.jl:468
in expression starting at /Users/tlienart/.atom/packages/julia-client/script/boot_repl.jl:1
@pfitzseb
Copy link
Member

pfitzseb commented Aug 19, 2019

That's a Core Julia bug: JuliaLang/julia#32951.

@hearnsj
Copy link

hearnsj commented Sep 15, 2019

I am getting a similar failure. Is it the same bug? Julia 1.3.0-rc1.0 Atom-beta
ulia> using Atom
[ Info: Precompiling Atom [c52e3926-4ff0-5f6e-af25-54175e0327b1]
ERROR: LoadError: LoadError: syntax: interpolated variable $is ends with invalid character "t"; use "$(is)" instead.
Stacktrace:
[1] top-level scope at /home/hearnsj/.julia/packages/Traceur/OKJwj/src/analysis.jl:143
[2] include at ./boot.jl:328 [inlined]
[3] include_relative(::Module, ::String) at ./loading.jl:1105
[4] include at ./Base.jl:31 [inlined]
[5] include(::String) at /home/hearnsj/.julia/packages/Traceur/OKJwj/src/Traceur.jl:1
[6] top-level scope at /home/hearnsj/.julia/packages/Traceur/OKJwj/src/Traceur.jl:12
[7] include at ./boot.jl:328 [inlined]
[8] include_relative(::Module, ::String) at ./loading.jl:1105
[9] include(::Module, ::String) at ./Base.jl:31
[10] top-level scope at none:2
[11] eval at ./boot.jl:330 [inlined]
[12] eval(::Expr) at ./client.jl:433
[13] top-level scope at ./none:3

@pfitzseb
Copy link
Member

Should work fine with 1.3 rc2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants