You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is Barbara in Esri Support Services requesting information on behalf of a user in a Support case. At the time of this writing, the script supports the 2017 data model. The user wants to incorporate ALRS into the 2018 data model. In the script CreateUPDM.py, I have used a plain-text editor (tried with Notepad++ and WordPad) to replace the updmXmlString between the triple-quotes with the entire contents of the UPDM2018.XML file, which appears similar in format to the string in the original script. Running the script, however, gives an error in the function ImportXMLWorkspaceDocument:
"ExecuteError: Failed to execute. Parameters are not valid.
ERROR 001162: Invalid XML file."
Is this the correct approach for this task, and if not, can you advise how to accomplish it. I'm attaching a zipped copy of the updated script, which has a .txt extension for editing purposes. Thanks for any insights! CreateUPDM_2018_amber2.zip
Update: In a text editor, I changed all occurrences of the string "10.5" to "10.6," both within the embedded XML data and in the script. This allowed the script to run nearly to completion. During the Adding Indexes phase it failed when attempting to add an index to field engtorouteid, which no longer exists within P_PipeCrossing.
The text was updated successfully, but these errors were encountered:
@Armadillo21 The repo's README now says when we plan to update the python script to handle UPDM 2018. The LRS configuration part of the script needs to be changed to accommodate UPDM schema changes between the 2017 and 2018 versions.
This is Barbara in Esri Support Services requesting information on behalf of a user in a Support case. At the time of this writing, the script supports the 2017 data model. The user wants to incorporate ALRS into the 2018 data model. In the script CreateUPDM.py, I have used a plain-text editor (tried with Notepad++ and WordPad) to replace the updmXmlString between the triple-quotes with the entire contents of the UPDM2018.XML file, which appears similar in format to the string in the original script. Running the script, however, gives an error in the function ImportXMLWorkspaceDocument:
"ExecuteError: Failed to execute. Parameters are not valid.
ERROR 001162: Invalid XML file."
Is this the correct approach for this task, and if not, can you advise how to accomplish it. I'm attaching a zipped copy of the updated script, which has a .txt extension for editing purposes. Thanks for any insights!
CreateUPDM_2018_amber2.zip
Update: In a text editor, I changed all occurrences of the string "10.5" to "10.6," both within the embedded XML data and in the script. This allowed the script to run nearly to completion. During the Adding Indexes phase it failed when attempting to add an index to field engtorouteid, which no longer exists within P_PipeCrossing.
The text was updated successfully, but these errors were encountered: