azure-functions-core-tools
azure-functions-core-tools copied to clipboard
Python publish fails while parsing build_summary
A change is rolling out in Azure that causes the following error when deploying with func azure functionapp publish
. This happens for apps using remote build on Linux, which is only Python apps by default.
Unexpected character encountered while parsing value {. Path '[0].build_summary', line 1, position 609.
Full logs
> func azure functionapp publish <app name>
Getting site publishing info...
Creating archive for current directory...
Performing remote build for functions project.
Deleting the old .python_packages directory
Uploading 1.61 KB [###############################################################################]
Remote build in progress, please wait...
Unexpected character encountered while parsing value: {. Path '[0].build_summary', line 1, position 612.
Workaround
The best workaround is to simply ignore the error. The deploy should have continued regardless and you can check the status in the portal by going to your function app, the "Deployment Center" section, and finally the "Logs" tab.
The issue was fixed in core tools by #3015 and #3021. We are releasing this fix soon and I will update this issue once a new version is ready. We hope to finish the core tools release before most users are impacted by the Azure rollout.
This seems to be fixed in the 3.0.4502 release
I'm getting this error with 4.0.3971, which is the newest version available for Ubuntu in the official repository. Supposedly it's fixed in 4.0.4483 but that's not available for install.
Hello!
We are also getting this error. Trying to install az-functions-core-tools-3
on a Debian-10 image. However, it seems like the releases are not available. Doing an apt search
yields the following:
> apt search azure-functions-core-tools
Sorting... Done
Full Text Search... Done
azure-functions-core-tools/buster 4.0.4483-1 amd64
Azure Function Core Tools v3
azure-functions-core-tools-2/buster 2.7.3188-1 amd64
Azure Function Core Tools v2
azure-functions-core-tools-3/buster,now 3.0.3904-1 amd64 [installed]
Azure Function Core Tools v3
azure-functions-core-tools-4/buster 4.0.3971-1 amd64
Azure Function Core Tools v4
Seems like 3.0.3904
is the latest version available on debian.
How can we resolve this as quickly as possible?
@qTipTip Could you try running apt install azure-functions-core-tools=3.0.4502-1
? @staritjari, could you try installing azure-functions-core-tools
rather than azure-functions-core-tools-4
? Also, what regions are your apps in?
For Ubuntu, @staritjari grab it out of the Microsoft repository. https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/a/azure-functions-core-tools-4/
Debian 10, @qTipTip https://packages.microsoft.com/debian/10/prod/pool/main/a/azure-functions-core-tools-4/
https://docs.microsoft.com/en-us/windows-server/administration/linux-package-repository-for-microsoft-software
On Fri, May 6, 2022, 11:32 AM Michael Peng @.***> wrote:
@qTipTip https://github.com/qTipTip Could you try running apt install azure-functions-core-tools=3.0.4502-1? @staritjari https://github.com/staritjari, could you try installing azure-functions-core-tools rather than azure-functions-core-tools-4? Also, what regions are your apps in?
— Reply to this email directly, view it on GitHub https://github.com/Azure/azure-functions-core-tools/issues/3025#issuecomment-1119885971, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARFPHTUKPDRQPBPIH4KCDLVIVQVNANCNFSM5TIE5ZEQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>