Azure / LogicAppsUX

https://learn.microsoft.com/azure/logic-apps
MIT License
75 stars 81 forks source link

Can't start the background design-time process #3925

Closed yunn246 closed 8 months ago

yunn246 commented 9 months ago

Describe the Bug with repro steps

The background design-time is set to auto start, but vscode cannot start it anymore. Since this appears, data mappers that are created previously are missing all connections and cannot load schemas.

Screenshots or Videos

When VSCode is opened image

When I try to load data mapper image

Version

Additional context

No response

ccastrotrejo commented 9 months ago

Hi @yunn246 thank you so much for raising this issue, it seems that the command we use from functions core tools to start the design time process is failing. Is there any chance we can get a screenshot from the terminal and from the output console log in vscode when this issue is happening?

yunn246 commented 9 months ago

Hi, I don't see anything in terminal, but here are screenshots from the output when the issue happened. I was trying to open an existing lml in data mapper.

ccastrotrejo commented 9 months ago

Hi @yunn246 it does seem that the azure functions core tools version is the one having troubles. Checking the binaries installation after opening vscode should install/update the function core tools automatically, it does looks like something is wrong with updating it. To get the latest versions, as a workaround, could you please remove the complete folder C:\Users\yuw\.azurelogicapps\dependencies and restart vscode? This will install the latest version.

I will work on try to fix this issue. Thanks!

ccastrotrejo commented 9 months ago

Hi @yunn246 I was able to repro the exact same scenario. Azure Logica Apps extension will ask the user to update azure function core tools whenever this extension setting is set to true. Could you verify if this setting is set to true? Therefore a popup will appear in the UI asking if you would like to update function core tools and you would need to update it

image image
yunn246 commented 9 months ago

Hi @ccastrotrejo, I checked the setting and it's already set to true. I didn't see the warning message pop-up. image I have also tried remove the dependencies folder and let it install automatically, but background design-time process still can't start. image

ccastrotrejo commented 9 months ago

@yunn246 Sometimes the pop-up notification hides in the notification area, in the right low corner.

image

Since you remove it, auto installation should have the latest version, which is fine. Therefore, could you share with us the screenshot of the output tab again to know if there is something else going on with the latest version? Try restarting the vscode, since I found out earlier today that when the extension updates func core tools sometimes doesn't set the right permissions on the func core tools executable, whoever I made this PR to fix it https://github.com/Azure/LogicAppsUX/pull/3930

If you feel more comfortable sharing the screenshots and data via email, please do so: ccastrotrejo@microsoft.com

github-actions[bot] commented 9 months ago

We requested more information to triage this issue. If the issue goes more than 7 days with no more information it'll be automatically closed.

github-actions[bot] commented 8 months ago

This issue has been closed because the information requested wasn't provided within 7 days.