Open theogf opened 5 years ago
Solved now but no idea why :
I was using Foo
which itself was using Bar
but I was calling using Bar
again in the script and it considered it as a duplicate...
That shouldn't happen though, I think.
There was definitely a Julia issue on my side since the code was also not working, but the most problematic part was definitely getting the same warning thousands of time
@pfitzseb I got the same warning every time when I update atom packages via "Preferences ..." then "Updates". My configuration is pretty much up-to-date: Julia v1.1.1; Atom v1.37.0; and the latest Juno related packages.
I can reproduce this: I have a package, that have some dependencies including:
The two SignedDistanceFields packages are different (with different UUID-s), but with the same name. One is registered (the JuliaGraphics one), while the other not. In my package I do:
module RANSACVisualizer
# other imports
using AbstractPlotting
using SignedDistanceFields # authored by freemin7
# exports
# file includes
end
If I type in a fresh (Juno) REPL: using RANSACVisualizer
and try to type something else, I get a bunch of warnings:
┌ Warning: no support for multiple packages with the same name yet
└ @ CodeTools C:\Users\Laci\.julia\packages\CodeTools\xGemk\src\eval.jl:54
It was a bit hard to trace the packages, maybe the error message should be more clear. (I'll see if I can open a PR.)
~One solution for my particular problem could be to include required functions only from AbstractPlotting, will try to check this.~ That idea doesn't work.
This happens to me on Julia v1.3.0-rc4.1
, Atom v1.41.0
, julia-clien v0.11.3
.
Is there any way to supress these messages?
Not without editing CodeTools as in your PR, I'm afraid. I'll look into fixing this again though.
Without apparent reasons I get the issue :
Repeated like 100 times in the REPL. Typing something will also generate the warnings
Details
Steps to reproduce
I cannot really identify the source of the problem. Just clicking on the REPL generate the warnings