Open smarionni opened 8 years ago
It sounds like whatever is being returned from the kernel is causing outputs[index].data
to return a string vs. array, hence the error. We are about to refactor a lot of the code for atom-notebook so I'm going to hold off on investigating this particular issue. The offending line is https://github.com/jupyter/atom-notebook/blob/master/lib/notebook-editor.js#L125 so if you're feeling adventurous, you can cross reference the atom-notebook logs (in Atom's Dev Tools console) with this line. Even better, you can tell Dev Tools to break on caught exceptions and inspect outputs[index].data
to get a better idea of what's going on.
Was trying to test it out and ran into the following issue (posted below). I'm running OS X 10.9.5. Python 2 and 3 installed via homebrew. All packages installed via pip.
import pandas as pd
. No problem.pd.DataFrame()
. Got the error belowa = pd.DataFrame()
and in the next cell runa
) it works fine.Output below automatically generated from the error reporting
Atom Version: 1.5.3 System: Mac OS X 10.9.5 Thrown From: jupyter-notebook package, v0.0.9
Stack Trace
Uncaught TypeError: outputs[index].data.concat is not a function
Commands
Config
Installed Packages