-
Notifications
You must be signed in to change notification settings - Fork 9
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 showing value of type LinuxPerf.Counters #27
Comments
I downgraded |
@chriselrod could look into this? |
Oh, huh, my PrettyTables PR might've broken some things. julia> @measure 1+2
Error showing value of type LinuxPerf.Counters:
ERROR: MethodError: no method matching pretty_table(::IOContext{Base.TTY}, ::Matrix{String}, ::Vector{String}; row_names=LinuxPerf.EventType[hw:cycles, hw:cache_access, hw:cache_misses, hw:branches, hw:branch_mispredicts, hw:instructions, sw:ctx_switches, sw:page_faults, sw:minor_page_faults, sw:major_page_faults, sw:cpu_migrations], alignment=:l, crop=:none, body_hlines=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11])
Closest candidates are:
pretty_table(::IO, ::Any; kwargs...) at ~/.julia/packages/PrettyTables/ojIwn/src/print.jl:705
pretty_table(::Type{String}, ::Any; color, kwargs...) at ~/.julia/packages/PrettyTables/ojIwn/src/print.jl:707
pretty_table(::Type{HTML}, ::Any; kwargs...) at ~/.julia/packages/PrettyTables/ojIwn/src/print.jl:713
...
Stacktrace:
[1] show(io::IOContext{Base.TTY}, c::LinuxPerf.Counters)
@ LinuxPerf ~/.julia/packages/LinuxPerf/HOYkd/src/LinuxPerf.jl:370
[2] show(io::IOContext{Base.TTY}, #unused#::MIME{Symbol("text/plain")}, x::LinuxPerf.Counters)
@ Base.Multimedia ./multimedia.jl:47 is also broken. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to run the first test in my Julia and got the following error. It seems to do with PrettyTables. I'm using PrettyTables v2.1.2 and LinuxPerf 0.3.4.
I'm using a fresh installation of Ubuntu 22.04
I had the code working another day on a different computer but cannot reproduce it.
The text was updated successfully, but these errors were encountered: