azure function app error: Runtime dependency PyGObject is missing, Linux Module ‘gi’ not found #12152
Labels
Azure.Identity
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Sharing information on experience with azure-identity 1.4.0b5
Describe the bug
Execution of python 3.7 azure function app with storage queue trigger -> text file processing method, created expected output, but showed trace error of Runtime dependency PyGObject missing, Linux model 'gi' missing. The function app application settings included only AzureWebJobsStorage and STORAGE_BLOB_URL values.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
With missing function app application setting values would have expected trace error messages referencing missing credentials.
Output created as expected, however error prevented further deployment.
see trace error message
Additional context
After switching to azure-identity == 1.3.1 the issue with credentials became obvious in trace error messages.
Adding AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET to function app application setting, error was resolved.
With 1.4.05b, the "Runtime dependency PyGObject missing and Linux model 'gi'" error message, expected output created and trace info "Executed 'Functions.TextQueue' (Succeeded, Id=898731fa-c983-4b37-b281-644a55a9f5a9)" was interpreted as pointing away from credentials issue.
The text was updated successfully, but these errors were encountered: