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

Unable to load on Julia nightly -- LoadError: syntax: expression too large #27

Closed
mcabbott opened this issue May 15, 2020 · 1 comment · Fixed by #28
Closed

Unable to load on Julia nightly -- LoadError: syntax: expression too large #27

mcabbott opened this issue May 15, 2020 · 1 comment · Fixed by #28

Comments

@mcabbott
Copy link

This was working fine on 1.5.0-DEV.854 (2020-05-05) (9 days old) but today gives an error:

$ /Applications/Julia-1.6.app/Contents/Resources/julia/bin/julia --startup-file=no
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.6.0-DEV.41 (2020-05-15)
 _/ |\__'_|_|_|\__'_|  |  Commit 8370133584 (0 days old master)
|__/                   |

julia> using Sobol
[ Info: Precompiling Sobol [ed01d8cd-4d21-5b2a-85b4-cc3bdc58bad4]
ERROR: LoadError: LoadError: syntax: expression too large
Stacktrace:
 [1] top-level scope at /Users/me/.julia/packages/Sobol/UKDQ8/src/soboldata.jl:2171
 [2] include at ./Base.jl:368 [inlined]
 [3] include(::String) at /Users/me/.julia/packages/Sobol/UKDQ8/src/Sobol.jl:1
 [4] top-level scope at /Users/me/.julia/packages/Sobol/UKDQ8/src/Sobol.jl:5
 [5] include(::Module, ::String) at ./Base.jl:368
 [6] top-level scope at none:2
 [7] eval at ./boot.jl:331 [inlined]
 [8] eval(::Expr) at ./client.jl:448
 [9] top-level scope at ./none:3
in expression starting at /Users/me/.julia/packages/Sobol/UKDQ8/src/soboldata.jl:2171
in expression starting at /Users/me/.julia/packages/Sobol/UKDQ8/src/Sobol.jl:1
ERROR: Failed to precompile Sobol [ed01d8cd-4d21-5b2a-85b4-cc3bdc58bad4] to /Users/me/.julia/compiled/v1.6/Sobol/ohkOh_nZr7I.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1328
 [3] _require(::Base.PkgId) at ./loading.jl:1030
 [4] require(::Base.PkgId) at ./loading.jl:928
 [5] require(::Module, ::Symbol) at ./loading.jl:923

julia> 
@stevengj
Copy link
Member

Thanks! I'm not sure why they changed the parser limits, but it is probably better to separate these datasets into separate CSV files anyway — should be fixed by #28.

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

Successfully merging a pull request may close this issue.

2 participants