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

master is currently broken #29

Closed
dburov190 opened this issue Feb 5, 2020 · 7 comments · Fixed by #33
Closed

master is currently broken #29

dburov190 opened this issue Feb 5, 2020 · 7 comments · Fixed by #33

Comments

@dburov190
Copy link
Contributor

examples/GPR/main.jl crashes with

ERROR: LoadError: LoadError: UndefVarError: Utilities not defined
@charleskawczynski
Copy link
Member

This GPR test is working in test/runtests.jl. I just fixed a similar sounding issue with @bielim, she had to remove CalibrateEmulateSample.jl from here default environment to fix this.

@dburov190
Copy link
Contributor Author

Hmm, how are you running the tests? julia runtests.jl in the test/GPR still fails with the same error for me.

@charleskawczynski
Copy link
Member

charleskawczynski commented Feb 6, 2020

Assuming you're not developing in .julia directory, I suggest you see if CalibrateEmulateSample.jl is in your .julia directory, if so, delete it. Then, go to your CalibrateEmulateSample.jl directory, and run julia --project test/runtests.jl.

@dburov190
Copy link
Contributor Author

I don't have it in the .julia directory and it still fails even when I run it with --project, albeit with a different error:

ERROR: LoadError: ArgumentError: Package VersionParsing does not have Compat in its dependencies

I just did a fresh clone of the repository just in case.

Also, is it possible to run it without the --project flag? it used to work without it.

@charleskawczynski
Copy link
Member

It's recommended to use the --project flag, since this instantiates the local project. Otherwise, it will grab the version in your default environment (.julia/packages, sorry I didn't include the extension last time) and, unless you run julia ] dev ., you'll have a frozen version of whatever you may have added to your default environment.

@dburov190
Copy link
Contributor Author

Yeah but that's quite annoying; is there a way to have that as a default behavior? I don't care about the environments and all that, I just wanna hit julia main.jl, lean back and enjoy :D

Anyway, that's rather off-topic. julia --project test/runtests.jl still fails for me. Maybe there needs to be something installed in the Project.toml, like VersionParsing? Or update the julia itself? I'm running 1.1.

@charleskawczynski
Copy link
Member

Yeah but that's quite annoying; is there a way to have that as a default behavior?

I don't think so, but I don't think this would be safe, since you should likely be aware of the environment your running.

Anyway, that's rather off-topic. julia --project test/runtests.jl still fails for me. Maybe there needs to be something installed in the Project.toml, like VersionParsing? Or update the julia itself? I'm running 1.1.

It could be that you need to update to the latest Julia version, what's the error you're getting?

@bors bors bot closed this as completed in #33 Feb 17, 2020
@bors bors bot closed this as completed in 9718a69 Feb 17, 2020
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

Successfully merging a pull request may close this issue.

2 participants