laptop and a wrench

Bogue

In ArcGIS Pro, using keyword arguments for the tool arcpy.gp.CreateSQLiteDatabase returns the error message, "TypeError: <lambda>() got an unexpected keyword argument 'sqlite_database_path'".

Dernière publication: October 16, 2019 ArcGIS Pro
Numéro d’ID de bogue BUG-000125064
EnvoiSeptember 6, 2019
Dernière modificationJune 23, 2025
S’applique àArcGIS Pro
Version trouvée2.4.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutAs Designed

Informations supplémentaires

This bug references the python function parameters from the ArcMap documentation and attempts to use them in ArcGIS Pro. The ArcGIS Pro documentation must be used when working in ArcGIS Pro. The CreateSQLiteDatabase() python function is correctly returning this error as there is no keyword parameter 'sqlite_database_path'. In ArcGIS Pro, the keyword is 'out_database_path'. Refer to this documentation: https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-sqlite-database.htm for more information.

Solution de contournement

If keyword arguments are required for testing purposes, use the tool located in the Management toolbox:

Étapes pour reproduire

ID de bogue: BUG-000125064

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement