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

showtable not working for some dataset in JupyterLab #33

Open
xiaodaigh opened this issue Nov 16, 2019 · 3 comments
Open

showtable not working for some dataset in JupyterLab #33

xiaodaigh opened this issue Nov 16, 2019 · 3 comments

Comments

@xiaodaigh
Copy link

xiaodaigh commented Nov 16, 2019

showtable doesn't work for this data https://www.kaggle.com/c/GiveMeSomeCredit/data but it works for iris. The odd thing is it works in Juno, and Jupyter notebook, just on not JupyterLab.

gmsc = loadjdf("c:/Users/RTX2080/git/julia_presciient/data/gmsc.jdf")
showtable(gmsc)

image

I see an error in Chrome console

default.js:711 Uncaught (in promise) Error: Comms are disabled on this kernel connection
    at v.connectToComm (default.js:711)
    at e.<anonymous> (labextension.js:274)
    at l (labextension.js:55)
    at Object.next (labextension.js:36)
    at o (labextension.js:27)
connectToComm @ default.js:711
(anonymous) @ labextension.js:274
l @ labextension.js:55
(anonymous) @ labextension.js:36
o @ labextension.js:27
Promise.then (async)
l @ labextension.js:29
(anonymous) @ labextension.js:30
p @ labextension.js:26
e.connect @ labextension.js:250
createRenderer @ labextension.js:322
createRenderer @ registry.js:91
createRenderedMimetype @ widget.js:377
createOutputItem @ widget.js:355
_insertOutput @ widget.js:341
onModelChanged @ widget.js:219
m @ index.js:475
c @ index.js:433
e.emit @ index.js:106
_onListChanged @ model.js:218
m @ index.js:475
c @ index.js:433
e.emit @ index.js:106
push @ observablelist.js:135
_add @ model.js:203
add @ model.js:129
_onIOPub @ widget.js:92
_handleIOPub @ future.js:204
async function (async)
_handleIOPub @ future.js:200
handleMsg @ future.js:174
_handleMessage @ default.js:1067
(anonymous) @ default.js:122
Promise.then (async)
_onWSMessage @ default.js:119
default.js:711 Uncaught (in promise) Error: Comms are disabled on this kernel connection
    at v.connectToComm (default.js:711)
    at e.<anonymous> (labextension.js:274)
    at l (labextension.js:55)
    at Object.next (labextension.js:36)
    at o (labextension.js:27)

My versioninf() is

Julia Version 1.2.0
Commit c6da87ff4b (2019-08-20 00:03 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Environment:
  JULIA_EDITOR = sublime_text
  JULIA_NUM_THREADS = 6
  JULIA_PKG_DEVDIR = c:/git/

My ]st retursn

    Status `C:\Users\RTX2080\git\julia_presciient\Project.toml`
  [336ed68f] + CSV v0.5.14
  [aaaa29a8] + Clustering v0.13.3
  [a93c6f00] + DataFrames v0.19.4
  [1313f7d8] + DataFramesMeta v0.5.0
  [7806a523] + DecisionTree v0.9.1
  [587475ba] + Flux v0.9.0
  [38e38edf] + GLM v1.3.4
  [babc3d20] + JDF v0.2.6
  [97c1335a] + JSExpr v0.5.1
  [682c06a0] + JSON v0.21.0
  [50d2b5c4] + Lazy v0.14.0
  [add582a8] + MLJ v0.5.2
  [d491faf4] + MLJModels v0.5.6
  [2bd173c7] + NodeJS v0.6.0
  [429524aa] + Optim v0.19.4
  [b98c9c47] + Pipe v1.1.0
  [91a5bcdd] + Plots v0.27.0
  [3646fa90] + ScikitLearn v0.5.1
  [2913bbd2] + StatsBase v0.32.0
  [f3b207a7] + StatsPlots v0.12.0
  [40c74d1a] + TableView v0.4.1
  [0f1e0344] + WebIO v0.8.11
@xiaodaigh xiaodaigh changed the title showtable not working for some dataset in Jupyter showtable not working for some dataset in JupyterLab Nov 16, 2019
@pfitzseb
Copy link
Member

Can you view any tables (or other WebIO widgets) in JupyterLab?

@xiaodaigh
Copy link
Author

As you see in the original post, the iris dataset shows properly, just not the bigger dataset.

@pfitzseb
Copy link
Member

@travigd, do you have any idea why that error might happen? I'm super unfamiliar with how WebIO works in JupyterLab.

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

2 participants