<?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: Runtime Error when trying to use arcgisscripting in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/runtime-error-when-trying-to-use-arcgisscripting/m-p/606268#M47383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What happens if you try&lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcgisscripting
gp=arcgisscripting.create(9.3)
dir(gp)&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;You should see something similar to the attachment, except I'm using v9.2 &amp;amp; PythonWin.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 01:58:54 GMT</pubDate>
    <dc:creator>BruceNielsen</dc:creator>
    <dc:date>2021-12-12T01:58:54Z</dc:date>
    <item>
      <title>Runtime Error when trying to use arcgisscripting</title>
      <link>https://community.esri.com/t5/python-questions/runtime-error-when-trying-to-use-arcgisscripting/m-p/606267#M47382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Simple code I am using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcgisscripting&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp = arcgisscripting.create(9.3)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;print gp.Usage("Buffer_analysis")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;----------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; File "E:/Cotrone/python/script1.py", line 3, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print gp.Usage("Buffer_analysis")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RuntimeError: NotInitialized&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;----------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No real goal with this script other than to see the Usage function work. I get the same error when I use gp.ListFeatureClasses(), and gp.Workspace = "some path". I am on a windows machine, using v9.3.1, IDLE, and python 2.5. Not sure what other details might be useful. Any suggestions why I get this error? If anyone has ideas or needs more info let me know. Relative novice here. Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 19:12:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtime-error-when-trying-to-use-arcgisscripting/m-p/606267#M47382</guid>
      <dc:creator>JohnRogers-Cotrone</dc:creator>
      <dc:date>2011-07-12T19:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error when trying to use arcgisscripting</title>
      <link>https://community.esri.com/t5/python-questions/runtime-error-when-trying-to-use-arcgisscripting/m-p/606268#M47383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What happens if you try&lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcgisscripting
gp=arcgisscripting.create(9.3)
dir(gp)&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;You should see something similar to the attachment, except I'm using v9.2 &amp;amp; PythonWin.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:58:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtime-error-when-trying-to-use-arcgisscripting/m-p/606268#M47383</guid>
      <dc:creator>BruceNielsen</dc:creator>
      <dc:date>2021-12-12T01:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error when trying to use arcgisscripting</title>
      <link>https://community.esri.com/t5/python-questions/runtime-error-when-trying-to-use-arcgisscripting/m-p/606269#M47384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nothing comes up in the Python Shell window. I also tried:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;print dir(gp) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but then all I got was: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not specifically interested in the usage method. My main concern is that none of the methods or properties supported when creating the geoprocessor seem to work. I always get the same error saying "Not Initialized" whichever one I try to use.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 11:48:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtime-error-when-trying-to-use-arcgisscripting/m-p/606269#M47384</guid>
      <dc:creator>JohnRogers-Cotrone</dc:creator>
      <dc:date>2011-07-13T11:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error when trying to use arcgisscripting</title>
      <link>https://community.esri.com/t5/python-questions/runtime-error-when-trying-to-use-arcgisscripting/m-p/606270#M47385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does it matter where I am running the script from? I saved it to a random folder on my local E drive but python is located on the C drive:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Python25&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a folder in the Python25 directory named "Scripts" that I tried to save it to but I don't have permission to do so (this is a computer at work). Is this possibly a similar problem like you would encounter in Matlab where you either have to be pointing to the directory where the files are located to run them or you have to have them saved in your list of paths?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 12:08:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtime-error-when-trying-to-use-arcgisscripting/m-p/606270#M47385</guid>
      <dc:creator>JohnRogers-Cotrone</dc:creator>
      <dc:date>2011-07-13T12:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error when trying to use arcgisscripting</title>
      <link>https://community.esri.com/t5/python-questions/runtime-error-when-trying-to-use-arcgisscripting/m-p/606271#M47386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;"NotInitialized" is a licensing issue. Does ArcMap open correctly?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 15:25:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtime-error-when-trying-to-use-arcgisscripting/m-p/606271#M47386</guid>
      <dc:creator>JasonScheirer</dc:creator>
      <dc:date>2011-07-13T15:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error when trying to use arcgisscripting</title>
      <link>https://community.esri.com/t5/python-questions/runtime-error-when-trying-to-use-arcgisscripting/m-p/606272#M47387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Arc starts fine but we have a lot of security restrictions so I am guessing this might be the issue now that you have mentioned licences. I will contact our IT department. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 17:21:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtime-error-when-trying-to-use-arcgisscripting/m-p/606272#M47387</guid>
      <dc:creator>JohnRogers-Cotrone</dc:creator>
      <dc:date>2011-07-13T17:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error when trying to use arcgisscripting</title>
      <link>https://community.esri.com/t5/python-questions/runtime-error-when-trying-to-use-arcgisscripting/m-p/606273#M47388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Arcpy acts strangely on our ArcInfo Machine sometimes but after a logoff/login will fix it always.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Pawan Vuppala&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Arc starts fine but we have a lot of security restrictions so I am guessing this might be the issue now that you have mentioned licences. I will contact our IT department. Thanks.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 17:27:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtime-error-when-trying-to-use-arcgisscripting/m-p/606273#M47388</guid>
      <dc:creator>PawanVuppala</dc:creator>
      <dc:date>2011-07-13T17:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error when trying to use arcgisscripting</title>
      <link>https://community.esri.com/t5/python-questions/runtime-error-when-trying-to-use-arcgisscripting/m-p/606274#M47389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've tried all sorts of logging off and restarting hyjinks. nothing changes. One thing I just realized that I didnt mention, I am checking out an Arc licence rather than using software fully installed on my machine. I have been told by people here at work that that might be an issue. Is there something I need to add to the code because of this? I seem to remember seeing a command on one of these forums for checking out licences for the individual toolboxes so maybe I need something similar for Arc in general?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 18:46:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtime-error-when-trying-to-use-arcgisscripting/m-p/606274#M47389</guid>
      <dc:creator>JohnRogers-Cotrone</dc:creator>
      <dc:date>2011-07-13T18:46:15Z</dc:date>
    </item>
  </channel>
</rss>

