I rebuilt both and neither gave errors. (though actually building Cairo did 
give an error, it then switched to source and built ok. This is OS X with 
Homebrew)

But now it opens a small window and the error message changes. 

julia> @profile test(1_000_000_00);
julia> ProfileView.view()
Gtk.GtkWindowLeaf(name="", parent, width-request=-1, height-request=-1, 
visible=TRUE, sensitive=TRUE, app-paintable=FALSE, can-focus=FALSE, has-
focus=FALSE, is-focus=FALSE, focus-on-click=TRUE, can-default=FALSE, has-
default=FALSE, receives-default=FALSE, composite-child=FALSE, style, events=
0, no-show-all=FALSE, has-tooltip=FALSE, tooltip-markup=NULL, tooltip-text=
NULL, window, opacity=1.000000, double-buffered, halign=GTK_ALIGN_FILL, 
valign=GTK_ALIGN_FILL, margin-left, margin-right, margin-start=0, margin-end
=0, margin-top=0, margin-bottom=0, margin=0, hexpand=FALSE, vexpand=FALSE, 
hexpand-set=FALSE, vexpand-set=FALSE, expand=FALSE, scale-factor=2, border-
width=0, resize-mode, child, type=GTK_WINDOW_TOPLEVEL, title="Profile", role
=NULL, resizable=TRUE, modal=FALSE, window-position=GTK_WIN_POS_NONE, 
default-width=-1, default-height=-1, destroy-with-parent=FALSE, hide-
titlebar-when-maximized=FALSE, icon, icon-name=NULL, screen, type-hint=
GDK_WINDOW_TYPE_HINT_NORMAL, skip-taskbar-hint=FALSE, skip-pager-hint=FALSE, 
urgency-hint=FALSE, accept-focus=TRUE, focus-on-map=TRUE, decorated=TRUE, 
deletable=TRUE, gravity=GDK_GRAVITY_NORTH_WEST, transient-for, attached-to, 
has-resize-grip, resize-grip-visible, application, is-active=FALSE, has-
toplevel-focus=FALSE, startup-id, mnemonics-visible=FALSE, focus-visible=
FALSE, is-maximized=FALSE)


julia>
(<unknown>:53358): Gtk-WARNING **: Error loading theme icon 'document-open' 
for stock: Icon 'document-open' not present in theme Adwaita


(<unknown>:53358): Gtk-WARNING **: Error loading theme icon 
'document-save-as' for stock: Icon 'document-save-as' not present in theme 
Await


# and many more lines like that.




On Sunday, 11 September 2016 09:12:35 UTC+1, Chris Rackauckas wrote:
>
> Did GTK and Cairo build correctly?
>
> On Sunday, September 11, 2016 at 12:10:54 AM UTC-7, Christoph Ortner wrote:
>>
>> yes and yes (that was the previous error message I posted)
>>
>> maybe it is just some dependencies that are not correctly installed? But 
>> then why does it both fail in REPL and NB  ?
>>
>> On Sunday, 11 September 2016 02:08:53 UTC+1, Chris Rackauckas wrote:
>>>
>>> Is this after updating? Do you also have an error when you do it from 
>>> the REPL?
>>>
>>> On Saturday, September 10, 2016 at 2:34:03 PM UTC-7, Christoph Ortner 
>>> wrote:
>>>>
>>>> And here the error message I get in a notebook:
>>>>
>>>> type Array has no field func
>>>>
>>>>  in 
>>>> (::ProfileView.#printrec#26{Dict{UInt64,Array{StackFrame,1}}})(::IOContext{Base.AbstractIOBuffer{Array{UInt8,1}}},
>>>>  ::Int64, ::Float64, ::Float64, ::Float64, ::ProfileView.TagData, 
>>>> ::ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}}) at 
>>>> /Users/ortner/.julia/v0.5/ProfileView/src/ProfileView.jl:213
>>>>  in show(::IOContext{Base.AbstractIOBuffer{Array{UInt8,1}}}, 
>>>> ::MIME{Symbol("image/svg+xml")}, ::ProfileView.ProfileData) at 
>>>> /Users/ortner/.julia/v0.5/ProfileView/src/ProfileView.jl:255
>>>>  in verbose_show(::Base.AbstractIOBuffer{Array{UInt8,1}}, 
>>>> ::MIME{Symbol("image/svg+xml")}, ::ProfileView.ProfileData) at 
>>>> ./multimedia.jl:50
>>>>  in #sprint#304(::Void, ::Function, ::Int64, ::Function, 
>>>> ::MIME{Symbol("image/svg+xml")}, ::Vararg{Any,N}) at ./strings/io.jl:37
>>>>  in display_dict(::ProfileView.ProfileData) at 
>>>> /Users/ortner/.julia/v0.5/IJulia/src/execute_request.jl:28
>>>>  in execute_request(::ZMQ.Socket, ::IJulia.Msg) at 
>>>> /Users/ortner/.julia/v0.5/IJulia/src/execute_request.jl:195
>>>>  in eventloop(::ZMQ.Socket) at 
>>>> /Users/ortner/.julia/v0.5/IJulia/src/IJulia.jl:138
>>>>  in (::IJulia.##25#31)() at ./task.jl:360
>>>>
>>>>
>>>> In [ ]:
>>>>
>>>

Reply via email to