-
Notifications
You must be signed in to change notification settings - Fork 21
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: renderer for julia:cairo is unavailable #11
Comments
Also seeing this from juliabox |
Doing some debugging, it looks like |
This usually happens when GraphViz is built without cairo support. |
How to build it WITH cairo support? The Cairo package is already installed. |
Depends on how you got the GraphViz binary. |
@Keno What if I got it from HomeBrew? |
JuliaPackaging/Homebrew.jl#45, should be fixed now though. |
Hi, I'm having a similar problem but on Ubuntu 14.04, however the same code works on a 12.04 system. The initial indications are writemime and Cairo.jl related. I initially filed an issue there: JuliaGraphics/Cairo.jl#109 and #18 (sorry for repeated posts). I'm trying to draw a Graphs.jl with GraphViz.jl -- this works fine on 0.3.8, 0.3.10, 0.4-dev+5933 (12.04) but not 0.4-dev+5933 on 14.04. julia> GraphViz.Graph(to_dot(g))
Error: renderer for julia:cairo is unavailable
MethodError: writemime has no method matching writemime(::Base.Base64.Base64EncodePipe, ::Base.Multimedia.MIME{symbol("image/png")}, ::Void)
Closest candidates are:
writemime(::IO, !Matched::AbstractString, ::Any)
writemime(::IO, !Matched::Base.Multimedia.MIME{symbol("text/plain")}, ::Any)
writemime(::IO, ::Base.Multimedia.MIME{symbol("image/png")}, !Matched::Cairo.CairoSurface)
...
in writemime at /home/dehann/.julia/v0.4/GraphViz/src/GraphViz.jl:590 More infoI'm working from IJulia notebook and there are 5 packages of interest:
thanks, |
Can it be reopened? It is easily reproduced with the code from
|
I got the following error when trying the example in the front page in an IJulia Notebook
Do I need to install anything externally? I tried with
Pkg.checkout
but the same error.The text was updated successfully, but these errors were encountered: