-
Notifications
You must be signed in to change notification settings - Fork 62
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
[BUG] Compatibility issue when used alongside Graph, ArnoldiMethod v0.4 required #202
Comments
I have cloned the git, checkout -b (GraphPlot) pkg> status
Project GraphPlot v0.6.0
Status `~/Desktop/GraphPlot.jl/Project.toml`
[ec485272] ArnoldiMethod v0.4.0 ArnoldiMethod v0.2.0 -> ArnoldiMethod v0.4.0 However, the tests fail and I do not know how to fix the issue (I just started to look at this repository :)): Test Summary: | Pass Error Total Time
Karate Net | 1 3 4 16.8s
julia> include("test/runtests.jl")
[ Info: Importing test packages...
[ Info: Starting tests...
Karate Net: Error During Test at /home/julien/Desktop/GraphPlot.jl/test/runtests.jl:67
Test threw exception
Expression: (test_images(VisualTest(plot_and_save1, refimg1), popup = !istravis) |> save_comparison) |> success
MethodError: no method matching +(::Float64, ::RGBA{Float64})
Math on colors is deliberately undefined in ColorTypes, but see the ColorVectorSpace package.
Closest candidates are:
+(::Any, ::Any, ::Any, ::Any...)
@ Base operators.jl:587
+(::Real, ::Complex{Bool})
@ Base complex.jl:319
+(::VectorizationBase.CartesianVIndex, ::Any)
@ VectorizationBase ~/.julia/packages/VectorizationBase/LqJbS/src/cartesianvindex.jl:80
...
Stacktrace:
[1] eval_reduce(::Distances.Cityblock, s1::Float64, s2::RGBA{Float64})
@ Distances ~/.julia/packages/Distances/n9q0L/src/metrics.jl:324
[2] macro expansion
@ ~/.julia/packages/Distances/n9q0L/src/metrics.jl:255 [inlined]
[3] macro expansion
@ ./simdloop.jl:77 [inlined]
[4] _evaluate
@ ~/.julia/packages/Distances/n9q0L/src/metrics.jl:252 [inlined]
[5] Cityblock
@ ~/.julia/packages/Distances/n9q0L/src/metrics.jl:328 [inlined]
[6] (::ImageDistances.SumAbsoluteDifference)(a::Matrix{RGBA{Float64}}, b::Matrix{RGBA{Float64}})
@ ImageDistances ~/.julia/packages/ImageDistances/Dhl5Z/src/metrics.jl:71
[7] sad
@ ~/.julia/packages/ImageDistances/Dhl5Z/src/metrics.jl:75 [inlined]
[8] blurdiff(A::Matrix{RGBA{FixedPointNumbers.N0f8}}, B::Matrix{RGBA{FixedPointNumbers.N0f8}}, sigma::Tuple{Int64, Int64})
@ VisualRegressionTests ~/.julia/packages/VisualRegressionTests/5Ki9T/src/utils.jl:23
[9] compare_images(testfn::String, reffn::String; sigma::Tuple{Int64, Int64}, tol::Float64)
@ VisualRegressionTests ~/.julia/packages/VisualRegressionTests/5Ki9T/src/imgcomp.jl:15
[10] compare_images
@ ~/.julia/packages/VisualRegressionTests/5Ki9T/src/imgcomp.jl:1 [inlined]
[11] test_images(testfn::String, reffn::String; popup::Bool, auto::Bool, newfn::String, kw::@Kwargs{})
@ VisualRegressionTests ~/.julia/packages/VisualRegressionTests/5Ki9T/src/imgcomp.jl:32
[12] test_images(visualtest::VisualTest; popup::Bool, kw::@Kwargs{})
@ VisualRegressionTests ~/.julia/packages/VisualRegressionTests/5Ki9T/src/imgcomp.jl:56
[13] macro expansion
@ ~/Desktop/GraphPlot.jl/test/runtests.jl:67 [inlined]
[14] macro expansion
@ ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Test/src/Test.jl:669 [inlined]
[15] macro expansion
@ ~/Desktop/GraphPlot.jl/test/runtests.jl:67 [inlined]
[16] macro expansion
@ ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
[17] top-level scope
@ ~/Desktop/GraphPlot.jl/test/runtests.jl:61
Karate Net: Error During Test at /home/julien/Desktop/GraphPlot.jl/test/runtests.jl:72
Test threw exception
Expression: (test_images(VisualTest(plot_and_save2, refimg2), popup = !istravis) |> save_comparison) |> success
MethodError: no method matching +(::Float64, ::RGBA{Float64})
Math on colors is deliberately undefined in ColorTypes, but see the ColorVectorSpace package.
Closest candidates are:
+(::Any, ::Any, ::Any, ::Any...)
@ Base operators.jl:587
+(::Real, ::Complex{Bool})
@ Base complex.jl:319
+(::VectorizationBase.CartesianVIndex, ::Any)
@ VectorizationBase ~/.julia/packages/VectorizationBase/LqJbS/src/cartesianvindex.jl:80
...
Stacktrace:
[1] eval_reduce(::Distances.Cityblock, s1::Float64, s2::RGBA{Float64})
@ Distances ~/.julia/packages/Distances/n9q0L/src/metrics.jl:324
[2] macro expansion
@ ~/.julia/packages/Distances/n9q0L/src/metrics.jl:255 [inlined]
[3] macro expansion
@ ./simdloop.jl:77 [inlined]
[4] _evaluate
@ ~/.julia/packages/Distances/n9q0L/src/metrics.jl:252 [inlined]
[5] Cityblock
@ ~/.julia/packages/Distances/n9q0L/src/metrics.jl:328 [inlined]
[6] (::ImageDistances.SumAbsoluteDifference)(a::Matrix{RGBA{Float64}}, b::Matrix{RGBA{Float64}})
@ ImageDistances ~/.julia/packages/ImageDistances/Dhl5Z/src/metrics.jl:71
[7] sad
@ ~/.julia/packages/ImageDistances/Dhl5Z/src/metrics.jl:75 [inlined]
[8] blurdiff(A::Matrix{RGBA{FixedPointNumbers.N0f8}}, B::Matrix{RGBA{FixedPointNumbers.N0f8}}, sigma::Tuple{Int64, Int64})
@ VisualRegressionTests ~/.julia/packages/VisualRegressionTests/5Ki9T/src/utils.jl:23
[9] compare_images(testfn::String, reffn::String; sigma::Tuple{Int64, Int64}, tol::Float64)
@ VisualRegressionTests ~/.julia/packages/VisualRegressionTests/5Ki9T/src/imgcomp.jl:15
[10] compare_images
@ ~/.julia/packages/VisualRegressionTests/5Ki9T/src/imgcomp.jl:1 [inlined]
[11] test_images(testfn::String, reffn::String; popup::Bool, auto::Bool, newfn::String, kw::@Kwargs{})
@ VisualRegressionTests ~/.julia/packages/VisualRegressionTests/5Ki9T/src/imgcomp.jl:32
[12] test_images(visualtest::VisualTest; popup::Bool, kw::@Kwargs{})
@ VisualRegressionTests ~/.julia/packages/VisualRegressionTests/5Ki9T/src/imgcomp.jl:56
[13] macro expansion
@ ~/Desktop/GraphPlot.jl/test/runtests.jl:72 [inlined]
[14] macro expansion
@ ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Test/src/Test.jl:669 [inlined]
[15] macro expansion
@ ~/Desktop/GraphPlot.jl/test/runtests.jl:72 [inlined]
[16] macro expansion
@ ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
[17] top-level scope
@ ~/Desktop/GraphPlot.jl/test/runtests.jl:61
Karate Net: Error During Test at /home/julien/Desktop/GraphPlot.jl/test/runtests.jl:80
Test threw exception
Expression: (test_images(VisualTest(plot_and_save3, refimg3), popup = !istravis) |> save_comparison) |> success
MethodError: no method matching +(::Float64, ::RGBA{Float64})
Math on colors is deliberately undefined in ColorTypes, but see the ColorVectorSpace package.
Closest candidates are:
+(::Any, ::Any, ::Any, ::Any...)
@ Base operators.jl:587
+(::Real, ::Complex{Bool})
@ Base complex.jl:319
+(::VectorizationBase.CartesianVIndex, ::Any)
@ VectorizationBase ~/.julia/packages/VectorizationBase/LqJbS/src/cartesianvindex.jl:80
...
Stacktrace:
[1] eval_reduce(::Distances.Cityblock, s1::Float64, s2::RGBA{Float64})
@ Distances ~/.julia/packages/Distances/n9q0L/src/metrics.jl:324
[2] macro expansion
@ ~/.julia/packages/Distances/n9q0L/src/metrics.jl:255 [inlined]
[3] macro expansion
@ ./simdloop.jl:77 [inlined]
[4] _evaluate
@ ~/.julia/packages/Distances/n9q0L/src/metrics.jl:252 [inlined]
[5] Cityblock
@ ~/.julia/packages/Distances/n9q0L/src/metrics.jl:328 [inlined]
[6] (::ImageDistances.SumAbsoluteDifference)(a::Matrix{RGBA{Float64}}, b::Matrix{RGBA{Float64}})
@ ImageDistances ~/.julia/packages/ImageDistances/Dhl5Z/src/metrics.jl:71
[7] sad
@ ~/.julia/packages/ImageDistances/Dhl5Z/src/metrics.jl:75 [inlined]
[8] blurdiff(A::Matrix{RGBA{FixedPointNumbers.N0f8}}, B::Matrix{RGBA{FixedPointNumbers.N0f8}}, sigma::Tuple{Int64, Int64})
@ VisualRegressionTests ~/.julia/packages/VisualRegressionTests/5Ki9T/src/utils.jl:23
[9] compare_images(testfn::String, reffn::String; sigma::Tuple{Int64, Int64}, tol::Float64)
@ VisualRegressionTests ~/.julia/packages/VisualRegressionTests/5Ki9T/src/imgcomp.jl:15
[10] compare_images
@ ~/.julia/packages/VisualRegressionTests/5Ki9T/src/imgcomp.jl:1 [inlined]
[11] test_images(testfn::String, reffn::String; popup::Bool, auto::Bool, newfn::String, kw::@Kwargs{})
@ VisualRegressionTests ~/.julia/packages/VisualRegressionTests/5Ki9T/src/imgcomp.jl:32
[12] test_images(visualtest::VisualTest; popup::Bool, kw::@Kwargs{})
@ VisualRegressionTests ~/.julia/packages/VisualRegressionTests/5Ki9T/src/imgcomp.jl:56
[13] macro expansion
@ ~/Desktop/GraphPlot.jl/test/runtests.jl:80 [inlined]
[14] macro expansion
@ ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Test/src/Test.jl:669 [inlined]
[15] macro expansion
@ ~/Desktop/GraphPlot.jl/test/runtests.jl:80 [inlined]
[16] macro expansion
@ ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
[17] top-level scope
@ ~/Desktop/GraphPlot.jl/test/runtests.jl:61
[ Info: Reference image /home/julien/Desktop/GraphPlot.jl/test/data/karate_background_color.png matches. Difference: 0.0
Test Summary: | Pass Error Total Time
Karate Net | 1 3 4 16.8s
ERROR: LoadError: Some tests did not pass: 1 passed, 0 failed, 3 errored, 0 broken.
in expression starting at /home/julien/Desktop/GraphPlot.jl/test/runtests.jl:59
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Repost in favor of GraphPlot.jl
Hi :) I am in the process of developing my first package, and after reading here and trying to resolve the compatibility issue myself, I concluded that I had to report the conflict. I hope this is the right place to do it.
Thank you a lot :)
The text was updated successfully, but these errors were encountered: