KNITRO.jl icon indicating copy to clipboard operation
KNITRO.jl copied to clipboard

KNITRO errors and breakages.

Open iajzenszmi opened this issue 1 year ago • 1 comments

ansion
      @ ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
    [9] top-level scope
      @ ~/.julia/packages/KNITRO/FWSi0/test/runtests.jl:12
   [10] include(fname::String)
      @ Base.MainInclude ./client.jl:489
   [11] top-level scope
      @ none:6
   [12] eval
      @ ./boot.jl:385 [inlined]
   [13] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:291
   [14] _start()
      @ Base ./client.jl:552
Test C API: Error During Test at /home/ian/.julia/packages/KNITRO/FWSi0/test/runtests.jl:11
  Got exception outside of a @test
  LoadError: could not load symbol "KTR_get_release":
  /home/ian/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/bin/julia: undefined symbol: KTR_get_release
  Stacktrace:
    [1] knitro_version()
      @ KNITRO ~/.julia/packages/KNITRO/FWSi0/src/KNITRO.jl:39
    [2] top-level scope
      @ ~/.julia/packages/KNITRO/FWSi0/test/C_wrapper.jl:98
    [3] include(fname::String)
      @ Base.MainInclude ./client.jl:489
    [4] macro expansion
      @ ~/.julia/packages/KNITRO/FWSi0/test/runtests.jl:12 [inlined]
    [5] macro expansion
      @ ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
    [6] top-level scope
      @ ~/.julia/packages/KNITRO/FWSi0/test/runtests.jl:12
    [7] include(fname::String)
      @ Base.MainInclude ./client.jl:489
    [8] top-level scope
      @ none:6
    [9] eval
      @ ./boot.jl:385 [inlined]
   [10] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:291
   [11] _start()
      @ Base ./client.jl:552
  in expression starting at /home/ian/.julia/packages/KNITRO/FWSi0/test/C_wrapper.jl:98
Test Summary:         | Error  Total  Time
Test C API            |     2      2  1.9s
  Definition of model |     1      1  1.6s
ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 2 errored, 0 broken.
in expression starting at /home/ian/.julia/packages/KNITRO/FWSi0/test/runtests.jl:11
ERROR: Package KNITRO errored during testing

iajzenszmi avatar Apr 04 '24 06:04 iajzenszmi

Do you have KNITRO installed? https://github.com/jump-dev/KNITRO.jl?tab=readme-ov-file#installation What version?

odow avatar Apr 04 '24 08:04 odow

Closing as stale. It doesn't appear that the user has KNITRO installed.

If you have KNITRO installed and the issue persists, please comment and I will re-open the issue.

odow avatar Jul 16 '24 07:07 odow