Azure / LogicAppsUX

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

Can't open designer in Visual Studio Code on Windows ARM64 (Surface laptop 7) #5031

Closed fijsh closed 2 months ago

fijsh commented 3 months ago

Describe the Bug with repro steps

On the new Surface laptop 7:

1) Install Visual Studio Code

2) Install Azure Tools extension

3) Install Logic Apps Standard extension

4) Create a new Logic App project

5) Right-Click on workflow.json and select Open designer

[2024-06-27T17:07:51.085Z] Failed to initialize worker provider for: C:\Azure.Functions.Cli.win-arm64.4.0.5801\workers\python

[2024-06-27T17:07:51.085Z] Microsoft.Azure.WebJobs.Script: File DefaultWorkerPath: C:\Azure.Functions.Cli.win-arm64.4.0.5801\workers\python\3.10/WINDOWS/Arm64/worker.py does not exist.

[2024-06-27T17:07:51.205Z] Error configuring services in an external startup class.

[2024-06-27T17:07:51.205Z] Error configuring services in an external startup class. System.Private.CoreLib: Poging om een programma te laden met een onjuiste indeling. (0x8007000B).

[2024-06-27T17:07:51.205Z] A host error has occurred during startup operation '06764ea0-5a7c-4cdd-9b4a-e431512d25d7'.

[2024-06-27T17:07:51.205Z] Microsoft.Azure.WebJobs.Script: Error configuring services in an external startup class. System.Private.CoreLib: Poging om een programma te laden met een onjuiste indeling. (0x8007000B).

Value cannot be null. (Parameter 'provider')

[2024-06-27T17:07:51.213Z] Host startup operation has been canceled

7:08:30 PM: Error: connect ECONNREFUSED 127.0.0.1:8000

First used the Azure Function Core Tools that were installes with the plugin. To troubleshoot I downloaded the ARM64 zip of the Azure Function Core Tools, but that results in the same error.

The file \workers\python\3.10/WINDOWS/Arm64/worker.py does not exist. There is no Arm64 folder on disk.

What type of Logic App Is this happening in?

Standard (VSCode)

Are you using new designer or old designer

New Designer

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

No response

Screenshots or Videos

No response

Browser

Chrome

Additional context

No response

hartra344 commented 3 months ago

We don't currently have a ARM64 windows device to test a repro with, but to clarify and make sure I get the right people looking at this? Using Azure Functions Core Tools from CLI also failed?

github-actions[bot] commented 2 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.

fijsh commented 2 months ago

We don't currently have a ARM64 windows device to test a repro with, but to clarify and make sure I get the right people looking at this? Using Azure Functions Core Tools from CLI also failed?

I haven't checked that. As a workaround I installed the x64 version of Visual Studio Code and the x64 version the CLI and now it works on my ARM64 laptop. I rather use the ARM64 versiona ofcourse since these perform better.

hartra344 commented 2 months ago

It may take some time for all the moving pieces to be available in ARM64 windows. Hopefully not as long as it took for MacOS though since the primary work for them have already been done. Going to close this for now since it's working for you with X64 binaries