Skip to content
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

MethodError: no method matching eachcolumn, on basic example #421

Closed
IanButterworth opened this issue Jun 12, 2020 · 1 comment
Closed

Comments

@IanButterworth
Copy link

The bug

julia> using Mux, WebIO, TableView
[ Info: Precompiling Mux [a975b10e-0019-58db-a62f-e48ff68538c9]

julia> WARNING: redefining constant known_mimetypes
WARNING: redefining constant singleton_instance
WARNING: redefining constant routing_callback
WARNING: redefining constant webio_server_config

julia> WebIO.webio_serve(showtable(rand(10,10)))
ERROR: MethodError: no method matching eachcolumn(::Tables.MatrixRow{Array{Float64,2}})
Closest candidates are:
  eachcolumn(::Union{Function, Type}, ::Tables.Schema{names,nothing}, ::Any) where names at /Users/ian/.julia/packages/Tables/okt7x/src/utils.jl:109
  eachcolumn(::Union{Function, Type}, ::Tables.Schema{names,types}, ::Any) where {names, types} at /Users/ian/.julia/packages/Tables/okt7x/src/utils.jl:66
Stacktrace:
 [1] table2json(::Tables.MatrixTable{Array{Float64,2}}, ::NTuple{10,Symbol}, ::NTuple{10,DataType}; requested::Nothing) at /Users/ian/.julia/packages/TableView/kqtYa/src/TableView.jl:210
 [2] table2json at /Users/ian/.julia/packages/TableView/kqtYa/src/TableView.jl:204 [inlined]
 [3] _showtable_sync!(::Scope, ::NTuple{10,Symbol}, ::NTuple{10,DataType}, ::Tables.MatrixTable{Array{Float64,2}}, ::Array{NamedTuple{(:headerName, :editable, :headerTooltip, :field, :sortable, :resizable, :type, :filter),Tuple{Symbol,Bool,DataType,Symbol,Bool,Bool,String,String}},1}, ::Int64, ::Bool, ::String, ::WebIO.JSString) at /Users/ian/.julia/packages/TableView/kqtYa/src/TableView.jl:145
 [4] showtable(::Tables.MatrixTable{Array{Float64,2}}; dark::Bool, height::Symbol, width::String, cell_changed::Nothing) at /Users/ian/.julia/packages/TableView/kqtYa/src/TableView.jl:139
 [5] showtable at /Users/ian/.julia/packages/TableView/kqtYa/src/TableView.jl:62 [inlined]
 [6] #showtable#1 at /Users/ian/.julia/packages/TableView/kqtYa/src/TableView.jl:46 [inlined]
 [7] showtable(::Array{Float64,2}) at /Users/ian/.julia/packages/TableView/kqtYa/src/TableView.jl:46

Context

(@v1.4) pkg> st Mux WebIO TableView
Status `~/.julia/environments/v1.4/Project.toml`
  [a975b10e] Mux v0.7.1
  [40c74d1a] TableView v0.4.1
  [0f1e0344] WebIO v0.8.14

julia> versioninfo()
Julia Version 1.4.2
Commit 44fa15b150* (2020-05-23 18:35 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin18.7.0)
  CPU: Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-8.0.1 (ORCJIT, skylake)
@IanButterworth
Copy link
Author

Reposted on TableView JuliaComputing/TableView.jl#50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant