Julia stopped working on Atom

Hi! As the title says, I can no longer use Juno on Atom.

Yesterday I couldn’t install a package because of “Unsatisfiable requirements detected for package Colors”. Following another thread’s advice, I used Pkg.rm(“Colors”,mode = PKGMODE_MANIFEST) to fix the problem. Today, however, I’m trying to start a session and I get the following message:

Activating environment at C:\Users\pedro\.julia\environments\v1.2\Project.toml
Updating registry at C:\Users\pedro\.julia\registries\General
┌ Warning: Some registries failed to update:
│ — C:\Users\pedro\.julia\registries\General — registry dirty
└ @ Pkg.Types C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\Types.jl:1171
Resolving package versions…
ERROR: LoadError: Unsatisfiable requirements detected for package Colors [5ae59095]:
Colors [5ae59095] log:
├─Colors [5ae59095] has no known versions!
└─found to have no compatible versions left with FlameGraphs [08572546]
└─FlameGraphs [08572546] log:
├─possible versions are: [0.1.0-0.1.1, 0.2.0-0.2.4] or uninstalled
└─restricted by compatibility requirements with Atom [c52e3926] to versions: [0.1.0-0.1.1, 0.2.0-0.2.4]
└─Atom [c52e3926] log:
├─possible versions are: [0.8.0-0.8.8, 0.9.0-0.9.1, 0.10.0-0.10.2, 0.11.0-0.11.3, 0.12.0-0.12.28] or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions [0.8.0-0.8.8, 0.9.0-0.9.1, 0.10.0-0.10.2, 0.11.0-0.11.3, 0.12.0-0.12.28]
└─restricted by compatibility requirements with Juno [e5e0dc1b] to versions: 0.12.1-0.12.28 or uninstalled, leaving only versions: 0.12.1-0.12.28
└─Juno [e5e0dc1b] log:
├─possible versions are: [0.5.0-0.5.5, 0.6.0, 0.7.0-0.7.2, 0.8.0-0.8.4] or uninstalled
└─restricted to versions 0.8.4 by an explicit requirement, leaving only versions 0.8.4
Stacktrace:
[1] #propagate_constraints!#61(::Bool, ::typeof(Pkg.GraphType.propagate_constraints!), ::Pkg.GraphType.Graph, ::Set{Int64}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\GraphType.jl:1007
[2] propagate_constraints! at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\GraphType.jl:948 [inlined]
[3] #simplify_graph!#121(::Bool, ::typeof(Pkg.GraphType.simplify_graph!), ::Pkg.GraphType.Graph, ::Set{Int64}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\GraphType.jl:1462
[4] simplify_graph! at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\GraphType.jl:1462 [inlined] (repeats 2 times)
[5] resolve_versions!(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\Operations.jl:317
[6] #add#100(::Bool, ::typeof(Pkg.Operations.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\Operations.jl:962
[7] #add at .\none:0 [inlined]
[8] #add#25(::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:99
[9] add at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:69 [inlined]
[10] #add#24 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:67 [inlined]
[11] add at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:67 [inlined]
[12] #add#21 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:65 [inlined]
[13] add at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:65 [inlined]
[14] #add#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.add), ::String) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:64
[15] add(::String) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:64
[16] top-level scope at C:\Users\pedro.atom\packages\julia-client\script\boot_repl.jl:21
[17] include at .\boot.jl:328 [inlined]
[18] include_relative(::Module, ::String) at .\loading.jl:1094
[19] include(::Module, ::String) at .\Base.jl:31
[20] exec_options(::Base.JLOptions) at .\client.jl:295
[21] _start() at .\client.jl:464
in expression starting at C:\Users\pedro.atom\packages\julia-client\script\boot_repl.jl:1

I’m at a loss as to what to do, so any advice is welcome

Update: I decided to delete my registry and have it reinstall itself. That somehow fixed it. I’ll leave this post here in case someone else has the same problem.

Hi Pedro, welcome to the julia community!
Well done, good to hear that it worked. Just wanted to ask if there’s a reason you’re still at v1.2?

Thanks for the welcome!

As for the version, Atom occasionally updates the julia client, I thought that would take care of the version. This may explain why it’s been so buggy lately!

Pedro

Ah I see, as far as I know, Atom only updates it’s julia packages Atom.jl and Juno.jl (as well as the Atom packages and itself), but not the julia compiler. It’s likely to run a lot smoother after an update. Good luck!