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

UndefVarError: @x_str not defined when including BayesFlux.jl #9

Open
sesenerr opened this issue Jun 1, 2023 · 0 comments
Open

UndefVarError: @x_str not defined when including BayesFlux.jl #9

sesenerr opened this issue Jun 1, 2023 · 0 comments

Comments

@sesenerr
Copy link

sesenerr commented Jun 1, 2023

Describe the issue
When attempting to include BayesFlux.jl in my script, I encounter an error stating UndefVarError: @x_str not defined. This issue occurs unexpectedly, as the same code used to work properly before I restarted my computer.

To Reproduce
The issue arises consistently when I run the line include("BayesFlux.jl").

Attempted Resolutions
I've attempted to locate where @x_str is defined or used in the package or in any dependent packages using the search function in my IDE (VS Code), but I have not been able to find it.
I reverted to a previous version of my code, checking out to five commits prior, and the issue still persisted.
I ensured that all the dependencies for my project are up-to-date.
I cleared the precompiled cache in Julia.
Despite these attempts, the issue persists.

Additional Context
The error message I receive is as follows:

Copy code
WARNING: replacing module BayesFlux.
ERROR: LoadError: UndefVarError: @x_str not defined
in expression starting at /Users/suleyman_1/Desktop/Enrico BayesFlux/BayesFlux.jl/src/inference/mode/flux.jl:1
in expression starting at /Users/suleyman_1/Desktop/Enrico BayesFlux/BayesFlux.jl/src/inference/mode/flux.jl:1
in expression starting at /Users/suleyman_1/Desktop/Enrico BayesFlux/BayesFlux.jl/src/BayesFlux.jl:1

Any assistance or insight into this issue would be greatly appreciated.

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

1 participant