laptop and a wrench

Bug

ArcPy has no function named arcpy.ProcessArcPadProject_ArcPad, when using ArcMap 10.1 with ArcPad 10.0.4.

Last Published: September 4, 2015 ArcPad
Bug ID Number NIM086933
SubmittedNovember 30, 2012
Last ModifiedJune 5, 2024
Applies toArcPad
Version found10.0
Operating SystemWindows OS
Operating System Version7 64 Bit
Version Fixed10.2.2
StatusFixed

Workaround

1. Open File Explorer. 2. Navigate to Desktop installation (e.g. <a href="file:C:/Program" target="_blank">C:\Program</a> Files\ArcGIS\Desktop10.0). 3. Navigate to the arcpy\arcpy subfolders. 4. Locate __init__.py. 5. Edit it in a text editor. 6. Ensure the following # Conditional import of ArcPad tools script is present (see Python code snippet below). 7. Navigate to the Python installation folder (i.e. <a href="file:C:/Python27)." target="_blank">C:\Python27).</a>8. Locate the site-packages folder (i.e. <a href="file:C:/Python27/ArcGIS10.1/Lib/site-packages)." target="_blank">C:\Python27\ArcGIS10.1\Lib\site-packages).</a>9. Ensure <a href="http://arcpad.py" target="_blank">arcpad.py</a> exists, if not copy it from the ArcPad installation folder (i.e. <a href="file:C:/Program" target="_blank">C:\Program</a> Files\ArcGIS\ArcPad10.0\DesktopTools10\<a href="http://arcpad.py" target="_blank">arcpad.py</a>).10. Restart ArcGIS for Desktop and the ArcPad tools should be accessible in Python. Here's the code snippet required for the conditional installation of ArcPad and it should be included in __init__.py (place it after the conditional import of mobile tools and production tools):# Conditional import of arcpad toolstry: from . import toolbox import arcpad toolbox.arcpad = arcpad if not hasattr(arcpad, '__all__'): arcpad.__all__ = [] if not hasattr(toolbox, '__all__'): toolbox.__all__ = [] for toolname in getattr(arcpad, '__all__', []): toolbox.__all__.append("%s_%s" % (toolname, arcpad.__alias__)) setattr(toolbox, "%s_%s" % (toolname, arcpad.__alias__), getattr(arcpad, toolname)) from toolbox import * del toolnameexcept ImportError: pass<a href="http://gis.stackexchange.com/questions/33434/python-scripting-for-arcpad-checkin/33453#33453" target="_blank">http://gis.stackexchange.com/questions/33434/python-scripting-for-arcpad-checkin/33453#33453</a>

Steps to Reproduce

Bug ID: NIM086933

Software:

  • ArcPad

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options