AtariAlgos.jl icon indicating copy to clipboard operation
AtariAlgos.jl copied to clipboard

Load error on Julia 1.0.2

Open peterjdolan opened this issue 6 years ago • 8 comments

julia> versioninfo() Julia Version 1.0.2 Commit d789231e99 (2018-11-08 20:11 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) CPU: 06/8e WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-6.0.0 (ORCJIT, skylake)

ulia> using AtariAlgos [ Info: Precompiling AtariAlgos [faabce77-3242-5060-abab-4a4767a0df42] ERROR: LoadError: syntax: extra token "AtariEnv" after end of expression
Stacktrace: [1] include at ./boot.jl:317 [inlined] [2] include_relative(::Module, ::String) at ./loading.jl:1044 [3] include(::Module, ::String) at ./sysimg.jl:29 [4] top-level scope at none:2 [5] eval at ./boot.jl:319 [inlined] [6] eval(::Expr) at ./client.jl:393 [7] top-level scope at ./none:3 in expression starting at /home/peterjdolan/.julia/packages/AtariAlgos/RL9Mp/src/AtariAlgos.jl:22 ERROR: Failed to precompile AtariAlgos [faabce77-3242-5060-abab-4a4767a0df42] to /home/peterjdolan/.julia/compiled/v1.0/AtariAlgos/qnipU.ji.
Stacktrace: [1] error(::String) at ./error.jl:33 [2] macro expansion at ./logging.jl:311 [inlined] [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1190 [4] macro expansion at ./logging.jl:309 [inlined] [5] _require(::Base.PkgId) at ./loading.jl:947 [6] require(::Base.PkgId) at ./loading.jl:858 [7] macro expansion at ./logging.jl:309 [inlined] [8] require(::Module, ::Symbol) at ./loading.jl:840

peterjdolan avatar Mar 03 '19 19:03 peterjdolan

Hi @peterjdolan, could you give master branch a try?

iblislin avatar Mar 10 '19 05:03 iblislin

Same error on master:

(this is now with Julia 1.0.3)

(v1.0) pkg> add AtariAlgos#master
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Updating git-repo `https://github.com/JuliaML/AtariAlgos.jl.git`
 Resolving package versions...
  Updating `~/.julia/environments/v1.0/Project.toml`
 [no changes]
  Updating `~/.julia/environments/v1.0/Manifest.toml`
 [no changes]

julia> using AtariAlgos
[ Info: Precompiling AtariAlgos [faabce77-3242-5060-abab-4a4767a0df42]
ERROR: LoadError: syntax: extra token "AtariEnv" after end of expression
Stacktrace:
 [1] include at ./boot.jl:317 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1044
 [3] include(::Module, ::String) at ./sysimg.jl:29
 [4] top-level scope at none:2
 [5] eval at ./boot.jl:319 [inlined]
 [6] eval(::Expr) at ./client.jl:393
 [7] top-level scope at ./none:3
in expression starting at /home/peterjdolan/.julia/packages/AtariAlgos/RL9Mp/src/AtariAlgos.jl:22
ERROR: Failed to precompile AtariAlgos [faabce77-3242-5060-abab-4a4767a0df42] to /home/peterjdolan/.julia/compiled/v1.0/AtariAlgos/qnipU.ji.                                                                                                                              
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1203
 [3] _require(::Base.PkgId) at ./loading.jl:960
 [4] require(::Base.PkgId) at ./loading.jl:858
 [5] require(::Module, ::Symbol) at ./loading.jl:853

peterjdolan avatar Mar 23 '19 19:03 peterjdolan

Oh, okay. It's still v0.6 codebase. I'm trying to upgrade it in PR https://github.com/JuliaML/AtariAlgos.jl/pull/6

iblislin avatar Mar 24 '19 09:03 iblislin

Hi @peterjdolan , could you give that PR a try?

iblislin avatar Mar 24 '19 10:03 iblislin

Hi all,

I get a similar error message: LoadError: syntax: extra token "AtariEnv" after end of expression, and Failed to precompile AtariAlgos [faabce77-3242-5060-abab-4a4767a0df42] ...

Any tips? Thanks!

Martyn-R avatar Aug 21 '19 21:08 Martyn-R

Hi @Martijn-R , could you try out master? I just merged PR #6.

iblislin avatar Aug 26 '19 03:08 iblislin

hi @iblis17, the master precompiled and the example worked. Thanks!

Martyn-R avatar Aug 26 '19 19:08 Martyn-R

Okay, thanks for the feedback. I will make a new release.

iblislin avatar Aug 27 '19 02:08 iblislin