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

Atom precompilation crashes #15

Closed
shashi opened this issue Sep 21, 2016 · 5 comments
Closed

Atom precompilation crashes #15

shashi opened this issue Sep 21, 2016 · 5 comments
Labels

Comments

@shashi
Copy link

shashi commented Sep 21, 2016

INFO: Precompiling module Atom.
WARNING: Module Juno with uuid 55264856856282 is missing from the cache.
This may mean module Juno does not support precompilation but is imported by a module that does.
ERROR: LoadError: Declaring __precompile__(false) is not allowed in files that are being precompiled.
 in require(::Symbol) at ./loading.jl:385
 in include_from_node1(::String) at ./loading.jl:488
 in macro expansion; at ./none:2 [inlined]
 in anonymous at ./<missing>:?
 in eval(::Module, ::Any) at ./boot.jl:234
 in process_options(::Base.JLOptions) at ./client.jl:239
 in _start() at ./client.jl:318
while loading /home/shashi/.julia/v0.5/Atom/src/Atom.jl, in expression starting on line 5
ERROR: LoadError: Failed to precompile Atom to /home/shashi/.julia/lib/v0.5/Atom.ji.
 in compilecache(::String) at ./loading.jl:593
 in require(::Symbol) at ./loading.jl:422
 in require(::Symbol) at /home/shashi/.julia/v0.5/Requires/src/require.jl:12
 in include_from_node1(::String) at ./loading.jl:488
 in process_options(::Base.JLOptions) at ./client.jl:262
 in _start() at ./client.jl:318
while loading /home/shashi/.atom/packages/julia-client/script/boot.jl, in expression starting on line 36
Julia has stopped: 1

versioninfo()

Julia Version 0.5.0
Commit 3c9d753 (2016-09-19 18:14 UTC)
Platform Info:
  System: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.7.1 (ORCJIT, ivybridge)
@shashi
Copy link
Author

shashi commented Sep 21, 2016

Running using Atom in the terminal and then trying evaluation in Atom worked. This seems really weird to me.

@pfitzseb pfitzseb added the bug label Sep 21, 2016
@pfitzseb
Copy link
Member

Yep, defintely strange. Have seen this a few times myself...

@benninkrs
Copy link

using Atom got things working for me as well, though it did give me some warnings during precompilation:

WARNING: could not import StructIO.pack into COFF
WARNING: Method definition breakpoint_hit(Any, Any) in module Gallium at C:\Users\rvq\.julia\v0.5\Gallium\src\Gallium.jl:649 overwritten in module Debugger at C:\Users\rvq\.julia\v0.5\Atom\src\debugger\entry.jl:36.
WARNING: Method definition require(Symbol) in module Base at loading.jl:345 overwritten in module Main at C:\Users\rvq\.julia\v0.5\Requires\src\require.jl:12.
WARNING: Method definition breakpoint_hit(Any, Any) in module Gallium at C:\Users\rvq\.julia\v0.5\Gallium\src\Gallium.jl:649 overwritten in module Debugger at C:\Users\rvq\.julia\v0.5\Atom\src\debugger\entry.jl:36.
WARNING: Method definition resume(Any) in module Main at C:\Users\rvq\.julia\v0.5\Gallium\src\Hooking/Hooking.jl:342 overwritten in module Debugger at C:\Users\rvq\.julia\v0.5\Gallium\src\Hooking/Hooking.jl:342.

My Julia package versions:
Julia 0.5.0
Atom 0.5.2
Juno 0.2.1
My Atom package versions:
uber-juno 0.1.1
Julia-client 0.5.5

@pfitzseb
Copy link
Member

Those warnings are expected for now (except for the first one). We'll try to work around those in the future.

@pfitzseb
Copy link
Member

pfitzseb commented Jan 6, 2017

I'll close this since the error should be fixed now. If not, please feel free to reopen!

@pfitzseb pfitzseb closed this as completed Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants