Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/"Visualize daml project" comand in DAML Studio Command Palette sometimes throws errorForum ↗

"Visualize daml project" comand in DAML Studio Command Palette sometimes throws error

App Development4 posts306 views6 likesLast activity May 2020
GY
gyorgybalazsiOP
May 2020

Sometimes works, sometimes not.

I experienced error eg. with a fresh new project starting by right-clicking on the Main.daml file and choosing the Command Palette from the popup menu, but it worked from another file or starting Command Palette with the keyboard shortcut.

When it works, it’s great, much more convenient than the CLI command version.

MA
Martin_Huschenbett
May 2020

Hi György,
Are you using the same SDK version in both cases? We’ve lately fixed some issues in this area.
Do you know concrete steps to reproduce the failure on the newest SDK version (1.1.1)? If so, would you mind opening a bug report on Issues · digital-asset/daml · GitHub with short instructions on how to reproduce? That would help us a lot with fixing the issue.
Many thanks,
Martin.

GY
gyorgybalazsi
May 2020

Thanks, I will

GY
gyorgybalazsi
May 2020

No, I have found out the solution.

After I open DAML Studio, it takes some time to work properly. Eg it takes some time to appear the “Scenario results” link above the scenario definition.

It I try to issue the “Visualize daml project” too early, before the “Scenario results” link appears, it throws an error. If I wait until the “Scenario results” link appears, it works properly.

← Back to Discussions