plotly / react-pivottable

React-based drag'n'drop pivot table with Plotly.js charts
https://react-pivottable.js.org/
MIT License
993 stars 254 forks source link

Live Demo nothing happen when loading csv file #132

Open kbchiew69 opened 3 years ago

kbchiew69 commented 3 years ago

Not sure if its just me, BUT the live demo on https://react-pivottable.js.org/ not working when trying to load csv file to it. Try to Google on this problem BUT nothing... Please advise how can I try it out with csv file. Thanks.

zodvik commented 3 years ago

It's had to debug this without actually having the CSV that you'e using. It definitely works for me across a bunch of different CSVs.

rogerguess commented 2 years ago

I keep making smaller and smaller csv's with fewer columns and rows to try to get the demo working. Is there an example csv that works?

Errors in dev console:

react_devtools_backend.js:4045 TypeError: Cannot read properties of undefined (reading 'readable') at Object.parse (bundle.js:12) at t. (bundle.js:1) at un (bundle.js:12) at Eo (bundle.js:12) at ir (bundle.js:12) at t.unstable_runWithPriority (bundle.js:41) at Bt (bundle.js:12) at sr (bundle.js:12) at $o (bundle.js:12) at bundle.js:12 overrideMethod @ react_devtools_backend.js:4045 yo @ bundle.js:12 Fo.n.callback @ bundle.js:12 un @ bundle.js:12 Eo @ bundle.js:12 ir @ bundle.js:12 t.unstable_runWithPriority @ bundle.js:41 Bt @ bundle.js:12 sr @ bundle.js:12 $o @ bundle.js:12 (anonymous) @ bundle.js:12 t.unstable_runWithPriority @ bundle.js:41 Bt @ bundle.js:12 Yt @ bundle.js:12 Kt @ bundle.js:12 Uo @ bundle.js:12 enqueueSetState @ bundle.js:20 r.setState @ bundle.js:33 value @ bundle.js:1 (anonymous) @ bundle.js:25 Promise.then (async) value @ bundle.js:25 r @ bundle.js:12 s @ bundle.js:12 i @ bundle.js:12 l @ bundle.js:12 ie @ bundle.js:12 se @ bundle.js:12 le @ bundle.js:12 fe @ bundle.js:12 is @ bundle.js:20 v @ bundle.js:12 Pe @ bundle.js:12 Ce @ bundle.js:12 t.unstable_runWithPriority @ bundle.js:41 Bt @ bundle.js:12 h @ bundle.js:20 Oe @ bundle.js:12 bundle.js:12 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'readable') at Object.parse (bundle.js:12) at t. (bundle.js:1) at un (bundle.js:12) at Eo (bundle.js:12) at ir (bundle.js:12) at t.unstable_runWithPriority (bundle.js:41) at Bt (bundle.js:12) at sr (bundle.js:12) at $o (bundle.js:12) at bundle.js:12