vscode-erd icon indicating copy to clipboard operation
vscode-erd copied to clipboard

Not working

Open smkamranqadri opened this issue 5 years ago • 7 comments

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

Screenshot-20190406233226-1600x900

smkamranqadri avatar Apr 06 '19 18:04 smkamranqadri

@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.

kaishuu0123 avatar Apr 08 '19 02:04 kaishuu0123

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 avatar Apr 08 '19 11:04 smkamranqadri

@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.

kaishuu0123 avatar Apr 09 '19 02:04 kaishuu0123

Yes, I made them executable.

smkamranqadri avatar Apr 19 '19 04:04 smkamranqadri

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).

kaishuu0123 avatar Apr 22 '19 01:04 kaishuu0123

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

Alex-Jongman avatar Dec 11 '19 09:12 Alex-Jongman

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.

DazDotOne avatar Feb 15 '22 13:02 DazDotOne