-
Notifications
You must be signed in to change notification settings - Fork 251
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
Cannot pass the test -- _jl_libpango not defined #1309
Comments
Did you install Cairo master? |
The packages I installed are Status |
Gadfly uses the _jl_libpango 'pointer' to the library and Cairo has moved on to use libpango as label. If you don't really need it, i'd recommend to go back to the released Cairo.jl. Alternatives are: Adapt manually, or open an issue/PR on Gadfly.jl |
It should work now if you update to the latest master on Cairo because of these lines. |
It is solved! Thanks, folks! |
Hi, I installed Gadfly and tested it. Only one test was passed, and I got the error information as follows. I am using Julia 1.2.0 and MacOS 10.14.6.
Gadfly: Error During Test at /Users/edwardcho/.julia/packages/Gadfly/1wgcD/test/runtests.jl:81
Got exception outside of a @test
UndefVarError: _jl_libpango not defined
Stacktrace:
[1] apply_property(::Compose.Image{Compose.PDFBackend}, ::Compose.FontPrimitive) at /Users/edwardcho/.julia/packages/Compose/mwSoa/src/cairo_backends.jl:437
[2] push_property_frame(::Compose.Image{Compose.PDFBackend}, ::Array{Compose.Property,1}) at /Users/edwardcho/.julia/packages/Compose/mwSoa/src/cairo_backends.jl:332
[3] drawpart(::Compose.Image{Compose.PDFBackend}, ::Context, ::Compose.IdentityTransform, ::UnitBox{Float64,Float64,Float64,Float64}, ::Measures.BoundingBox{Tuple{Measures.Length{:mm,Float64},Measures.Length{:mm,Float64}},Tuple{Measures.Length{:mm,Float64},Measures.Length{:mm,Float64}}}) at /Users/edwardcho/.julia/packages/Compose/mwSoa/src/container.jl:454
[4] drawpart(::Compose.Image{Compose.PDFBackend}, ::Compose.AdhocContainerPromise, ::Compose.IdentityTransform, ::UnitBox{Float64,Float64,Float64,Float64}, ::Measures.BoundingBox{Tuple{Measures.Length{:mm,Float64},Measures.Length{:mm,Float64}},Tuple{Measures.Length{:mm,Float64},Measures.Length{:mm,Float64}}}) at /Users/edwardcho/.julia/packages/Compose/mwSoa/src/container.jl:389
[5] drawpart(::Compose.Image{Compose.PDFBackend}, ::Context, ::Compose.IdentityTransform, ::UnitBox{Float64,Float64,Float64,Float64}, ::Measures.BoundingBox{Tuple{Measures.Length{:mm,Float64},Measures.Length{:mm,Float64}},Tuple{Measures.Length{:mm,Float64},Measures.Length{:mm,Float64}}}) at /Users/edwardcho/.julia/packages/Compose/mwSoa/src/container.jl:508 (repeats 2 times)
[6] drawpart(::Compose.Image{Compose.PDFBackend}, ::Compose.Table, ::Compose.IdentityTransform, ::UnitBox{Float64,Float64,Float64,Float64}, ::Measures.BoundingBox{Tuple{Measures.Length{:mm,Float64},Measures.Length{:mm,Float64}},Tuple{Measures.Length{:mm,Float64},Measures.Length{:mm,Float64}}}) at /Users/edwardcho/.julia/packages/Compose/mwSoa/src/container.jl:389
[7] drawpart(::Compose.Image{Compose.PDFBackend}, ::Context, ::Compose.IdentityTransform, ::UnitBox{Float64,Float64,Float64,Float64}, ::Measures.BoundingBox{Tuple{Measures.Length{:mm,Float64},Measures.Length{:mm,Float64}},Tuple{Measures.Length{:mm,Float64},Measures.Length{:mm,Float64}}}) at /Users/edwardcho/.julia/packages/Compose/mwSoa/src/container.jl:508 (repeats 2 times)
[8] draw(::Compose.Image{Compose.PDFBackend}, ::Context) at /Users/edwardcho/.julia/packages/Compose/mwSoa/src/container.jl:355
[9] draw(::Compose.Image{Compose.PDFBackend}, ::Plot) at /Users/edwardcho/.julia/packages/Gadfly/1wgcD/src/Gadfly.jl:857
[10] top-level scope at /Users/edwardcho/.julia/packages/Gadfly/1wgcD/test/runtests.jl:88
[11] top-level scope at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Test/src/Test.jl:1113
[12] top-level scope at /Users/edwardcho/.julia/packages/Gadfly/1wgcD/test/runtests.jl:82
[13] include at ./boot.jl:328 [inlined]
[14] include_relative(::Module, ::String) at ./loading.jl:1094
[15] include(::Module, ::String) at ./Base.jl:31
[16] include(::String) at ./client.jl:431
[17] top-level scope at none:5
[18] eval(::Module, ::Any) at ./boot.jl:330
[19] exec_options(::Base.JLOptions) at ./client.jl:271
[20] _start() at ./client.jl:464
Test Summary: | Pass Error Total
Gadfly | 1 1 2
ERROR: LoadError: Some tests did not pass: 1 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /Users/edwardcho/.julia/packages/Gadfly/1wgcD/test/runtests.jl:81
ERROR: Package Gadfly errored during testing
The text was updated successfully, but these errors were encountered: