RandomFractals / vscode-data-preview

Data Preview 🈸 extension for importing 📤 viewing 🔎 slicing 🔪 dicing 🎲 charting 📊 & exporting 📥 large JSON array/config, YAML, Apache Arrow, Avro, Parquet & Excel data files
https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.vscode-data-preview
Apache License 2.0
550 stars 59 forks source link

Doesn't works on VS Code Insider for Mac M1 (without data) #245

Closed yemreak closed 3 years ago

yemreak commented 3 years ago
Screen Shot 2021-01-06 at 22 52 10
RandomFractals commented 3 years ago

I am not sure what you mean by "(without data)".

Did you open a Data Preview for some data file? How did you get a blank grid view controls display? I've never seen that.

This screenshot is not enough to investigate further and I don't have Mac M1 to test it :(

yemreak commented 3 years ago

Sorry for low information. When I open csv file that had data with Data Preview on VS Code Insider for MacBook M1 , nothing shows to me and shows me that picture. When I try to open that csv file on Windows VS Code, it works.

RandomFractals commented 3 years ago

@yedhrab data preview has a custom debug view. Have you seen any errors when you click on > link button in its toolbar?

Also, worth checking out vscode debug panel to see if it has any errors reported for this webview extension.

Not sure why running it on macbook m1 would be an issue. The file reading api I use is basic nodejs fs and works on Macs and Linux OS. Should not have issues with diff. CPUs.

yemreak commented 3 years ago

I checked > button but there was no error message in there. Last message is data.view:complete!.

The result that VSCode Insiders dev tools console shows me is in below

Screen Shot 2021-01-09 at 12 29 26
RandomFractals commented 3 years ago

@yedhrab that's a bit more info. still not much to check why data is not loading. I'll see if my stats update methods do anything tricky. I doubt.

Have you tried loading other data files, like .xlsb, or json? Those are processed by different data providers, unlike csv which is just read as text.

Also, please make sure the .csv you are trying it with is not blank.

yemreak commented 3 years ago

First of all, .csv file is not blank of course

Screen Shot 2021-01-10 at 22 01 41

I just tested .xlsb file and result is in the below

Screen Shot 2021-01-10 at 21 55 46

Theme: DarkCode

RandomFractals commented 3 years ago

ok. so, looks like it fails in stats update. Thanks for trying it with .xlsb.