# Compiling error

**URL:** https://discourse.julialang.org/t/compiling-error/21793
**Category:** Performance
**Created:** [March 12, 2019, 9:11pm UTC](https://discourse.julialang.org/t/compiling-error/21793 "2019-03-12T21:11:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![thomas\_vilches](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thomas_vilches/32/7391_2.png) [@thomas\_vilches](https://discourse.julialang.org/u/thomas_vilches)
#### Post date: [March 12, 2019, 9:11pm UTC](https://discourse.julialang.org/t/compiling-error/21793/1 "2019-03-12T21:11:06Z")

</div>

Hey everyone,

I am not sure if this is the right way to ask something, but here I am: I am getting an error when I trying to compile some packages, for instance “using DataFrames” is returning the message:

using DataFrames  
[Info: Precompiling DataFrames [a93c6f00-e57d-5684-b7b6-d8193f3e46c0]  
ERROR: 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(::Module, ::String) at ./sysimg.jl:29  
[4] top-level scope at none:2  
[5] eval at ./boot.jl:328 [inlined]  
[6] eval(::Expr) at ./client.jl:404  
[7] top-level scope at ./none:3  
in expression starting at /home/thomas/.julia/packages/Compat/HiX6E/src/Compat.jl:3  
ERROR: LoadError: Failed to precompile Compat [34da2185-b29b-5c13-b0c7-acf172513d20] to /home/thomas/.julia/compiled/v1.1/Compat/GSFWK.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/thomas/.julia/packages/DataFrames/IKMvt/src/DataFrames.jl:9  
ERROR: Failed to precompile DataFrames [a93c6f00-e57d-5684-b7b6-d8193f3e46c0] to /home/thomas/.julia/compiled/v1.1/DataFrames/AR9oZ.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

Does anyone have any idea what is happening? It wasn’t happening some days ago.

Thank you,  
Thomas

---

<div class="post-metadata">

### Author: ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)
#### Post date: [March 12, 2019, 9:52pm UTC](https://discourse.julialang.org/t/compiling-error/21793/2 "2019-03-12T21:52:18Z")

</div>

Looks like loading Compat is failing. Perhaps it got corrupted somehow. Try delete the folder `/home/thomas/.julia/packages/Compat/HiX6E` and reinstall it.

---

<div class="post-metadata">

### Author: ![thomas\_vilches](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thomas_vilches/32/7391_2.png) [@thomas\_vilches](https://discourse.julialang.org/u/thomas_vilches)
#### Post date: [March 21, 2019, 6:50pm UTC](https://discourse.julialang.org/t/compiling-error/21793/3 "2019-03-21T18:50:51Z")

</div>

Thank you!

It worked! I deleted the entire .julia folder and reinstalled the packages (I don’t use a lot of them).
