Skip to content

Commit 0540a64

Browse files
committed
Fix troubleshooting article
1 parent 0f44c2f commit 0540a64

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

articles/azure-functions/recover-python-functions.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,23 @@ This article provides information to help you troubleshoot errors with your Pyth
1414

1515
The following is a list of troubleshooting sections for common issues in Python functions:
1616

17-
::: zone pivot="python-mode-configuration"
1817
* [ModuleNotFoundError and ImportError](#troubleshoot-modulenotfounderror)
18+
1919
* [Cannot import 'cygrpc'](#troubleshoot-cannot-import-cygrpc)
20+
2021
* [Python exited with code 137](#troubleshoot-python-exited-with-code-137)
22+
2123
* [Python exited with code 139](#troubleshoot-python-exited-with-code-139)
22-
::: zone-end
23-
::: zone pivot="python-mode-configuration"
24-
* [Cannot import 'cygrpc'](#troubleshoot-cannot-import-cygrpc)
24+
::: zone pivot="python-mode-decoration"
2525
* [Multiple Python workers not supported](#multiple-python-workers-not-supported)
26+
2627
* [Could not load file or assembly](#troubleshoot-could-not-load-file-or-assembly)
28+
2729
* [Unable to resolve the Azure Storage connection named Storage](#troubleshoot-unable-to-resolve-the-Azure-Storage-connection)
30+
2831
* [Issues with deployment](#issue-with-deployment)
2932
::: zone-end
3033

31-
::: zone pivot="python-mode-configuration"
3234
## Troubleshoot ModuleNotFoundError
3335

3436
This section helps you troubleshoot module-related errors in your Python function app. These errors typically result in the following Azure Functions error message:
@@ -152,7 +154,6 @@ Sometimes, the package may have been integrated into [Python Standard Library](h
152154
However, if you're facing an issue that it hasn't been fixed and you're on a deadline. I encourage you to do some research and find a similar package for your project. Usually, the Python community will provide you with a wide variety of similar libraries that you can use.
153155

154156
---
155-
::: zone-end
156157

157158
## Troubleshoot cannot import 'cygrpc'
158159

@@ -189,7 +190,7 @@ Check if your Python interpreter matches our expected version by `py --version`
189190
If your Python interpreter version doesn't meet the requirements for Functions, instead download the Python 3.6, 3.7, 3.8, or 3.9 interpreter from [Python Software Foundation](https://www.python.org/downloads).
190191

191192
---
192-
::: zone pivot="python-mode-configuration"
193+
193194
## Troubleshoot Python Exited With Code 137
194195

195196
Code 137 errors are typically caused by out-of-memory issues in your Python function app. As a result, you get the following Azure Functions error message:
@@ -250,7 +251,7 @@ There are two ways to mitigate this issue.
250251
```
251252
252253
---
253-
::: zone-end
254+
254255
::: zone pivot="python-mode-decorators"
255256
## Multiple Python workers not supported
256257
@@ -307,8 +308,8 @@ You may see this error in your local output as the following message:
307308
> `Value cannot be null. (Parameter 'provider')`
308309
309310
This error is a result of how extensions are loaded from the bundle locally. To resolve this error, you can do one of the following:
310-
* Use a storage emulator such as [Azurerite](./storage/common/storage-use-azurite.md). This is a good option when you aren't planning to use a storage account in your function application.
311-
* Create a storage account and add a connection string to the `AzureWebJobsStorage` environment variable in `localsettings.json`. Use this option when you are using a storage account trigger or binding with your application, or if you have an existing storage account. To get started, see [Create a storage account](./storage/common/storage-account-create.md).
311+
* Use a storage emulator such as [Azurerite](../storage/common/storage-use-azurite.md). This is a good option when you aren't planning to use a storage account in your function application.
312+
* Create a storage account and add a connection string to the `AzureWebJobsStorage` environment variable in `localsettings.json`. Use this option when you are using a storage account trigger or binding with your application, or if you have an existing storage account. To get started, see [Create a storage account](../storage/common/storage-account-create.md).
312313
313314
## Issue with Deployment
314315

0 commit comments

Comments
 (0)