# Julia Client - Internal Error

**URL:** <https://discourse.julialang.org/t/julia-client-internal-error/6825>\
**Category:** New to Julia\
**Created:** [November 1, 2017, 10:46am UTC](https://discourse.julialang.org/t/julia-client-internal-error/6825 "2017-11-01T10:46:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anouk](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@anouk](https://discourse.julialang.org/u/anouk)\
**Post date:** [November 1, 2017, 10:46am UTC](https://discourse.julialang.org/t/julia-client-internal-error/6825/1 "2017-11-01T10:46:04Z")

</div>

Hi,

I have been trying to install Julia Pro on my Mac (Version 10.12.6) I am new to Julia and I have tried everything I could think of but everytime I open a file in Atom julia starts doing something, even if I just click inside an open file, not wanting to run anything. I have uninstalled and reinstalled the new and an older release and I get the same error. Below is the output of the error message which seems getting longer and more repetitive (I’m not even sure I copy pasted the whole thing).

Thank you for your help.

StackOverflowError:  
in unshare\_linfo!(::LambdaInfo) at inference.jl:1457  
in unshare\_linfo!(::LambdaInfo) at sys.dylib:?  
in typeinf\_edge(::Method, ::Any, ::SimpleVector, ::Bool, ::Bool, ::Bool, ::LambdaInfo) at inference.jl:1577  
in typeinf\_ext(::LambdaInfo) at inference.jl:1621  
in get!(::CodeTools.##2#4{Tuple{String},CodeTools.#filemodule\_}, ::Dict{Any,Any}, ::Tuple{String}) at dict.jl:681  
in macro expansion at dict.jl:690 [inlined]  
in #1 at utils.jl:5 [inlined]  
in filemodule\_(::String) at module.jl:158  
in get!(::CodeTools.##2#4{Tuple{String},CodeTools.#filemodule\_}, ::Dict{Any,Any}, ::Tuple{String}) at dict.jl:672  
in macro expansion at dict.jl:690 [inlined]  
in #1 at utils.jl:5 [inlined]  
in filemodule\_(::String) at module.jl:158  
in get!(::CodeTools.##2#4{Tuple{String},CodeTools.#filemodule\_}, ::Dict{Any,Any}, ::Tuple{String}) at dict.jl:672  
in macro expansion at dict.jl:690 [inlined]  
in #1 at utils.jl:5 [inlined]  
in filemodule\_(::String) at module.jl:158  
in get!(::CodeTools.##2#4{Tuple{String},CodeTools.#filemodule\_}, ::Dict{Any,Any}, ::Tuple{String}) at dict.jl:672  
in macro expansion at dict.jl:690 [inlined]  
in #1 at utils.jl:5 [inlined]  
in filemodule\_(::String) at module.jl:158  
in get!(::CodeTools.##2#4{Tuple{String},CodeTools.#filemodule\_}, ::Dict{Any,Any}, ::Tuple{String}) at dict.jl:672  
in macro expansion at dict.jl:690 [inlined]  
in #1 at utils.jl:5 [inlined]  
in filemodule\_(::String) at module.jl:158  
in get!(::CodeTools.##2#4{Tuple{String},CodeTools.#filemodule\_}, ::Dict{Any,Any}, ::Tuple{String}) at dict.jl:672  
in macro expansion at dict.jl:690 [inlined]  
in #1 at utils.jl:5 [inlined]  
in filemodule\_(::String) at module.jl:158  
in get!(::CodeTools.##2#4{Tuple{String},CodeTools.#filemodule\_}, ::Dict{Any,Any}, ::Tuple{String}) at dict.jl:672  
in macro expansion at dict.jl:690 [inlined]  
in #1 at utils.jl:5 [inlined]  
in filemodule\_(::String) at module.jl:158  
in get!(::CodeTools.##2#4{Tuple{String},CodeTools.#filemodule\_}, ::Dict{Any,Any}, ::Tuple{String}) at dict.jl:672  
in macro expansion at dict.jl:690 [inlined]  
in #1 at utils.jl:5 [inlined]  
in filemodule\_(::String) at module.jl:158  
in get!(::CodeTools.##2#4{Tuple{String},CodeTools.#filemodule\_}, ::Dict{Any,Any}, ::Tuple{String}) at dict.jl:672  
in macro expansion at dict.jl:690 [inlined]  
in #1 at utils.jl:5 [inlined]  
in filemodule\_(::String) at module.jl:158  
in get!(::CodeTools.##2#4{Tuple{String},CodeTools.#filemodule\_}, ::Dict{Any,Any}, ::Tuple{String}) at dict.jl:672  
in macro expansion at dict.jl:690 [inlined]  
in #1 at utils.jl:5 [inlined]  
in filemodule\_(::String) at module.jl:158  
in get!(::CodeTools.##2#4{Tuple{String},CodeTools.#filemodule\_}, ::Dict{Any,Any}, ::Tuple{String}) at dict.jl:672  
in macro expansion at dict.jl:690 [inlined]  
in #1 at utils.jl:5 [inlined]  
in filemodule\_(::String) at module.jl:158  
in get!(::CodeTools.##2#4{Tuple{String},CodeTools.#filemodule\_}, ::Dict{Any,Any}, ::Tuple{String}) at dict.jl:672  
in macro expansion at dict.jl:690 [inlined]  
in #1 at utils.jl:5 [inlined]  
in filemodule\_(::String) at module.jl:158  
in get!(::CodeTools.##2#4{Tuple{String},CodeTools.#filemodule\_}, ::Dict{Any,Any}, ::Tuple{String}) at dict.jl:672  
in macro expansion at dict.jl:690 [inlined]  
in #1 at utils.jl:5 [inlined]

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [November 1, 2017, 10:48am UTC](https://discourse.julialang.org/t/julia-client-internal-error/6825/2 "2017-11-01T10:48:08Z")

</div>

Do you happen to work in a file that has circular `include`s? Also maybe try `Pkg.checkout("CodeTools")` just in case.

---

<div class="post-metadata">

**Author:** ![anouk](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@anouk](https://discourse.julialang.org/u/anouk)\
**Post date:** [November 1, 2017, 3:56pm UTC](https://discourse.julialang.org/t/julia-client-internal-error/6825/3 "2017-11-01T15:56:20Z")

</div>

Hello, thank you for your answer! I have a bunch of includes in the main, it seems to be working now if I don’t provide the full path to my files, but just include them as they are in the same folder as my main.

I hope this was the problem and that it doesn’t show up again… I have also tried the Pkg.checkout(“CodeTools”) which gives me the following warning WARNING: CodeTools is fixed at 0.4.7+ conflicting with top-level requirement: [0.4.6,0.4.6+). Do you think this needs to be fixed (and if so, if you could tell me how, that would be great!)?

Have a nice day and thanks again

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [November 2, 2017, 1:01pm UTC](https://discourse.julialang.org/t/julia-client-internal-error/6825/4 "2017-11-02T13:01:53Z")

</div>

What does `Pkg.status("CodeTools")` say? I have no idea why that warning is printed, since afaik no package depends on CodeTools except for Atom, which doesn’t specifiy any version bounds.

---

<div class="post-metadata">

**Author:** ![anouk](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@anouk](https://discourse.julialang.org/u/anouk)\
**Post date:** [November 2, 2017, 2:27pm UTC](https://discourse.julialang.org/t/julia-client-internal-error/6825/5 "2017-11-02T14:27:51Z")

</div>

When I type Pkg.status(“CodeTools”) i get the following:

- CodeTools 0.4.7+ master

and nothing else.  
Also, I wonder what it is that is running when I just open a file that leads to the stack overflow. What is a circular include by the way? The thing is, when we do the same thing on the mac of my friend everything seems to be fine…

Cheers and thanks 🙂

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [November 2, 2017, 2:43pm UTC](https://discourse.julialang.org/t/julia-client-internal-error/6825/6 "2017-11-02T14:43:21Z")

</div>

Juno tries to figure out which module a given file belongs to by looking at `include` statements. If you have a bar.jl with `include("foo.jl")` and foo.jl containing `include("bar.jl")` following those `include`s will never terminate and result in a stack overflow.

We probably should handle that case though 🙂

Would be great if you could run `Pkg.free("CodeTools")` and check if it still works (without changing your code).

---

<div class="post-metadata">

**Author:** ![anouk](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@anouk](https://discourse.julialang.org/u/anouk)\
**Post date:** [November 6, 2017, 12:14pm UTC](https://discourse.julialang.org/t/julia-client-internal-error/6825/7 "2017-11-06T12:14:01Z")

</div>

Hi there, it doesn’t work after freeing CodeTools… And I am checking now if it works again when I add it back, fingers crossed! 🙂

And it does the same thing again, giving me this endless error list and a stackOverflow error when I just only click on a file.

So now when I move the folder somewhere else it seems to work again.
