laptop and a wrench

漏洞

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'".

上次发布: October 16, 2019 ArcGIS Pro
漏洞 ID 编号 BUG-000125064
已提交September 6, 2019
上次修改时间June 23, 2025
适用范围ArcGIS Pro
找到的版本2.4.1
操作系统Windows OS
操作系统版本10.0 64 Bit
状态As Designed

附加信息

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.

解决办法

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

重现步骤

漏洞 ID: BUG-000125064

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项