AykutSarac / jsoncrack-vscode

VS Code extension of JSON Crack. Convert your JSON files into graphs with a single click and view them onto graphs.
https://marketplace.visualstudio.com/items?itemName=AykutSarac.jsoncrack-vscode
MIT License
445 stars 49 forks source link

[BUG]: Black Screen, no data view #11

Closed Finkman closed 1 year ago

Finkman commented 1 year ago

Issue description

I installed jsoncrack v1.0.8 on VS-Code v1.73.1. When I open a json file and then start jsoncrack, it just displays an empty black window.

grafik

After a restart of code, each start of jsoncrack pops up a message:

grafik

As I said, this message only comes up, after vs code has restarted and jsoncrack is started again.

Media & Screenshots

No response

Operating system

Priority this issue should have

High (immediate attention needed)

Kugeleis commented 1 year ago

same here VS code latest windows 10 and Linux Ubuntu 22.04

moseleyi commented 1 year ago

Same here VSCode 1.73.1 and Windows 10

spkane commented 1 year ago

This is a duplicate of: https://github.com/AykutSarac/jsoncrack-vscode/issues/10

mforkel commented 1 year ago

Same here: VSCode 1.76.0, Windows 10, WSL 1.1.3.0, JSON Crack 1.0.8 - nothing but a light grid on a gray background

AykutSarac commented 1 year ago

Merging under #29

mforkel commented 1 year ago

After #29 was closed, I upgraded to version 2.0.2 of the extension. But I still get nothing but a light grid on a gray background (VS Code 1.81.1, Node.js 16.17.1, WSL 1.2.5.0).

AykutSarac commented 1 year ago

Can you do the following steps?

  1. Press F1
  2. to the input: > Developer: Toggle Developer Tools
  3. Run JSON Crack on a JSON file
  4. Screenshot the console

Additionally it'd be helpful if you'd record the whole and share it here.

Note: JSON Crack cannot load huge data currently, if you're trying to visualize bigger data than it can handle it will likely get stuck.

mforkel commented 1 year ago

Thanks for your reply and sorry that my report probably was a false alarm. This time, I got a very nice looking graph from "Entable JSON Crack visualization". I'm not sure what went wrong the first time. May be, reloading after the upgrade to 2.0.2 wasn't enough? For this test, I opened a new VS Code window.

I found two entries in the console that seem to be related to your extension:

DevTools failed to load source map: Could not load content for https://vscode-remote+wsl-002bdebianbullseye.vscode-resource.vscode-cdn.net/home/malte/.vscode-server/extensions/aykutsarac.jsoncrack-vscode-2.0.2/build/static/css/main.bd354a94.css.map: Connection error: net::ERR_NAME_NOT_RESOLVED
DevTools failed to load source map: Could not load content for https://vscode-remote+wsl-002bdebianbullseye.vscode-resource.vscode-cdn.net/home/malte/.vscode-server/extensions/aykutsarac.jsoncrack-vscode-2.0.2/build/static/js/main.c0312bba.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED

Please let me know if more information would be helpful. I have taken a screenshot of the developer tools' console, but I not sure what you mean by "record the whole".

AykutSarac commented 1 year ago

Thanks for sharing and glad it sorted out!