<?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: How to fix Broken Model in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80497#M2806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't think this one can be fixed, but in the future you may want to export to a python script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'Saving' a model is not really like saving a file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The scripts Model Bulider writes are ugly as sin, but at least you get a transcription of the model.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Apr 2013 17:57:52 GMT</pubDate>
    <dc:creator>markdenil</dc:creator>
    <dc:date>2013-04-16T17:57:52Z</dc:date>
    <item>
      <title>How to fix Broken Model</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80496#M2805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Fellow&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have developed a model (using model builder, ArcGIS 10) for spatial analysis of my project. The model was quite big and took me 3 days to develop. Every time I add a new tool/process in the model I save it to avoid loosing any work. I was about to finish the model and save it but it did not save, showed a message "failed to save the model", even did not permit to copy the model. Eventually I close it without saving &amp;amp; compromising that I will only lose very last process. But once I close it I saw a red cross mark on my model. I opened it in the edit mode but there is no work at all. I searched into the forum but could not find any solution to repair this. I had a look through the article to repair the broken model (&lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//002w00000018000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//002w00000018000000&lt;/A&gt;&lt;SPAN&gt;). It says how to fix the broken tool but does not mention to fix broken model. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any solution would be appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bilal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 00:07:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80496#M2805</guid>
      <dc:creator>BilalHossain</dc:creator>
      <dc:date>2013-04-16T00:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix Broken Model</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80497#M2806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't think this one can be fixed, but in the future you may want to export to a python script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'Saving' a model is not really like saving a file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The scripts Model Bulider writes are ugly as sin, but at least you get a transcription of the model.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 17:57:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80497#M2806</guid>
      <dc:creator>markdenil</dc:creator>
      <dc:date>2013-04-16T17:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix Broken Model</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80498#M2807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If the model is exported to script, can it be imported back in to recreate the model?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 20:14:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80498#M2807</guid>
      <dc:creator>MarkBoucher</dc:creator>
      <dc:date>2013-04-16T20:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix Broken Model</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80499#M2808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I saw the exact same "Failed to save the model" message a couple times a few days ago and then about 10 times today.&amp;nbsp; I was using ArcGIS for Desktop 10.1 SP1 with a model of 200-300 elements in a toolbox with 50+ tools organised into six toolsets.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is an extremely frustrating situation because today ModelBuilder sometimes said that it had failed to save, but actually did, and exited cleanly.&amp;nbsp; At other times it seems to save, but then when I close ModelBuilder it asks me whether I want to save, and then choosing either yes or no results in the model being empty (except for one label!) when it is next opened.&amp;nbsp; I have had to resort to making copies of the model every time I make a modification or two. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Realistically, saving to a Python script as a backup is not a viable option for anything but the most trivial models.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 08:03:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80499#M2808</guid>
      <dc:creator>GraemeBrowning</dc:creator>
      <dc:date>2013-10-30T08:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix Broken Model</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80500#M2809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't believe ESRI has no solution to this problem.&amp;nbsp; It has happened to me multiple times and I have lost a large amount of work time due to this issue. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:49:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80500#M2809</guid>
      <dc:creator>JohnGargiulo</dc:creator>
      <dc:date>2015-06-01T15:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix Broken Model</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80501#M2810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="line-height: 16.7999992370605px;"&gt;I've had Arc Map crash in the middle of editing a model (very frustrating).&lt;/SPAN&gt;&lt;SPAN style="line-height: 16.7999992370605px;"&gt; &lt;/SPAN&gt;I've never tried to recover a model that crashed. I hope you can find a solution!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've seen the "can't save" message before. I don't recall it not saving &lt;SPAN style="text-decoration: underline;"&gt;and&lt;/SPAN&gt; not giving me any other option. I use the "save as" command under the "Model" menu in Model Builder. This lets me save a copy of the model under another name. Then I close down, start up, delete the old model, and rename the newly saved model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 16.7999992370605px;"&gt;So much time and $ goes into these things, that it is real letdown to loose the work. &lt;/SPAN&gt;On a big model, it would make sense to save a backup copy once in a while.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not certain, (and only ESRI knows), but I think the occasional problem with saving has to do with the file locks. Somehow the temporary file locks (write permissions) get mixed up and the program t&lt;SPAN style="line-height: 16.7999992370605px;"&gt;hinks you are trying to save the file someone else has open. I've had this happen on models as well as MXDs. I find that with the ESRI products one has to assume there are &lt;/SPAN&gt;inherent &lt;SPAN style="line-height: 16.7999992370605px;"&gt;file&lt;/SPAN&gt;&lt;SPAN style="line-height: 16.7999992370605px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt;i&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt;nstability and management issues that warrant caution and prudence to reduce file losses: backup at milestones, save often, pray, etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 14:33:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80501#M2810</guid>
      <dc:creator>MarkBoucher</dc:creator>
      <dc:date>2015-06-02T14:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix Broken Model</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80502#M2811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is so frustrating!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm now in my 3rd strike of this issue over this one project.. I've now lost about a days work and about as much trying to recover the model..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've noticed some strange behaviours that indicate that the ship is about to sink. my Save as/ Add Data dialogue has no more content in folder connections etc. This gives you a last chance to expand the window to both monitors and print screen the entire model to paint to capture the logic/changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also learnt to version my work regularly.. ie when I'm about to embark on major changes to my model I copy and version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've now seen this behaviour in personal databases and .tbx files... and the repair geodatabase method in arcpy won't repair models..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 04:00:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80502#M2811</guid>
      <dc:creator>GrahamW</dc:creator>
      <dc:date>2016-03-31T04:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix Broken Model</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80503#M2812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It may be little comfort, but my recommendation, so as not to find yourself at the mercy of ModelBuilder, is to minimize the role of ModelBuilder and progressively replace your models with Python script tools written using ArcPy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 04:40:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80503#M2812</guid>
      <dc:creator>GraemeBrowning</dc:creator>
      <dc:date>2016-03-31T04:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix Broken Model</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80504#M2813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Completely Agree!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made the decision to Use Model Builder fro this project so that I could explain the logic to the "users". The model Is now getting pretty big as the what if decisions keep getting made.. It now has 7 Network Analyst service areas. and uses in_memory workspace for most intermediate data.. If this rebuild fails I'm going to export it and code the rest via arcpy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 04:46:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80504#M2813</guid>
      <dc:creator>GrahamW</dc:creator>
      <dc:date>2016-03-31T04:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix Broken Model</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80505#M2814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I made the decision to use ModelBuilder for a large project for precisely the same reason i.e. to graphically document the process.&amp;nbsp; That application now uses a mixture of ModelBuilder and ArcPy/Python and my intention is to retain the overall workflow as an over-arching model (to keep the process visual and easy to explain) and to have everything under each "building block" be ArcPy/Python code.&amp;nbsp; If you are planning to export a large model to Python script you may find that it results in difficult to read code (that is difficult to debug) due to the way it names its variables, and if there is iteration then code that won't work.&amp;nbsp; My approach is to use Copy As Python Snippet to re-build models as ArcPy/Python script tools instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 05:05:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80505#M2814</guid>
      <dc:creator>GraemeBrowning</dc:creator>
      <dc:date>2016-03-31T05:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix Broken Model</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80506#M2815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great tip!&lt;BR /&gt; Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 05:07:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80506#M2815</guid>
      <dc:creator>GrahamW</dc:creator>
      <dc:date>2016-03-31T05:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix Broken Model</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80507#M2816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The same thing just happened to me! Argghhhhhhhh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 21:42:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80507#M2816</guid>
      <dc:creator>GregWhite2</dc:creator>
      <dc:date>2016-12-22T21:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to fix Broken Model</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80508#M2817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I totally agree with the threads.&amp;nbsp; It happened just now and in the past.&amp;nbsp; The Modelbuilder is a great tool but it is lacking something important.&amp;nbsp; There is no way to recover the work using Modelbuilder.&amp;nbsp;&amp;nbsp;I will adopt your approach in order to save my time and work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for sharing your solution!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 21:05:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-fix-broken-model/m-p/80508#M2817</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-02-12T21:05:13Z</dc:date>
    </item>
  </channel>
</rss>

