kaishuu0123/vscode-erd

Not working

smkamranqadri opened this issue · 7 comments

I have followed all the steps but it's not working.

Screenshot-20190406233226-1600x900

@smkamranqadri

Please tell me the following information

  • Platform (linux?)
  • vscode-erd version.
  • settings.json (copy and paste)

If the erd-go path settings are correct, an error message will be displayed on the preview screen.

Platform (linux - pop os)
vscode-erd 1.32.3.
settings.json

{
"erd-preview.dotPath": "/home/mkamran/Applications/graphviz-dot/graphviz-dot-linux-x64",
"erd-preview.erdPath": "/home/mkamran/Applications/erd-go/linux_amd64_erd-go"
}

@smkamranqadri

Please check permission of linux_amd64_erd-go and graphviz-dot-linux-x64 command.

ls -l /home/mkamran/Applications/erd-go/linux_amd64_erd-go
ls -l /home/mkamran/Applications/graphviz-dot/graphviz-dot-linux-x64

Please add if executable permission isn't attached to the command.

chmod +x  /home/mkamran/Applications/erd-go/linux_amd64_erd-go
chmod +x /home/mkamran/Applications/graphviz-dot/graphviz-dot-linux-x64

It is unkind to not get an error message.
I will create an issue as the other case.

Yes, I made them executable.

If you executable erd-go and get an error, an error message will be displayed on the vscode screen.

スクリーンショット 2019-04-22 10 47 32

I have not been able to reproduce this problem yet.
I will try it on Linux (Ubuntu Desktop).

Exactly the same problem here.
Installed ERD-GO with homebrew on a mac.

It seems that you have to have GrpahViz installed also, simply installing the dot binary as outlined in the readme isn't enough.

I installed graphviz (ubuntu) using sudo apt install graphviz and the extension started working.