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

TableReader precompilation fails on 1.3.0-rc3 on Windows #58

Open
ltf-canada opened this issue Oct 4, 2019 · 8 comments · Fixed by dwinkler1/TableReader.jl#1 · May be fixed by #59
Open

TableReader precompilation fails on 1.3.0-rc3 on Windows #58

ltf-canada opened this issue Oct 4, 2019 · 8 comments · Fixed by dwinkler1/TableReader.jl#1 · May be fixed by #59

Comments

@ltf-canada
Copy link

Details:

julia> using TableReader
[ Info: Precompiling TableReader [70df011a-6618-58d7-8e16-3cf9e384cb47]
ERROR: LoadError: UndefVarError: ##24#29 not defined
Stacktrace:
 [1] _precompile_() at C:\Users\jsutherland\.julia\packages\TableReader\XQZpf\src\TableReader.jl:784
 [2] top-level scope at C:\Users\jsutherland\.julia\packages\TableReader\XQZpf\src\TableReader.jl:817
 [3] include at .\boot.jl:328 [inlined]
 [4] include_relative(::Module, ::String) at .\loading.jl:1105
 [5] include(::Module, ::String) at .\Base.jl:31
 [6] top-level scope at none:2
 [7] eval at .\boot.jl:330 [inlined]
 [8] eval(::Expr) at .\client.jl:433
 [9] top-level scope at .\none:3
in expression starting at C:\Users\jsutherland\.julia\packages\TableReader\XQZpf\src\TableReader.jl:817
ERROR: Failed to precompile TableReader [70df011a-6618-58d7-8e16-3cf9e384cb47] to C:\Users\jsutherland\.julia\compiled\v1.3\TableReader\EYKoh_1mRd4.ji.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1283
 [3] _require(::Base.PkgId) at .\loading.jl:1024
 [4] require(::Base.PkgId) at .\loading.jl:922
 [5] require(::Module, ::Symbol) at .\loading.jl:917

julia> versioninfo()
Julia Version 1.3.0-rc3.0
Commit b5ccd0f2ef (2019-10-04 01:57 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, sandybridge)
@wookay
Copy link

wookay commented Nov 8, 2019

to make a quick fix, comment out the line src/TableReader.jl#L817

# _precompile_()

@mapclyps
Copy link

I see the exact same error in Linux (Manjaro) with 1.3.0-rc4

julia> versioninfo()
Julia Version 1.3.0-rc4.1
Commit 8c4656b97a (2019-10-15 14:08 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: AMD Ryzen 7 1800X Eight-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, znver1)

@timholy timholy linked a pull request Nov 29, 2019 that will close this issue
@terasakisatoshi
Copy link

Got same error on my Mac

julia> using TableReader
[ Info: Precompiling TableReader [70df011a-6618-58d7-8e16-3cf9e384cb47]
ERROR: LoadError: UndefVarError: ##24#29 not defined
Stacktrace:
 [1] _precompile_() at /root/.julia/packages/TableReader/XQZpf/src/TableReader.jl:784
 [2] top-level scope at /root/.julia/packages/TableReader/XQZpf/src/TableReader.jl:817
 [3] include at ./boot.jl:328 [inlined]
 [4] include_relative(::Module, ::String) at ./loading.jl:1105
 [5] include(::Module, ::String) at ./Base.jl:31
 [6] top-level scope at none:2
 [7] eval at ./boot.jl:330 [inlined]
 [8] eval(::Expr) at ./client.jl:425
 [9] top-level scope at ./none:3
in expression starting at /root/.julia/packages/TableReader/XQZpf/src/TableReader.jl:817
ERROR: Failed to precompile TableReader [70df011a-6618-58d7-8e16-3cf9e384cb47] to /root/.julia/compiled/v1.3/TableReader/EYKoh_Si6uQ.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
 [3] _require(::Base.PkgId) at ./loading.jl:1024
 [4] require(::Base.PkgId) at ./loading.jl:922
 [5] require(::Module, ::Symbol) at ./loading.jl:917
julia> versioninfo()
Julia Version 1.3.0
Commit 46ce4d7933 (2019-11-26 06:09 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Environment:
  JULIA_PATH = /usr/local/julia
  JULIA_GPG = 3673DF529D9049477F76B37566E3C7DC03D6E495
  JULIA_VERSION = 1.3.0

@dwinkler1
Copy link

Same error on Ubuntu 20.04

ERROR: LoadError: UndefVarError: ##24#29 not defined
Stacktrace:
 [1] _precompile_() at /home/daniel/.julia/packages/TableReader/XQZpf/src/TableReader.jl:784
 [2] top-level scope at /home/daniel/.julia/packages/TableReader/XQZpf/src/TableReader.jl:817
 [3] include at ./boot.jl:328 [inlined]
 [4] include_relative(::Module, ::String) at ./loading.jl:1105
 [5] include(::Module, ::String) at ./Base.jl:31
 [6] top-level scope at none:2
 [7] eval at ./boot.jl:330 [inlined]
 [8] eval(::Expr) at ./client.jl:425
 [9] top-level scope at ./none:3
in expression starting at /home/daniel/.julia/packages/TableReader/XQZpf/src/TableReader.jl:817
julia> versioninfo()
Julia Version 1.3.1
Commit 2d5741174c (2019-12-30 21:36 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Xeon(R) W-2145 CPU @ 3.70GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Environment:
  JULIA_NUM_THREADS = 8
  JULIA_EDITOR = "/usr/share/code/code"

@proudindiv
Copy link

I'm having this problem with julia-1.4.0 in ubuntu Release 18.04.4.
It uses the same master branch of TableReader from github.

`julia> using TableReader
[ Info: Precompiling TableReader [70df011a-6618-58d7-8e16-3cf9e384cb47]
ERROR: LoadError: UndefVarError: ##24#29 not defined
Stacktrace:
[1] precompile() at /home/gary/.julia/packages/TableReader/XQZpf/src/TableReader.jl:784
[2] top-level scope at /home/gary/.julia/packages/TableReader/XQZpf/src/TableReader.jl:817
[3] include(::Module, ::String) at ./Base.jl:377
[4] top-level scope at none:2
[5] eval at ./boot.jl:331 [inlined]
[6] eval(::Expr) at ./client.jl:449
[7] top-level scope at ./none:3
in expression starting at /home/gary/.julia/packages/TableReader/XQZpf/src/TableReader.jl:817
ERROR: Failed to precompile TableReader [70df011a-6618-58d7-8e16-3cf9e384cb47] to /home/gary/.julia/compiled/v1.4/TableReader/EYKoh_8OkcL.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
[3] _require(::Base.PkgId) at ./loading.jl:1029
[4] require(::Base.PkgId) at ./loading.jl:927
[5] require(::Module, ::Symbol) at ./loading.jl:922

julia>
`

@ViralBShah
Copy link

Ran into the same error on 1.4

@jr-leary7
Copy link

jr-leary7 commented Dec 22, 2020

This error still occurs in Julia 1.5.3 on macOS Catalina 10.15.7 after installing TableReader in a Julia environment using add TableReader within the pkg REPL.

using TableReader
[ Info: Precompiling TableReader [70df011a-6618-58d7-8e16-3cf9e384cb47]
ERROR: LoadError: UndefVarError: ##24#29 not defined
Stacktrace:
 [1] _precompile_() at /Users/jack/.julia/packages/TableReader/XQZpf/src/TableReader.jl:784
 [2] top-level scope at /Users/jack/.julia/packages/TableReader/XQZpf/src/TableReader.jl:817
 [3] include(::Function, ::Module, ::String) at ./Base.jl:380
 [4] include(::Module, ::String) at ./Base.jl:368
 [5] top-level scope at none:2
 [6] eval at ./boot.jl:331 [inlined]
 [7] eval(::Expr) at ./client.jl:467
 [8] top-level scope at ./none:3
in expression starting at /Users/jack/.julia/packages/TableReader/XQZpf/src/TableReader.jl:817
ERROR: Failed to precompile TableReader [70df011a-6618-58d7-8e16-3cf9e384cb47] to /Users/jack/.julia/compiled/v1.5/TableReader/EYKoh_NaBNE.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1305
 [3] _require(::Base.PkgId) at ./loading.jl:1030
 [4] require(::Base.PkgId) at ./loading.jl:928
 [5] require(::Module, ::Symbol) at ./loading.jl:923

EDIT: commenting out line 817 in /src/TableReader.jl still works, but that's kind of a janky fix for a library I had hoped to use as a dependency in one of my projects.

@rflocfloc
Copy link

Same error still occurs in Julia 1.7 on Fedora 41.

The manual fixing of commenting out the line where "precompile()" its called still works.

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.

9 participants