-
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
pango conflict/assertion issue #147
Comments
Did you ever resolve this issue? Running into something similar on my machine ( OSX 10.9.2) after installing pango from source as well
results in:
Package.status info:
|
Running exactly the same as kennyjoseph |
exactly the same error messages ("pangolayout not defined...") with we (OSX 10.9.3) |
the problem is with |
Awesome, I can confirm this worked for me...thanks much! |
I think the original issue is an unrelated problem. But that too is fixed now, I think. |
I'm a new user to Julia and Gadfly, but I've just freshly installed the two on OSX 10.9. After installing Gadfly and Cairo in Julia via Pkg.add, I'm trying to create a simple PDF plot and get
() | () () | Documentation: http://docs.julialang.org
_ _ | | __ _ | Type "help()" to list help topics
| | | | | | |/ ' | |
| | || | | | (| | | Version 0.2.0 (2013-11-16 23:44 UTC)
/ |_'|||__'| |
|__/ | x86_64-apple-darwin13.0.0
julia>
julia> using DataFrames
using Gadfly
julia> foo = plot(x=1:10, y=rand(10))
Plot(...)
!julia> draw(PDF("./foo.pdf", 5inch, 5inch), foo)
Warning: Possible conflict in library symbol cairo_svg_surface_create_for_stream
Warning: Possible conflict in library symbol cairo_image_surface_create
Warning: Possible conflict in library symbol cairo_pdf_surface_create_for_stream
Warning: Possible conflict in library symbol cairo_ps_surface_create_for_stream
Warning: Possible conflict in library symbol cairo_ps_surface_set_eps
Warning: Possible conflict in library symbol cairo_create
Warning: Possible conflict in library symbol pango_cairo_create_layout
Warning: Possible conflict in library symbol cairo_surface_status
Warning: Possible conflict in library symbol cairo_restore
Warning: Possible conflict in library symbol g_object_unref
Warning: Possible conflict in library symbol cairo_destroy
Warning: Possible conflict in library symbol cairo_surface_destroy
Warning: Possible conflict in library symbol cairo_save
Warning: Possible conflict in library symbol cairo_move_to
Warning: Possible conflict in library symbol cairo_line_to
Warning: Possible conflict in library symbol cairo_close_path
Warning: Possible conflict in library symbol cairo_clip
Warning: Possible conflict in library symbol pango_font_description_from_string
Warning: Possible conflict in library symbol pango_layout_set_font_description
Warning: Possible conflict in library symbol pango_font_description_free
Warning: Possible conflict in library symbol pango_layout_get_font_description
Warning: Possible conflict in library symbol pango_font_description_get_family
Warning: Possible conflict in library symbol pango_layout_get_pixel_size
Warning: Possible conflict in library symbol cairo_translate
Warning: Possible conflict in library symbol cairo_rotate
Warning: Possible conflict in library symbol pango_cairo_show_layout
Warning: Possible conflict in library symbol pango_layout_set_markup
Warning: Possible conflict in library symbol pango_layout_set_text
(process:93875): Pango-CRITICAL **: void pango_layout_set_markup_with_accel(PangoLayout *, const char *, int, gunichar, gunichar *): assertion 'PANGO_IS_LAYOUT (layout)' failed
(process:93875): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineCoreText'.
(process:93875): GLib-GObject-CRITICAL **: gpointer g_object_new(GType, const gchar *, ...): assertion 'G_TYPE_IS_OBJECT (object_type)' failed
(process:93875): Pango-WARNING **: Failed to load Pango module '/Users/jackson/.julia/Homebrew/deps/usr/Cellar/pango/1.36.0/lib/pango/1.8.0/modules/pango-basic-coretext.so' for id 'BasicScriptEngineCor
eText'
(process:93875): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineCoreText'.
(process:93875): GLib-GObject-CRITICAL **: gpointer g_object_new(GType, const gchar *, ...): assertion 'G_TYPE_IS_OBJECT (object_type)' failed
(process:93875): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineCoreText'.
These lines repeat themselves over and over again. I've installed cairo, fontconfig and pango via homebrew outside of julia (I think doing Pkg.add("Cairo") means though that it uses its own download of cairo). Any suggestions here?
(Also a foo.pdf does get created and its missing any axis labels and text even though the points themselves are showing up)
The text was updated successfully, but these errors were encountered: