- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我无法弄清楚为什么 Azure Functions 部署失败。这是 VS Code (Python venv 3.8.8
) 给出的错误输出
14:32:52 eTendersTests: Starting deployment...
14:32:57 eTendersTests: Creating zip package...
14:32:57 eTendersTests: Zip package size: 2.44 kB
14:33:01 eTendersTests: Fetching changes.
14:33:02 eTendersTests: Cleaning up temp folders from previous zip deployments and extracting pushed zip file /tmp/zipdeploy/f670fa18-4068-42c0-925b-752b66739c18.zip (0.00 MB) to /tmp/zipdeploy/extracted
14:33:04 eTendersTests: Updating submodules.
14:33:05 eTendersTests: Preparing deployment for commit id '95126602-7'.
14:33:05 eTendersTests: PreDeployment: context.CleanOutputPath False
14:33:05 eTendersTests: PreDeployment: context.OutputPath /home/site/wwwroot
14:33:05 eTendersTests: Repository path is /tmp/zipdeploy/extracted
14:33:05 eTendersTests: Running oryx build...
14:33:05 eTendersTests: Command: oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.9 -p packagedir=.python_packages/lib/site-packages
14:33:07 eTendersTests: Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
14:33:07 eTendersTests: You can report issues at https://github.com/Microsoft/Oryx/issues
14:33:07 eTendersTests: Oryx Version: 0.2.20210120.1, Commit: 66c7820d7df527aaffabd2563a49ad57930999c9, ReleaseTagName: 20210120.1
14:33:07 eTendersTests: Build Operation ID: |Yui9lstuThc=.75fae38b_
14:33:07 eTendersTests: Repository Commit : 95126602-7dce-46da-be06-41ab4abf3a44
14:33:07 eTendersTests: Detecting platforms...
14:33:07 eTendersTests: Detected following platforms:
14:33:07 eTendersTests: python: 3.9.7
14:33:07 eTendersTests: Version '3.9.7' of platform 'python' is not installed. Generating script to install it...
14:33:08 eTendersTests: Source directory : /tmp/zipdeploy/extracted
14:33:08 eTendersTests: Destination directory: /home/site/wwwroot
14:33:08 eTendersTests: Downloading and extracting 'python' version '3.9.7' to '/tmp/oryx/platforms/python/3.9.7'...
14:33:08 eTendersTests: Downloaded in 0 sec(s).
14:33:08 eTendersTests: Verifying checksum...
14:33:09 eTendersTests: Extracting contents...
14:33:12 eTendersTests: Done in 4 sec(s).
14:33:12 eTendersTests: Python Version: /tmp/oryx/platforms/python/3.9.7/bin/python3.9
14:33:12 eTendersTests: Running pip install...
14:33:13 eTendersTests: [04:33:13+0000] Collecting azure-functions
14:33:13 eTendersTests: [04:33:13+0000] Downloading azure_functions-1.11.2-py3-none-any.whl (206 kB)
14:33:13 eTendersTests: [04:33:13+0000] Installing collected packages: azure-functions
14:33:13 eTendersTests: [04:33:13+0000] Successfully installed azure-functions-1.11.2
14:33:14 eTendersTests: WARNING: You are using pip version 20.2.3; however, version 22.1.2 is available.
14:33:14 eTendersTests: You should consider upgrading via the '/tmp/oryx/platforms/python/3.9.7/bin/python3.9 -m pip install --upgrade pip' command.
14:33:14 eTendersTests: Done in 2 sec(s).
14:33:14 eTendersTests: Preparing output...
14:33:14 eTendersTests: Copying files to destination directory '/home/site/wwwroot'...
14:33:14 eTendersTests: Done in 0 sec(s).
14:33:15 eTendersTests: Removing existing manifest file
14:33:15 eTendersTests: Creating a manifest file...
14:33:15 eTendersTests: Manifest file created.
14:33:15 eTendersTests: Done in 6 sec(s).
14:33:15 eTendersTests: Running post deployment command(s)...
14:33:15 eTendersTests: Generating summary of Oryx build
14:33:15 eTendersTests: Deployment Log file does not exist in /tmp/oryx-build.log
14:33:15 eTendersTests: The logfile at /tmp/oryx-build.log is empty. Unable to fetch the summary of build
14:33:15 eTendersTests: Triggering recycle (preview mode disabled).
14:33:15 eTendersTests: Linux Consumption plan has a 1.5 GB memory limit on a remote build container.
14:33:15 eTendersTests: To check our service limit, please visit https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#service-limits
14:33:15 eTendersTests: Creating placeholder blob for linux consumption function app...
14:33:15 eTendersTests: Malformed SCM_RUN_FROM_PACKAGE when uploading built content.
14:33:15 eTendersTests: Generating summary of Oryx build
14:33:15 eTendersTests: Deployment Log file does not exist in /tmp/oryx-build.log
14:33:15 eTendersTests: The logfile at /tmp/oryx-build.log is empty. Unable to fetch the summary of build
14:33:15 eTendersTests: Deployment Failed.
14:33:24 eTendersTests: Deployment failed.
14:35:55 eTendersTests: Starting deployment...
14:35:58 eTendersTests: Creating zip package...
14:35:58 eTendersTests: Zip package size: 2.44 kB
14:36:00 eTendersTests: Fetching changes.
14:36:01 eTendersTests: Cleaning up temp folders from previous zip deployments and extracting pushed zip file /tmp/zipdeploy/5d3f2d78-9904-453e-9e73-c833f30cacf4.zip (0.00 MB) to /tmp/zipdeploy/extracted
14:36:03 eTendersTests: Updating submodules.
14:36:04 eTendersTests: Preparing deployment for commit id '5adc9561-c'.
14:36:04 eTendersTests: PreDeployment: context.CleanOutputPath False
14:36:04 eTendersTests: PreDeployment: context.OutputPath /home/site/wwwroot
14:36:04 eTendersTests: Repository path is /tmp/zipdeploy/extracted
14:36:04 eTendersTests: Running oryx build...
14:36:04 eTendersTests: Command: oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.9 -p packagedir=.python_packages/lib/site-packages
14:36:06 eTendersTests: Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
14:36:06 eTendersTests: You can report issues at https://github.com/Microsoft/Oryx/issues
14:36:06 eTendersTests: Oryx Version: 0.2.20210120.1, Commit: 66c7820d7df527aaffabd2563a49ad57930999c9, ReleaseTagName: 20210120.1
14:36:06 eTendersTests: Build Operation ID: |yJLJ95+U9fQ=.b4d71421_
14:36:06 eTendersTests: Repository Commit : 5adc9561-c840-47cb-83a4-9ff9451595ed
14:36:06 eTendersTests: Detecting platforms...
14:36:08 eTendersTests: Detected following platforms:
14:36:08 eTendersTests: python: 3.9.7
14:36:08 eTendersTests: Version '3.9.7' of platform 'python' is not installed. Generating script to install it...
14:36:08 eTendersTests: Source directory : /tmp/zipdeploy/extracted
14:36:08 eTendersTests: Destination directory: /home/site/wwwroot
14:36:08 eTendersTests: Downloading and extracting 'python' version '3.9.7' to '/tmp/oryx/platforms/python/3.9.7'...
14:36:09 eTendersTests: Downloaded in 1 sec(s).
14:36:09 eTendersTests: Verifying checksum...
14:36:09 eTendersTests: Extracting contents...
14:36:13 eTendersTests: Done in 5 sec(s).
14:36:13 eTendersTests: Python Version: /tmp/oryx/platforms/python/3.9.7/bin/python3.9
14:36:13 eTendersTests: Running pip install...
14:36:14 eTendersTests: [04:36:14+0000] Collecting azure-functions
14:36:14 eTendersTests: [04:36:14+0000] Downloading azure_functions-1.11.2-py3-none-any.whl (206 kB)
14:36:14 eTendersTests: [04:36:14+0000] Installing collected packages: azure-functions
14:36:14 eTendersTests: [04:36:14+0000] Successfully installed azure-functions-1.11.2
14:36:15 eTendersTests: WARNING: You are using pip version 20.2.3; however, version 22.1.2 is available.
14:36:15 eTendersTests: You should consider upgrading via the '/tmp/oryx/platforms/python/3.9.7/bin/python3.9 -m pip install --upgrade pip' command.
14:36:15 eTendersTests: Done in 2 sec(s).
14:36:15 eTendersTests: Preparing output...
14:36:15 eTendersTests: Copying files to destination directory '/home/site/wwwroot'...
14:36:15 eTendersTests: Done in 0 sec(s).
14:36:15 eTendersTests: Removing existing manifest file
14:36:15 eTendersTests: Creating a manifest file...
14:36:15 eTendersTests: Manifest file created.
14:36:15 eTendersTests: Done in 7 sec(s).
14:36:16 eTendersTests: Running post deployment command(s)...
14:36:16 eTendersTests: Generating summary of Oryx build
14:36:16 eTendersTests: Deployment Log file does not exist in /tmp/oryx-build.log
14:36:16 eTendersTests: The logfile at /tmp/oryx-build.log is empty. Unable to fetch the summary of build
14:36:16 eTendersTests: Triggering recycle (preview mode disabled).
14:36:16 eTendersTests: Linux Consumption plan has a 1.5 GB memory limit on a remote build container.
14:36:16 eTendersTests: To check our service limit, please visit https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#service-limits
14:36:16 eTendersTests: Creating placeholder blob for linux consumption function app...
14:36:16 eTendersTests: Malformed SCM_RUN_FROM_PACKAGE when uploading built content.
14:36:16 eTendersTests: Generating summary of Oryx build
14:36:16 eTendersTests: Deployment Log file does not exist in /tmp/oryx-build.log
14:36:16 eTendersTests: The logfile at /tmp/oryx-build.log is empty. Unable to fetch the summary of build
14:36:16 eTendersTests: Deployment Failed.
14:36:33 eTendersTests: Deployment failed.
最佳答案
我也遇到了与您所看到的相同的一般错误,但我的原因不同 - 它必须在为 Azure Functions 安装 PyTorch 时执行更多操作。该博客的作者对此做了很好的解释:Azure Functions : install PyTorch and Tensorflow
[09:23:12+0000] Running setup.py install for pytorch: finished with status 'error'
WARNING: You are using pip version 21.2.4; however, version 22.3.1 is available.
You should consider upgrading via the '/tmp/oryx/platforms/python/3.10.4/bin/python3.10 -m pip install --upgrade pip' command. | Exit code: 1 | Please review your requirements.txt | More information: https://aka.ms/troubleshoot-python
\n/opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.10.4 -p packagedir=.python_packages/lib/site-packages
Generating summary of Oryx build
Deployment Log file does not exist in /tmp/oryx-build.log
The logfile at /tmp/oryx-build.log is empty. Unable to fetch the summary of build
Deployment Failed. deployer = Push-Deployer deploymentPath = Functions App ZipDeploy. Extract zip. Remote build.
Remote build failed!
关于python - 无法使用 VSCODE Python 将基本示例 HttpRequest1 部署到 Azure Function,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72554813/
要构建我的远程环境,我需要设置几个环境变量(它们在 docker-compose 文件中使用)。这些是在我的 ZSH 环境中设置的,因此从终端运行 docker-compose build 可以按预期
这是vscode在主机中安装vscode-server时的日志 我发现它得到了 vscode-server 提交 ID,如下日志: [13:07:27.334] Using commit id "f8
在 devContainer 实例中安装 LiveShare 扩展时出现错误。 例如使用:https://github.com/microsoft/vscode-remote-try-go/然后将扩展
在 devContainer 实例中安装 LiveShare 扩展时出现错误。 例如使用:https://github.com/microsoft/vscode-remote-try-go/然后将扩展
我尝试在代码中构建和调试扩展。 我从https://github.com/microsoft/vscode-wordcount下载了字数统计的样本. 当我单击 F5 时,未生成 ./out 文件夹,并
你好,我最近从 Atom 切换到 Vs-code,并尝试了一些解释如何在他们的网站上添加语言支持的教程,我知道语言支持应该有着色器 问题是如何为自定义语言添加颜色?当我基本上使用每种语言时,我习惯了自
为了为我的数据科学工作流提供足够的计算能力,我在远程机器上使用 Docker 容器。虽然我可以通过 vscode-remote 连接到我的远程机器,但我无法连接到运行在这台机器上的 Docker 容器
我有一个创建多个 Docker 镜像的项目。我想在 vscode-remote 中为每个图像设置一个 devcontainer,以便我可以为每个图像启动一个容器。 我一次只需要启动并连接到一个容器/图
我认为这是可以通过编辑实现的 keybindings.json .由于我似乎无法找到可用命令的列表,因此通过自动完成我已经做到了这一点: { "key": "SHORTCUT"
gopls 需要在工作区的根目录下有一个模块。 您可以通过将每个模块作为工作区文件夹打开来处理多个模块。 此工作流程的改进即将推出 ( https://github.com/golang/go/iss
我的电脑上已经安装了 vscode。不久前我注意到它现在包含在 anaconda 发行版中。与我已经安装的 vscode 相比,使用 anaconda 附带的 vscode 有什么好处吗? 仅供引用,
我的电脑上已经安装了 vscode。不久前我注意到它现在包含在 anaconda 发行版中。与我已经安装的 vscode 相比,使用 anaconda 附带的 vscode 有什么好处吗? 仅供引用,
我想为 VSCode 编写一个扩展,重用 vscode-python 的重构/重命名功能扩大。这样,当用户执行我的命令时,我的扩展程序将对 .py 文件的变量进行重命名。我不知道 vscode-pyt
环境 vscode 版本 1.19.1 (1.19.1) 鲁博科普 (0.52.1) Darwin mbp 16.7.0 Darwin 内核版本 16.7.0:2017 年 10 月 4 日星期三 0
我在写 Markdown 文本时尝试自动换行:我希望当我输入比 wrap line length 长的行时自动换行设置,由硬 中断(即 newline 字符)。 我已经设定 word wrap至 wo
我想制作一个涉及发布到我的 API 的 VSC 扩展,但是当我将我的 fetch 语法写出以发布到我的服务器时,它不起作用。所以我想也许我需要添加 node-fetch,所以我做了npm i --sa
我有一个 master 分支,它是生产分支,因此我创建了几个其他分支来修复和缺陷。我在这些分支中做了一些更改,所以我在这些分支中提交了很多次。根据政策,我必须为 master 分支中的缺陷创建单个提交
我正在使用 Visual Studio Code Insiders 版本 1.65.0-insider。直到 3 天前,我通过 VPN 从工作笔记本电脑连接到工作中的远程服务器时没有遇到任何问题。我有
在 Windows 上,我必须在打开的每个新终端 session 上运行命令 start-ssh-agent.cmd。我的开发环境是VSCode,每天都会打开十几个新终端。每次打开终端后,我都必须手动
我最近开始使用 VSCode,我真的很喜欢它。我用谷歌搜索了我的问题,并试图找到与 VSCode 相关的任何答案。 考虑我有以下代码: if (a === 'some condition') re
我是一名优秀的程序员,十分优秀!