shrug-l: Python with ArcGIS Alert - possible problems with some workflow especially if using Geometric Networks

Tripp Corbin tcorbin at egisassociates.com
Thu Apr 2 15:52:59 EDT 2015


Esri just announced a potential issue with some Python and ArcObjects
workflows. So if you have or are developing your own scripts and tools using
python or ArcObjects, this may cause you some problems. Here is the
information Esri just sent out on this issue:

 

When using Python to execute geoprocessing tools and explicitly starting and
stopping the edit session through the da.Editor, network inconsistencies can
be introduced. The initial technical support incident reported the
geoprocessing "Append" tool could introduce network inconsistencies.
However, further investigation has identified that all geoprocessing editing
tools called through Python, which start and stop edit sessions, have the
potential to introduce network inconsistencies. 

 

What You Need to Do
We are working hard to deliver a patch to address this issue as soon as
possible. In the meantime,

*	If your organization is using geoprocessing editing tools with
geometric network data using Python, Esri recommends suspending use of the
geoprocessing tools until the patch is available. The equivalent
functionality can be safely executed in ArcMap or ArcCatalog. 
*	When using ArcObjects, the same issue can be encountered if the
application releases all of the memory pointing to all of the classes of a
geometric network that have been opened and edited in an edit session prior
to the calling "StopEditing(true)." For these specific ArcObjects workflows,
to avoid the risk of introducing network inconsistencies, the program should
be modified to move the calls to release the memory pointing to all of the
geometric network classes to after the call to stop editing.

 

What You Can Expect
A general patch that will work with ArcGIS 10.0 Service Pack 5, ArcGIS 10.1,
10.1 Service Pack 1, 10.2, 10.2.1, 10.2.2, and 10.3 will be made available
soon. The fix will also be included in a subsequent Utilities and Telecom
patch. 

 

Esri support does have tools to help determine if you scripts have caused
inconsistences in your geometric networks or not. More technical details are
provided in knowledge base article ID: 44085
<http://autobahn.esri.com/esri/etrack.aspx?DSN=b9ca57b2fbe8cb424588078533879
83f6a0f6be5ccdab113&FORMID=e728fd881c4a8f63839c51b213d569a3&AUDID=a0824aee5f
8fae2c984453d5f6ce1d31&EMAILID=e2da16449289b15a3291e2356c9a853ff2f5e506b1a41
d71&DECODE=1&INTID=966a4dc7919fd9f5b8c311c89d764f0c&URL=http://support.esri.
com/ru/knowledgebase/techarticles/detail/44085?utm_source=esri&utm_medium=em
ail&utm_term=102102&utm_content=article&utm_campaign=software_alerts_2015> .
Please refer back to this KB article for status updates on the release of
the patch.

 

Tripp Corbin, MCP, CFM, GISP | Chief Executive Officer
 <http://www.egisassociates.com/> eGIS Associates, Inc.

 <mailto:tcorbin at egisassociates.com> tcorbin at egisassociates.com |
www.egisassociates.com 

678-710-9710 ext 21 | 866-304-3864 Fax

Esri Certified Desktop Associate | Esri Certified Enterprise System Design
Associate

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.dep.state.fl.us/pipermail/shrug-l/attachments/20150402/20144e4f/attachment.htm


More information about the SHRUG-L mailing list