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

Error during with runing an app which has CondaPkg in deps #36

Open
YuliyaCl opened this issue Apr 12, 2022 · 0 comments
Open

Error during with runing an app which has CondaPkg in deps #36

YuliyaCl opened this issue Apr 12, 2022 · 0 comments

Comments

@YuliyaCl
Copy link

Hello!
I've an error when i'm trying to run created app which has CondaPkg in deps.

Code for MWE is published here: https://github.com/YuliyaCl/TryCompile.jl

To create an app run file deploy/compile_app.sh (workdir should be root repository dir).

Tests and building proccess run correctly but when I'm runing ....\TryCompile\bin\TryCompile.exe in cmd, an error occurs:

Hello! My status is:
ERROR: no environment in the LOAD_PATH depends on CondaPkg
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] _resolve_top_env(load_path::Any)
    @ CondaPkg C:\Users\yzh\.julia\packages\CondaPkg\Olo5Y\src\resolve.jl:16
  [3] resolve(; force::Bool, io::IO, interactive::Bool, dry_run::Bool)
    @ CondaPkg C:\Users\yzh\.julia\packages\CondaPkg\Olo5Y\src\resolve.jl:307
  [4] is_resolved()
    @ CondaPkg C:\Users\yzh\.julia\packages\CondaPkg\Olo5Y\src\resolve.jl:418
  [5] status(; io::IO)
    @ CondaPkg C:\Users\yzh\.julia\packages\CondaPkg\Olo5Y\src\deps.jl:111
  [6] status()
    @ CondaPkg C:\Users\yzh\.julia\packages\CondaPkg\Olo5Y\src\deps.jl:110
  [7] foo(txt::String)
    @ TryCompile C:\Users\yzh\.julia\dev\TryCompile\src\TryCompile.jl:8
  [8] foo
    @ C:\Users\yzh\.julia\dev\TryCompile\src\TryCompile.jl:7 [inlined]
  [9] julia_main()
    @ TryCompile C:\Users\yzh\.julia\dev\TryCompile\src\TryCompile.jl:21
 [10] top-level scope
    @ none:1

So it failed trying perform CondaPkg.status()

This issue is related with JuliaPy/PythonCall.jl#146

When I'm using another pkg to test PackageCompiler (Statistics.jl was used) everything run correctly.

Thanks.

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