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

LoadError: Global Rembus.CONFIG does not exist and cannot be assigned #32

Closed
goretkin opened this issue Oct 17, 2024 · 2 comments
Closed

Comments

@goretkin
Copy link

Hi, I just tried installing Rembus.jl and I ran into the following:

Precompiling project...
  ✗ Rembus
  72 dependencies successfully precompiled in 142 seconds. 30 already precompiled.
  1 dependency errored.
  For a report of the errors see `julia> err`. To retry use `pkg> precompile`

julia> err
PkgPrecompileError: The following 1 direct dependency failed to precompile:

Rembus 

Failed to precompile Rembus [aa126574-2ec3-42c9-8bf5-7f62001d6bce] to "/home/ggoretkin/.julia/compiled/v1.11/Rembus/jl_pu9N24".
ERROR: LoadError: Global Rembus.CONFIG does not exist and cannot be assigned. Declare it using `global` before attempting assignment.
Stacktrace:
 [1] setproperty!
   @ ./Base.jl:63 [inlined]
 [2] setproperty!(x::Module, f::Symbol, v::Rembus.Settings)
   @ Base ./Base.jl:61
 [3] top-level scope
   @ ~/.julia/packages/Rembus/Uk26V/src/configuration.jl:110
 [4] include(mod::Module, _path::String)
   @ Base ./Base.jl:557
 [5] include(x::String)
   @ Rembus ~/.julia/packages/Rembus/Uk26V/src/Rembus.jl:7
 [6] top-level scope
   @ ~/.julia/packages/Rembus/Uk26V/src/Rembus.jl:179
 [7] include
   @ ./Base.jl:557 [inlined]
 [8] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
   @ Base ./loading.jl:2790
 [9] top-level scope
   @ stdin:5
in expression starting at /home/ggoretkin/.julia/packages/Rembus/Uk26V/src/configuration.jl:110
in expression starting at /home/ggoretkin/.julia/packages/Rembus/Uk26V/src/Rembus.jl:7
in expression starting at stdin:
@attdona
Copy link
Member

attdona commented Oct 17, 2024

It is an issue because of Rembus 0.3.0 does not work with julia 1.11.

I've just released version 0.4.0, a Pkg.update() should resolve the issue.

Let me know ...

@goretkin
Copy link
Author

Thank you for the quick response! I was able to get the latest version and run the example in the README

julia> using Rembus

julia> response = @rpc myservice("rembus")
"hello rembus 💗"

I was curious if there were any scope changes (like the soft scope one in v1.5, but didn't see what might have been relevant in https://github.com/JuliaLang/julia/blob/v1.11.0/NEWS.md . Just curious.

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

No branches or pull requests

2 participants