Error: 000819: The tool is not assigned when running a Python toolbox in background geoprocessing
【相关信息】
Article ID: 40933
Software:
ArcGIS for Desktop Advanced 10.1
ArcGIS for Desktop Standard 10.1
ArcGIS for Desktop Basic 10.1
Platforms:
Windows XP, Server 2003, Windows 8, Server 2012, Vista, Server 2008, Windows 7
【错误信息】
After installing the 64-bit Background Geoprocessing Upgrade, and running a Python toolbox in the background, the following error is shown in the results window and the tool fails to run:
"Error 000819: The tool is not assigned."
【错误原因】
A third-party Python module that is referenced in the toolbox is not installed in the 64-bit Python folder for access by background geoprocessing. When the Python toolbox tool is run, 64-bit background geoprocessing cannot access the module in the 32-bit Python folder.
The toolbox appears to be valid with correct syntax because ArcGIS has access to the 32-bit modules, but does not check for the 64-bit modules.
Article ID: 40933
Software:
ArcGIS for Desktop Advanced 10.1
ArcGIS for Desktop Standard 10.1
ArcGIS for Desktop Basic 10.1
Platforms:
Windows XP, Server 2003, Windows 8, Server 2012, Vista, Server 2008, Windows 7
【错误信息】
After installing the 64-bit Background Geoprocessing Upgrade, and running a Python toolbox in the background, the following error is shown in the results window and the tool fails to run:
"Error 000819: The tool is not assigned."
【错误原因】
A third-party Python module that is referenced in the toolbox is not installed in the 64-bit Python folder for access by background geoprocessing. When the Python toolbox tool is run, 64-bit background geoprocessing cannot access the module in the 32-bit Python folder.
The toolbox appears to be valid with correct syntax because ArcGIS has access to the 32-bit modules, but does not check for the 64-bit modules.
1 个回复
易智瑞技术支持
赞同来自:
Install a 64-bit version of the third party module in the 64-bit Python folder.
-OR-
Edit the Python toolbox's tools so they always run in the foreground by assigning the "self.canRunInBackground" line of code with False. For example:
【创建及修改时间】
Created: 3/12/2013
Last Modified: 8/6/2013
【原文链接】
http://support.esri.com/en/kno ... 40933
要回复问题请先登录或注册