I have been using ArcMap and ArcPad 10.0 for some time and checking in my data with an arcpy script.
In the past, I would check in the data, the run arcpy.ProcessArcPadProject_ArcPad(mxd, "true") which would re-write my updated project for use on the mobile device.
We have now moved to Arc 10.2 and I get an error anytime I try to run this command through python. If I run the Toolbox tool, it work just fine, however, even if I right-click the Results and copy to python snippet, enter that snippet into IDLE, I will get the error.
I have Configured Project for Geoprocessing, so that isn't the issue.
Traceback (most recent call last):
File "\\a14-arcgis-p\GISData\PublicWorks\PW_GIS_Users\Owe\WaterQC_Xfer.py", line 53, in <module>
arcpy.ProcessArcPadProject_ArcPad(mxd, "true")
File "C:\Python27\ArcGIS10.2\lib\site-packages\arcpad.py", line 106, in ProcessArcPadProject
raise e
ExecuteError: ERROR 999998: Unexpected Error.
Failed to execute (ProcessArcPadProject).
Anyone else running into this issue being able to process the project with the tool, but not with code?
Any ideas as to what is going on?
Thanks,
R_