Python publish fails while parsing build_summary
See original GitHub issueA 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.
Issue Analytics
- State:
- Created a year ago
- Reactions:6
- Comments:5 (1 by maintainers)
Top GitHub Comments
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 anapt search
yields the following:Seems like
3.0.3904
is the latest version available on debian. How can we resolve this as quickly as possible?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: