
arcpy<SPAN class="punctuation token">.</SPAN>UpgradeDataset_management<SPAN class="punctuation token">(</SPAN><SPAN class="string token">'Street_Anno_E'</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
Traceback <SPAN class="punctuation token">(</SPAN>most recent call last<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">:</SPAN>
File <SPAN class="string token">"<string>"</SPAN><SPAN class="punctuation token">,</SPAN> line <SPAN class="number token">1</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="keyword token">in</SPAN> <SPAN class="operator token"><</SPAN>module<SPAN class="operator token">></SPAN>
File <SPAN class="string token">"c:\program files\arcgis\pro\Resources\arcpy\arcpy\management.py"</SPAN><SPAN class="punctuation token">,</SPAN> line <SPAN class="number token">6117</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="keyword token">in</SPAN> UpgradeDataset
<SPAN class="keyword token">raise</SPAN> e
File <SPAN class="string token">"c:\program files\arcgis\pro\Resources\arcpy\arcpy\management.py"</SPAN><SPAN class="punctuation token">,</SPAN> line <SPAN class="number token">6114</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="keyword token">in</SPAN> UpgradeDataset
retval <SPAN class="operator token">=</SPAN> convertArcObjectToPythonObject<SPAN class="punctuation token">(</SPAN>gp<SPAN class="punctuation token">.</SPAN>UpgradeDataset_management<SPAN class="punctuation token">(</SPAN><SPAN class="operator token">*</SPAN>gp_fixargs<SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">(</SPAN>in_dataset<SPAN class="punctuation token">,</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="token boolean">True</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">)</SPAN>
File <SPAN class="string token">"c:\program files\arcgis\pro\Resources\arcpy\arcpy\geoprocessing\_base.py"</SPAN><SPAN class="punctuation token">,</SPAN> line <SPAN class="number token">498</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="keyword token">in</SPAN> <SPAN class="operator token"><</SPAN><SPAN class="keyword token">lambda</SPAN><SPAN class="operator token">></SPAN>
<SPAN class="keyword token">return</SPAN> <SPAN class="keyword token">lambda</SPAN> <SPAN class="operator token">*</SPAN>args<SPAN class="punctuation token">:</SPAN> val<SPAN class="punctuation token">(</SPAN><SPAN class="operator token">*</SPAN>gp_fixargs<SPAN class="punctuation token">(</SPAN>args<SPAN class="punctuation token">,</SPAN> <SPAN class="token boolean">True</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">)</SPAN>
arcgisscripting<SPAN class="punctuation token">.</SPAN>ExecuteError<SPAN class="punctuation token">:</SPAN> ERROR <SPAN class="number token">999999</SPAN><SPAN class="punctuation token">:</SPAN> Something unexpected caused the tool to fail<SPAN class="punctuation token">.</SPAN> Contact Esri Technical Support <SPAN class="punctuation token">(</SPAN>http<SPAN class="punctuation token">:</SPAN><SPAN class="operator token">//</SPAN>esriurl<SPAN class="punctuation token">.</SPAN>com<SPAN class="operator token">/</SPAN>support<SPAN class="punctuation token">)</SPAN> to Report a Bug<SPAN class="punctuation token">,</SPAN> <SPAN class="operator token">and</SPAN> refer to the error help <SPAN class="keyword token">for</SPAN> potential solutions <SPAN class="operator token">or</SPAN> workarounds<SPAN class="punctuation token">.</SPAN>
Failed to execute <SPAN class="punctuation token">(</SPAN>UpgradeDataset<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>I can't edit the annotation on an ArcGIS Pro 2.3.1 project. It's an imported MXD with an annotation feature class. Using arcpy I attempted to upgrade the anno, but got an error. I haven't contacted ESRI Support yet because I wanted to see if anyone knows about this. There was a similar question regarding upgrading asked, but it was using the tool: https://community.esri.com/message/799004-re-how-do-i-upgrade-annotation-for-use-in-pro?commentID=799004#comment-799004