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

Plots fails to Precompile on Ubuntu due to LoadError (?) #2073

Closed
ChantalJuntao opened this issue Jun 25, 2019 · 1 comment
Closed

Plots fails to Precompile on Ubuntu due to LoadError (?) #2073

ChantalJuntao opened this issue Jun 25, 2019 · 1 comment

Comments

@ChantalJuntao
Copy link

Plots wouldn't precompile on a fresh Julia 1.1.1 session. I'm running a fresh session Julia 1.1.1-pre.0 on Ubuntu 16.04. The issue might be in PlotUtils?

using Plots
[ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
ERROR: LoadError: LoadError: LoadError: syntax: incomplete: premature end of input
Stacktrace:
 [1] include at ./boot.jl:326 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1038
 [3] include at ./sysimg.jl:29 [inlined]
 [4] include(::String) at /home/chantal/.julia/packages/PlotUtils/35TGG/src/PlotUtils.jl:4
 [5] top-level scope at none:0
 [6] include at ./boot.jl:326 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1038
 [8] include at ./sysimg.jl:29 [inlined]
 [9] include(::String) at /home/chantal/.julia/packages/PlotUtils/35TGG/src/PlotUtils.jl:4
 [10] top-level scope at none:0
 [11] include at ./boot.jl:326 [inlined]
 [12] include_relative(::Module, ::String) at ./loading.jl:1038
 [13] include(::Module, ::String) at ./sysimg.jl:29
 [14] top-level scope at none:2
 [15] eval at ./boot.jl:328 [inlined]
 [16] eval(::Expr) at ./client.jl:404
 [17] top-level scope at ./none:3
in expression starting at /home/chantal/.julia/packages/PlotUtils/35TGG/src/gradients/colorcet.jl:3630
in expression starting at /home/chantal/.julia/packages/PlotUtils/35TGG/src/color_gradients.jl:246
in expression starting at /home/chantal/.julia/packages/PlotUtils/35TGG/src/PlotUtils.jl:30
ERROR: LoadError: Failed to precompile PlotUtils [995b91a9-d308-5afd-9ec6-746e21dbc043] to /home/chantal/.julia/compiled/v1.1/PlotUtils/YveHG.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1197
 [3] _require(::Base.PkgId) at ./loading.jl:960
 [4] require(::Base.PkgId) at ./loading.jl:858
 [5] require(::Module, ::Symbol) at ./loading.jl:853
 [6] include at ./boot.jl:326 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1038
 [8] include(::Module, ::String) at ./sysimg.jl:29
 [9] top-level scope at none:2
 [10] eval at ./boot.jl:328 [inlined]
 [11] eval(::Expr) at ./client.jl:404
 [12] top-level scope at ./none:3
in expression starting at /home/chantal/.julia/packages/Plots/oiirH/src/Plots.jl:14
ERROR: Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to /home/chantal/.julia/compiled/v1.1/Plots/ld3vC.ji.
Stacktrace:
 [1] compilecache(::Base.PkgId, ::String) at ./loading.jl:1197
 [2] _require(::Base.PkgId) at ./loading.jl:960
 [3] require(::Base.PkgId) at ./loading.jl:858
 [4] require(::Module, ::Symbol) at ./loading.jl:853

``

``
using PlotUtils
[ Info: Precompiling PlotUtils [995b91a9-d308-5afd-9ec6-746e21dbc043]
ERROR: LoadError: LoadError: LoadError: syntax: incomplete: premature end of input
Stacktrace:
 [1] include at ./boot.jl:326 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1038
 [3] include at ./sysimg.jl:29 [inlined]
 [4] include(::String) at /home/chantal/.julia/packages/PlotUtils/35TGG/src/PlotUtils.jl:4
 [5] top-level scope at none:0
 [6] include at ./boot.jl:326 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1038
 [8] include at ./sysimg.jl:29 [inlined]
 [9] include(::String) at /home/chantal/.julia/packages/PlotUtils/35TGG/src/PlotUtils.jl:4
 [10] top-level scope at none:0
 [11] include at ./boot.jl:326 [inlined]
 [12] include_relative(::Module, ::String) at ./loading.jl:1038
 [13] include(::Module, ::String) at ./sysimg.jl:29
 [14] top-level scope at none:2
 [15] eval at ./boot.jl:328 [inlined]
 [16] eval(::Expr) at ./client.jl:404
 [17] top-level scope at ./none:3
in expression starting at /home/chantal/.julia/packages/PlotUtils/35TGG/src/gradients/colorcet.jl:3630
in expression starting at /home/chantal/.julia/packages/PlotUtils/35TGG/src/color_gradients.jl:246
in expression starting at /home/chantal/.julia/packages/PlotUtils/35TGG/src/PlotUtils.jl:30
ERROR: Failed to precompile PlotUtils [995b91a9-d308-5afd-9ec6-746e21dbc043] to /home/chantal/.julia/compiled/v1.1/PlotUtils/YveHG.ji.
Stacktrace:
 [1] compilecache(::Base.PkgId, ::String) at ./loading.jl:1197
 [2] _require(::Base.PkgId) at ./loading.jl:960
 [3] require(::Base.PkgId) at ./loading.jl:858
 [4] require(::Module, ::Symbol) at ./loading.jl:853
@daschw
Copy link
Member

daschw commented Jun 25, 2019

Moved to JuliaPlots/PlotUtils.jl#64

@daschw daschw closed this as completed Jun 25, 2019
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

2 participants