<?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: arcpy.MakeGraph_management works in ArcCatalog Python window but not Python/Pytho in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-makegraph-management-works-in-arccatalog/m-p/31120#M2462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kevin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many, many thanks for your quick response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yep, you were correct I had installed 64-bit geoprocessing which I have now removed and the MakeGraph_management tools works in 32-bit Python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, many thanks, best wishes, Simon.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2013 09:33:23 GMT</pubDate>
    <dc:creator>SimonWright</dc:creator>
    <dc:date>2013-01-11T09:33:23Z</dc:date>
    <item>
      <title>arcpy.MakeGraph_management works in ArcCatalog Python window but not Python/Pythonw</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-makegraph-management-works-in-arccatalog/m-p/31118#M2460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear All&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to get the ArcGIS 10.1 MakeGraph_management tool working in Python/Pythonw but keep on getting a 'python.exe/pythonw.exe has stopped working' error.&amp;nbsp; However, when I run exactly the same code in the Python window of ArcCatalog or ArcMap it works as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code I'm trying to run is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;input_data = r'C:\smw\Workspace\ArcGIS10_1NetCDFTutorial\ArcGIS\ZonalStats01.gdb\ZonalStatistics'
out_graph = 'outGraph'
out_grf = r'C:\smw\Workspace\ArcGIS10_1NetCDFTutorial\Python\graph99.bmp'


print 'Creating graph...'
graph = arcpy.Graph()
print 'addSeriesLineVertical...'
graph.addSeriesLineVertical(input_data, 'MEAN', 'DATE')


print 'MakeGraph_management...'
arcpy.MakeGraph_management(arcpy.GraphTemplate(), graph, out_graph)
print 'SaveGraph_management'
arcpy.SaveGraph_management(out_graph, out_grf)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anybody have a solution or work around?&amp;nbsp; I've tried searching but can't see if this is a known error/issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running ArcGIS For Desktop 101. in Windows 7.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks in advance of any help that people can provide.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best wishes, Simon.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 12:50:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-makegraph-management-works-in-arccatalog/m-p/31118#M2460</guid>
      <dc:creator>SimonWright</dc:creator>
      <dc:date>2013-01-10T12:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.MakeGraph_management works in ArcCatalog Python window but not Python/Pytho</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-makegraph-management-works-in-arccatalog/m-p/31119#M2461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I dont see anything strange in your code - I've used the tools in Python before without problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You dont happen to have 64bit Background installed and are using 64bit Python?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;These tools arent supported in the 64bit space (32bit only)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 14:49:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-makegraph-management-works-in-arccatalog/m-p/31119#M2461</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2013-01-10T14:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.MakeGraph_management works in ArcCatalog Python window but not Python/Pytho</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-makegraph-management-works-in-arccatalog/m-p/31120#M2462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kevin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many, many thanks for your quick response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yep, you were correct I had installed 64-bit geoprocessing which I have now removed and the MakeGraph_management tools works in 32-bit Python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, many thanks, best wishes, Simon.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 09:33:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-makegraph-management-works-in-arccatalog/m-p/31120#M2462</guid>
      <dc:creator>SimonWright</dc:creator>
      <dc:date>2013-01-11T09:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.MakeGraph_management works in ArcCatalog Python window but not Python/Pytho</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-makegraph-management-works-in-arccatalog/m-p/31121#M2463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for letting me know, Simon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Additionally, you can control which version of Python you're acting against. See this blog: &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2012/11/12/python-scripting-with-64-bit-processing/"&gt;http://blogs.esri.com/esri/arcgis/2012/11/12/python-scripting-with-64-bit-processing/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;So if you want to keep 64bit Background, just process this particular workflow against 32bit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, can you confirm that you're seeing a Python crash? Even though the tools dont work, we shouldnt crash. I'll look into that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 15:00:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-makegraph-management-works-in-arccatalog/m-p/31121#M2463</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2013-01-11T15:00:20Z</dc:date>
    </item>
  </channel>
</rss>

