<?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 Re: error running simple python script outside of ArcMap in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/error-running-simple-python-script-outside-of/m-p/348952#M12115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI Chris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for this, I've discovered it was the line above: Seizures, it didn't export the path of the INput Feature class and it works now that I have added it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a new problem now, where the task scheduler won't run the python script in Server 2008.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas much appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rachel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jun 2010 10:44:27 GMT</pubDate>
    <dc:creator>RachelS</dc:creator>
    <dc:date>2010-06-29T10:44:27Z</dc:date>
    <item>
      <title>error running simple python script outside of ArcMap</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-running-simple-python-script-outside-of/m-p/348950#M12113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a model using a sample script which runs fine in ArcMap to create a backup of a feature class in another geodatabase but when I export it to python script and run it I get the error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute. parameters are not vaild. Input feature class does not exist or is not supported.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My code is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# BackupSeizures.py&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Created on: Fri Jun 25 2010 04:22:08 PM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&amp;nbsp;&amp;nbsp; (generated by ArcGIS/ModelBuilder)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ---------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Import system modules&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import sys, string, os, arcgisscripting&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Create the Geoprocessor object&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp = arcgisscripting.create()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Load required toolboxes...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.AddToolbox("C:/ESRIIreland/Add_ons/ExportFeatureClasswithDate/Toolbox.tbx")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Local variables...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Seizures_DBO_Seizures = "Seizures.DBO.Seizures"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Backups__VERSION_DBO_DEFAULT_ = "Database Servers\\LASRV-GIS_SQLEXPRESS.gds\\Backups (VERSION:DBO.DEFAULT)"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Process: Feature Class To Feature Class With Date...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.toolbox = "C:/ESRIIreland/Add_ons/ExportFeatureClasswithDate/Toolbox.tbx";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.FeatureClassToFeatureClassWithDate(Seizures_DBO_Seizures, Backups__VERSION_DBO_DEFAULT_, "Seizures")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't see where I'm going wrong, I'm new to this so any help much appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using ArcEditor Version 9.3.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rachel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 14:22:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-running-simple-python-script-outside-of/m-p/348950#M12113</guid>
      <dc:creator>RachelS</dc:creator>
      <dc:date>2010-06-25T14:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: error running simple python script outside of ArcMap</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-running-simple-python-script-outside-of/m-p/348951#M12114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Take a look at this line. It may be as simple as navigating to this data in catalog and copying the path from the top of the window. Code exports from MB are screwy and things like paths can sometimes get messed up as a path within ArcMap can be treated specially if the data was added to the model from ArcMap Table of Contents instead of navigated directly to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Backups__VERSION_DBO_DEFAULT_ = "Database Servers\\LASRV-GIS_SQLEXPRESS.gds\\Backups (VERSION&lt;/SPAN&gt;&lt;IMG src="http://forums.arcgis.com/images/smilies/biggrin.gif" /&gt;&lt;SPAN&gt;BO.DEFAULT)"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 18:05:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-running-simple-python-script-outside-of/m-p/348951#M12114</guid>
      <dc:creator>ChrisMathers</dc:creator>
      <dc:date>2010-06-25T18:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: error running simple python script outside of ArcMap</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-running-simple-python-script-outside-of/m-p/348952#M12115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI Chris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for this, I've discovered it was the line above: Seizures, it didn't export the path of the INput Feature class and it works now that I have added it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a new problem now, where the task scheduler won't run the python script in Server 2008.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas much appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rachel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 10:44:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-running-simple-python-script-outside-of/m-p/348952#M12115</guid>
      <dc:creator>RachelS</dc:creator>
      <dc:date>2010-06-29T10:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: error running simple python script outside of ArcMap</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-running-simple-python-script-outside-of/m-p/348953#M12116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is python installed on the server? Silly question I know but I only ask because of personal experience.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 11:55:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-running-simple-python-script-outside-of/m-p/348953#M12116</guid>
      <dc:creator>ChrisMathers</dc:creator>
      <dc:date>2010-06-29T11:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: error running simple python script outside of ArcMap</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-running-simple-python-script-outside-of/m-p/348954#M12117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI Chris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes python is installed on the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can run the bat file and it works outside of Task Scheduler but when I run it in scheduler it appearsto run but doesn't create the end file in the SQLgeodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have full admin rights on the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rachel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 13:24:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-running-simple-python-script-outside-of/m-p/348954#M12117</guid>
      <dc:creator>RachelS</dc:creator>
      <dc:date>2010-06-29T13:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: error running simple python script outside of ArcMap</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-running-simple-python-script-outside-of/m-p/348955#M12118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have this saved as a BAT? Have you tried saving and running the task as a PY? Im sorry Im not much help with this. I dont have much experience with Server.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 13:58:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-running-simple-python-script-outside-of/m-p/348955#M12118</guid>
      <dc:creator>ChrisMathers</dc:creator>
      <dc:date>2010-06-29T13:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: error running simple python script outside of ArcMap</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-running-simple-python-script-outside-of/m-p/348956#M12119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried running the python script direct and also creating a bat file and running it within that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It opens the python window seems to run fine but doesn't put the end feature class in the geodatbase what it's supposed to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wonder does it have anything to do with arcadmin permissions although I have full admin permissions. Or is there a bug in Server 2008.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rachel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 07:32:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-running-simple-python-script-outside-of/m-p/348956#M12119</guid>
      <dc:creator>RachelS</dc:creator>
      <dc:date>2010-06-30T07:32:49Z</dc:date>
    </item>
  </channel>
</rss>

