<?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 processArcPadProject_ArcPad ERROR 999998 in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/processarcpadproject-arcpad-error-999998/m-p/40294#M1043</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My python script for processing ArcPad Projects is failing with an error 999998.&amp;nbsp; Is this common?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the script that is exported from the model builder and after the last line it fails:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.ProcessArcPadProject_ArcPad(THEMAP_mxd, "true")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Each time I run the script, it seems to process correctly (output arcpad project looks okay) but the script ends with "Failed to execute (ProcessArcPadProject)" and "arcgisscripting.ExecuteError: ERROR 999998: There are no more files."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried several MXD files as the source using shape files for data in the mxd and axf and shapefiles as the output, edit or read only.&amp;nbsp; Some of the test MXDs were very simple just to try to debug this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are currently on ArcMap 9.3.1 w/ SP1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried several MXD files as the source for the processArcPadProject_ArcPad procedure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The manual Get Data for ArcPad tool in ArcMap runs successfully.&amp;nbsp; The model using processArcPadProject_ArcPad seems to work fine with no errors.&amp;nbsp; In some cases the output ArcPad project seems to look complete; other times it looks incomplete (missing apm and other files).&amp;nbsp; I worry with an error message like this I shouldn't use the output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone else have experience with python and the processArcPadProject_ArcPad procedure and that don't get this error?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Sep 2011 12:12:33 GMT</pubDate>
    <dc:creator>MichaelReynolds</dc:creator>
    <dc:date>2011-09-19T12:12:33Z</dc:date>
    <item>
      <title>processArcPadProject_ArcPad ERROR 999998</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/processarcpadproject-arcpad-error-999998/m-p/40294#M1043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My python script for processing ArcPad Projects is failing with an error 999998.&amp;nbsp; Is this common?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the script that is exported from the model builder and after the last line it fails:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.ProcessArcPadProject_ArcPad(THEMAP_mxd, "true")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Each time I run the script, it seems to process correctly (output arcpad project looks okay) but the script ends with "Failed to execute (ProcessArcPadProject)" and "arcgisscripting.ExecuteError: ERROR 999998: There are no more files."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried several MXD files as the source using shape files for data in the mxd and axf and shapefiles as the output, edit or read only.&amp;nbsp; Some of the test MXDs were very simple just to try to debug this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are currently on ArcMap 9.3.1 w/ SP1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried several MXD files as the source for the processArcPadProject_ArcPad procedure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The manual Get Data for ArcPad tool in ArcMap runs successfully.&amp;nbsp; The model using processArcPadProject_ArcPad seems to work fine with no errors.&amp;nbsp; In some cases the output ArcPad project seems to look complete; other times it looks incomplete (missing apm and other files).&amp;nbsp; I worry with an error message like this I shouldn't use the output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone else have experience with python and the processArcPadProject_ArcPad procedure and that don't get this error?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 12:12:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/processarcpadproject-arcpad-error-999998/m-p/40294#M1043</guid>
      <dc:creator>MichaelReynolds</dc:creator>
      <dc:date>2011-09-19T12:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: processArcPadProject_ArcPad ERROR 999998</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/processarcpadproject-arcpad-error-999998/m-p/40295#M1044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've tried using gp = arcgisscripting.create(9.3) and i have also tried calling the model tool from python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Calling the model tool from python yields the same Failed to execute error.&amp;nbsp; I'm using the settings stored in the model tool; i'm not passing any parameters from python to the model.&amp;nbsp; Since the model tool creates some output, it's being executed but does not complete.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Running the model tool works successfully.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 13:26:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/processarcpadproject-arcpad-error-999998/m-p/40295#M1044</guid>
      <dc:creator>MichaelReynolds</dc:creator>
      <dc:date>2011-09-19T13:26:27Z</dc:date>
    </item>
  </channel>
</rss>

