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 in all plots #916

Closed
pstaabp opened this issue Oct 13, 2016 · 4 comments
Closed

error in all plots #916

pstaabp opened this issue Oct 13, 2016 · 4 comments

Comments

@pstaabp
Copy link

pstaabp commented Oct 13, 2016

I just updated recently to 0.5.1

Now, when I plot anything, I get the following error:

UndefVarError: _jl_libcairo not defined

 in CairoImageSurface(::Int64, ::Int64, ::Int32) at /Users/XXXX/.julia/v0.5/Cairo/src/Cairo.jl:168
 in newsurface(::Type{Compose.PNGBackend}, ::IOContext{Base64EncodePipe}, ::Float64, ::Float64) at /Users/XXXX/.julia/v0.5/Compose/src/cairo_backends.jl:265
 in (::Compose.##call#112#115)(::Int64, ::Type{Compose.Image{Compose.PNGBackend}}, ::IOContext{Base64EncodePipe}, ::Measures.Length{:mm,Float64}, ::Measures.Length{:mm,Float64}, ::Bool) at /Users/XXXX/.julia/v0.5/Compose/src/cairo_backends.jl:151
 in Compose.Image{Compose.PNGBackend}(::IOContext{Base64EncodePipe}, ::Measures.Length{:mm,Float64}, ::Measures.Length{:mm,Float64}) at /Users/XXXX/.julia/v0.5/Compose/src/cairo_backends.jl:140
 in limitstringmime(::MIME{Symbol("image/png")}, ::Gadfly.Plot) at /Users/XXXX/.julia/v0.5/IJulia/src/execute_request.jl:34
 in display_dict(::Gadfly.Plot) at /Users/XXXX/.julia/v0.5/IJulia/src/execute_request.jl:51
 in execute_request(::ZMQ.Socket, ::IJulia.Msg) at /Users/XXXX/.julia/v0.5/IJulia/src/execute_request.jl:200
 in eventloop(::ZMQ.Socket) at /Users/XXXX/.julia/v0.5/IJulia/src/eventloop.jl:8
 in (::IJulia.##9#15)() at ./task.jl:360

I'm running julia 0.5.0 on Yosemite.

@lobingera
Copy link

Find a few hints in JuliaGraphics/Cairo.jl#148

@tlnagy
Copy link
Member

tlnagy commented Oct 13, 2016

This is an issue with Cairo.jl. If the thread that @lobingera linked doesn't help, please open a new issue over there: https://github.com/JuliaGraphics/Cairo.jl

@tlnagy tlnagy closed this as completed Oct 13, 2016
@lobingera
Copy link

actually i think, this is an issue with Homebrew...

@pstaabp
Copy link
Author

pstaabp commented Oct 13, 2016

The brew uninstall -f cairo, Pkg.add("Cairo"), brew install cairo referenced in JuliaGraphics/Cairo.jl#148 fixed the error for me.

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

3 participants