<?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: PYthon Script No Longer Works Correctly in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-script-no-longer-works-correctly/m-p/422051#M33165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks I got it to work. I would like to enhance this script to do some additional things but not sure how to approach. Any chance you could assist on this and point me in the right direction?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1.) Locate a particular FC within the MXD and it's data source&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Example - we receive an updated shapefile from the county and want to verify all MXD data sources are pointing to the correct file. I am trying to get all MXDs to use the same geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2.) Only report on MXDs that have broken data sources&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 May 2013 14:51:56 GMT</pubDate>
    <dc:creator>TerryHiggins1</dc:creator>
    <dc:date>2013-05-31T14:51:56Z</dc:date>
    <item>
      <title>PYthon Script No Longer Works Correctly</title>
      <link>https://community.esri.com/t5/python-questions/python-script-no-longer-works-correctly/m-p/422049#M33163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;First let me state that I am not very experienced with Python. I had captured a script from ESRI that I think I might have tweaked. However the script worked fine to produce output in a text file. Now when I run it whether intereactive or from a script all I get is a listing of the MXDs within the interactive window and in the text file I basically get the header information and nothing more. The last time I ran this was in August last year.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone assist me in identifing what I am doing wrong or what might have changed? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Note I am running 10.1 on Win7&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Terry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 18:50:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-no-longer-works-correctly/m-p/422049#M33163</guid>
      <dc:creator>TerryHiggins1</dc:creator>
      <dc:date>2013-05-29T18:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: PYthon Script No Longer Works Correctly</title>
      <link>https://community.esri.com/t5/python-questions/python-script-no-longer-works-correctly/m-p/422050#M33164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You also need to modify:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
#Read input parameters from GP dialog
&amp;nbsp;&amp;nbsp;&amp;nbsp; folderPath = arcpy.GetParameterAsText(0)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
#Read input parameters from GP dialog
&amp;nbsp;&amp;nbsp;&amp;nbsp; folderPath = parentDir
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, making sure there's a "PyTest" folder under your C drive for this to work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:04:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-no-longer-works-correctly/m-p/422050#M33164</guid>
      <dc:creator>ThaiTruong</dc:creator>
      <dc:date>2021-12-11T19:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: PYthon Script No Longer Works Correctly</title>
      <link>https://community.esri.com/t5/python-questions/python-script-no-longer-works-correctly/m-p/422051#M33165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks I got it to work. I would like to enhance this script to do some additional things but not sure how to approach. Any chance you could assist on this and point me in the right direction?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1.) Locate a particular FC within the MXD and it's data source&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Example - we receive an updated shapefile from the county and want to verify all MXD data sources are pointing to the correct file. I am trying to get all MXDs to use the same geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2.) Only report on MXDs that have broken data sources&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 14:51:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-no-longer-works-correctly/m-p/422051#M33165</guid>
      <dc:creator>TerryHiggins1</dc:creator>
      <dc:date>2013-05-31T14:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: PYthon Script No Longer Works Correctly</title>
      <link>https://community.esri.com/t5/python-questions/python-script-no-longer-works-correctly/m-p/422052#M33166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to look at the following link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00s500000020000000"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00s500000020000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;towards the bottom is a section "Using the arcpy.mapping module to find and repair data links for a number of map documents"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 14:51:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-no-longer-works-correctly/m-p/422052#M33166</guid>
      <dc:creator>JimCousins</dc:creator>
      <dc:date>2013-06-07T14:51:04Z</dc:date>
    </item>
  </channel>
</rss>

