<?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 Arc Py - Find Broken Data Sources For All Folders in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209895#M7130</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just downloaded the arcpy.mapping sample script tools and was testing the Find Broken Data Sources Tool.&amp;nbsp; It works great, however I was wondering if anyone knows how to search subfolders, or all folders on a drive for broken data sources?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have many subfolders on our server and it would be a lot more efficient if I can run one report for the whole server instead of going several folders deep to the project level and then having to run countless reports.&amp;nbsp; Any help would be greatly appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Sep 2010 18:19:26 GMT</pubDate>
    <dc:creator>AngeloLelekis</dc:creator>
    <dc:date>2010-09-02T18:19:26Z</dc:date>
    <item>
      <title>Arc Py - Find Broken Data Sources For All Folders</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209895#M7130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just downloaded the arcpy.mapping sample script tools and was testing the Find Broken Data Sources Tool.&amp;nbsp; It works great, however I was wondering if anyone knows how to search subfolders, or all folders on a drive for broken data sources?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have many subfolders on our server and it would be a lot more efficient if I can run one report for the whole server instead of going several folders deep to the project level and then having to run countless reports.&amp;nbsp; Any help would be greatly appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 18:19:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209895#M7130</guid>
      <dc:creator>AngeloLelekis</dc:creator>
      <dc:date>2010-09-02T18:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Arc Py - Find Broken Data Sources For All Folders</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209896#M7131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy,os

for dirname, dirnames, filenames in os.walk(r"C:\Temp"): 
&amp;nbsp;&amp;nbsp;&amp;nbsp; for filename in filenames: 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; path = os.path.join(dirname, filename)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basename, extension = os.path.splitext(path)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if extension == ".mxd":
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd = arcpy.mapping.MapDocument(path)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "MXD: " + path
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; brknList = arcpy.mapping.ListBrokenDataSources(mxd)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for brknItem in brknList:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "\t" + brknItem.name
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; del mxd&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;-Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:20:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209896#M7131</guid>
      <dc:creator>ChrisFox3</dc:creator>
      <dc:date>2021-12-11T10:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPy - Find Broken Data Sources For All Folders</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209897#M7132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Chris!&amp;nbsp; Sorry for the delay in responding.&amp;nbsp; This is exactly what I needed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 18:43:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209897#M7132</guid>
      <dc:creator>AngeloLelekis</dc:creator>
      <dc:date>2010-09-14T18:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Arc Py - Find Broken Data Sources For All Folders</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209898#M7133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to use this code, but it only works through the first iteration. Can someone find my error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My error handlers catch errors only in this code block:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; brknItem.replaceDataSource(workspace, "SDE_WORKSPACE", item)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "\t item successfully replaced"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; except:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "\t error occured replacing layer" &lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code is pasted below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;# Import arcpy module
import arcpy, os

dir = "path to mxd files"
workspace = "path to new datasource"


for file in os.listdir(dir):

&amp;nbsp;&amp;nbsp;&amp;nbsp; if file.startswith("Sector"):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file = os.path.join(dir, file)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "\n\n" + file
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd = arcpy.mapping.MapDocument(file)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; brknList = []
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; brknList = arcpy.mapping.ListBrokenDataSources(mxd)

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if len(brknList) &amp;gt; 0:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "\nlist of broken data sources: "
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for lyr in brknList:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "\t" + lyr.datasetName

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "\nreplacing layers"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for brknItem in brknList:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if brknItem.datasetName != "EPOISicCodeTABLE":
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage("\t" + brknItem.datasetName)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "\t" + brknItem.datasetName

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; item = brknItem.datasetName

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; brknItem.replaceDataSource(workspace, "SDE_WORKSPACE", item)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "\t item successfully replaced"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; except:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "\t error occured replacing layer"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print arcpy.GetMessages(2)

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd.save()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; except:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "\t an error occured w/ saving %s" % file

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "done"

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; del mxd
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:20:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209898#M7133</guid>
      <dc:creator>SebastianPawlak</dc:creator>
      <dc:date>2021-12-11T10:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Arc Py - Find Broken Data Sources For All Folders</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209899#M7134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is the exact text in the exception that is raised?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 22:05:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209899#M7134</guid>
      <dc:creator>ChrisFox3</dc:creator>
      <dc:date>2011-12-12T22:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Arc Py - Find Broken Data Sources For All Folders</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209900#M7135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The error I am getting is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;brknItem.replaceDataSource(workspace, "SDE_WORKSPACE", item)
File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\utils.py", line 181, in fn_
&amp;nbsp;&amp;nbsp;&amp;nbsp; return fn(*args, **kw)
File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\_mapping.py", line 585, in replaceDataSource
&amp;nbsp;&amp;nbsp;&amp;nbsp; return convertArcObjectToPythonObject(self._arc_object.replaceDataSource(*gp_fixargs((workspace_path, workspace_type, dataset_name, validate), True)))
ValueError: Layer: Unexpected error&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:21:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209900#M7135</guid>
      <dc:creator>SebastianPawlak</dc:creator>
      <dc:date>2021-12-11T10:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Arc Py - Find Broken Data Sources For All Folders</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209901#M7136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Based on your code and the exception I don't think there is a coding error that is causing this problem. My recommendation would be to try to isolate the MXD and the layer that this exception is being raised for and try to simplify the code to just run once on that MXD and layer. If you can reproduce the error, look into the layer and see if there is anything that might cause your code to fail. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example does the brknItem.datasetName exist in the new workspace you are trying to update the dataset to or is the dataset type appropriate for the layer you are trying to update.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 16:43:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209901#M7136</guid>
      <dc:creator>ChrisFox3</dc:creator>
      <dc:date>2011-12-13T16:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Arc Py - Find Broken Data Sources For All Folders</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209902#M7137</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;BR /&gt;&lt;SPAN&gt;I've crafted this script to skip MXDs that have no broken links. Since the script only works through the first iteration I am forced to run the script multiple times until all my MXDs have their data sources fixed. Each time I run this script, the previously fixed MXD is skipped. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, the issues seems to be with the "replaceDataSources" line only. It's as though this function is locked in the first iteration.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 20:02:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209902#M7137</guid>
      <dc:creator>SebastianPawlak</dc:creator>
      <dc:date>2011-12-13T20:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Arc Py - Find Broken Data Sources For All Folders</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209903#M7138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Interesting, it may be a bug. I tested with some of my own data and your code and could not reproduce the issue, everything updated as expected. What workspace type are you going from for the layers you are updating? What version of SDE and DBMS are you going to?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 21:03:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209903#M7138</guid>
      <dc:creator>ChrisFox3</dc:creator>
      <dc:date>2011-12-13T21:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Arc Py - Find Broken Data Sources For All Folders</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209904#M7139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm going from a .gdb to an SDE. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- I'm running ArcInfo 10 SP3 on my client; and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- ArcSDE 9.3 (not sure of the service pack) on the server.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2011 18:48:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209904#M7139</guid>
      <dc:creator>SebastianPawlak</dc:creator>
      <dc:date>2011-12-15T18:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Arc Py - Find Broken Data Sources For All Folders</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209905#M7140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the information, I think the next best step would be for you to log this issue with &lt;/SPAN&gt;&lt;A href="http://support.esri.com/en/"&gt;Technical Support&lt;/A&gt;&lt;SPAN&gt; so that the issue can be narrowed down further and potentially get a bug logged.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 22:22:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/arc-py-find-broken-data-sources-for-all-folders/m-p/209905#M7140</guid>
      <dc:creator>ChrisFox3</dc:creator>
      <dc:date>2011-12-20T22:22:11Z</dc:date>
    </item>
  </channel>
</rss>

