GiovineItalia / Gadfly.jl

Crafty statistical graphics for Julia.
http://gadflyjl.org/stable/
Other
1.9k stars 250 forks source link

Gadfly breaks down on latest update #325

Closed tomaskrehlik closed 10 years ago

tomaskrehlik commented 10 years ago

Plotting breaks down for me with the latest update.

Doing the standard plot(x=collect(1:100), y=sort(rand(100))) produces

Evaluation succeeded, but an error occurred while showing value of type Plot:
ERROR: pangolayout not defined
 in text_extents at /Users/tomaskrehlik/.julia/v0.2/Compose/src/pango.jl:103
 in text_extents at /Users/tomaskrehlik/.julia/v0.2/Compose/src/pango.jl:120
 in render at /Users/tomaskrehlik/.julia/v0.2/Gadfly/src/guide.jl:451
 in render_prepared at /Users/tomaskrehlik/.julia/v0.2/Gadfly/src/Gadfly.jl:707
 in render at /Users/tomaskrehlik/.julia/v0.2/Gadfly/src/Gadfly.jl:656
 in display at /Users/tomaskrehlik/.julia/v0.2/Gadfly/src/Gadfly.jl:880
 in display at /Users/tomaskrehlik/.julia/v0.2/Gadfly/src/Gadfly.jl:840
 in display at multimedia.jl:151

I noticed that the latest update introduces dependency on Fontconfig so I added that one too to no success my packages versions are:

Required packages:
 - Cairo                         0.2.13
 - Calculus                      0.1.3
 - DataFrames                    0.4.3
 - Datetime                      0.1.3
 - Fontconfig                    0.0.1
 - GARCH                         0.1.0
 - GLM                           0.2.5
 - Gadfly                        0.2.9
 - IJulia                        0.1.12
 - Iterators                     0.1.2
 - Quandl                        0.1.1
 - Winston                       0.11.0
 - ZMQ                           0.1.12
Additional packages:
 - BinDeps                       0.2.12
 - Blocks                        0.0.4
 - Codecs                        0.1.0
 - Color                         0.2.10
 - Compose                       0.1.29
 - DataArrays                    0.0.3
 - DataStructures                0.2.15
 - Distance                      0.2.6
 - Distributions                 0.3.0
 - GZip                          0.2.12
 - Hexagons                      0.0.1
 - Homebrew                      0.0.6
 - IniFile                       0.2.2
 - JSON                          0.3.6
 - Loess                         0.0.2
 - NLopt                         0.0.3
 - Nettle                        0.1.3
 - NumericExtensions             0.3.6
 - REPLCompletions               0.0.1
 - SortingAlgorithms             0.0.1
 - StatsBase                     0.3.8
 - TimeSeries                    0.2.0
 - Tk                            0.2.12
 - URIParser                     0.0.2
 - Wavelets                      0.0.0-             master (unregistered, dirty)

I am on Julia 0.2.1, Mac OS X.

zgana commented 10 years ago

I installed Julia and Gadfly for the first time yesterday. I'm excited to try this library, but I am also affected by this bug.

al-Khwarizmi commented 10 years ago

some people adding to issue #147 have the same problems

tomaskrehlik commented 10 years ago

Using Julia 0.3 works though.

al-Khwarizmi commented 10 years ago

the problem is with pango.jl, see my suggestion at https://github.com/dcjones/Compose.jl/issues/56

dcjones commented 10 years ago

Sorry for breaking 0.2 support. It should be sorted out now with a Pkg.update().