<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Is automated ArcPad project check out possible? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/is-automated-arcpad-project-check-out-possible/m-p/250537#M6470</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My current environment is ArcGIS 9.3.1 SP1, ArcPad 10.0.2, and python 2.5.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My test ArcPad project is from a new, clean mxd that has one shapefile attached to it with one feature in it which has 5 fields (FID, Shape*, OBJECTID, THENAMEE, and SHAPE_Leng).&amp;nbsp; The mxd and shapefile is stored locally at c:\temp (simple path)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the ArcPad Data Manager Configure Project for Geoprocessing tool (i've tried all the various settings) and set it to output to c:\temp\out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I create a Model and drag the Process ArcPad Project tool to it.&amp;nbsp; I direct the tool to use the test mxd.&amp;nbsp; I can run it and validate it multiple times with no errors.&amp;nbsp; The output is good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I export the model to python script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import sys, string, os, arcgisscripting&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp = arcgisscripting.create(9.3)&amp;nbsp;&amp;nbsp; # i have added the 9.3 but have tried it empty as well&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.AddToolbox("C:/Program Files/ArcGIS/ArcToolbox/Toolboxes/ArcPad Tools.tbx")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The_full_path_to_the_cab_file = ""&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TEST_mxd = "C:\\temp\\test.mxd"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.ProcessArcPadProject_ArcPad(TEST_mxd, "true")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This script never works:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcgisscripting.ExecuteError: ERROR 999998: There are no more files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (ProcessArcPadProject).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometimes the output looks complete but sometimes it does not: missing apm or other files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can run the model from python with success.&amp;nbsp; The problem seems limited to the arcgisscripting.ProcessArcPadProject_ArcPad method or my python environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone else experience this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Sep 2011 10:35:53 GMT</pubDate>
    <dc:creator>MichaelReynolds</dc:creator>
    <dc:date>2011-09-20T10:35:53Z</dc:date>
    <item>
      <title>Is automated ArcPad project check out possible?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/is-automated-arcpad-project-check-out-possible/m-p/250537#M6470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My current environment is ArcGIS 9.3.1 SP1, ArcPad 10.0.2, and python 2.5.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My test ArcPad project is from a new, clean mxd that has one shapefile attached to it with one feature in it which has 5 fields (FID, Shape*, OBJECTID, THENAMEE, and SHAPE_Leng).&amp;nbsp; The mxd and shapefile is stored locally at c:\temp (simple path)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the ArcPad Data Manager Configure Project for Geoprocessing tool (i've tried all the various settings) and set it to output to c:\temp\out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I create a Model and drag the Process ArcPad Project tool to it.&amp;nbsp; I direct the tool to use the test mxd.&amp;nbsp; I can run it and validate it multiple times with no errors.&amp;nbsp; The output is good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I export the model to python script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import sys, string, os, arcgisscripting&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp = arcgisscripting.create(9.3)&amp;nbsp;&amp;nbsp; # i have added the 9.3 but have tried it empty as well&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.AddToolbox("C:/Program Files/ArcGIS/ArcToolbox/Toolboxes/ArcPad Tools.tbx")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The_full_path_to_the_cab_file = ""&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TEST_mxd = "C:\\temp\\test.mxd"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.ProcessArcPadProject_ArcPad(TEST_mxd, "true")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This script never works:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcgisscripting.ExecuteError: ERROR 999998: There are no more files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (ProcessArcPadProject).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometimes the output looks complete but sometimes it does not: missing apm or other files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can run the model from python with success.&amp;nbsp; The problem seems limited to the arcgisscripting.ProcessArcPadProject_ArcPad method or my python environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone else experience this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 10:35:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/is-automated-arcpad-project-check-out-possible/m-p/250537#M6470</guid>
      <dc:creator>MichaelReynolds</dc:creator>
      <dc:date>2011-09-20T10:35:53Z</dc:date>
    </item>
  </channel>
</rss>

