Updating OS Meta Model to V6.15 Error
Posted: 31 Mar 2022, 07:17
Hi,
I'm trying to install the latest 6.14 to 6.15 .eup file in Protege and have struck an error during the update process.
Here's the output from the Protege screen:
Applying pack: Common Functions
Pack of meta model and instance install functions
Applying pack: Reset AutoText
Reset AutoText on two relationship classes
Completed the AutoText reset for :APU-TO-APU-STATIC-RELATION and APP_PRO_TO_INFOREP_EXCHANGE_RELATION Meta Model.
Applying pack: Content Governance
Add the Classes and Instances for the Essential Cloud Content Governance capability
Completed the installation of the Essential Content Governance Update Pack.
Applying pack: Essential Meta-Model v6.15 Updates
Meta-model and instance updates Essential Meta-Model v6.15
Completed the installation of the Essential 6.15 Update Pack.
Applying pack: Set all instances to be published
Update the value of system_is_published slot to be true for all instances
Exception in script when running line: 30:
anEAClassSet = set(kb.getCls('EA_Class').getInstances()) - set(kb.getCls('External_Instance_Reference').getInstances())
Script Exception:javax.script.ScriptException: Traceback (innermost last):
File "<unknown>", line 1, in ?
NameError: set
at com.sun.script.jython.JythonScriptEngine.evalCode(JythonScriptEngine.java:292)
at com.sun.script.jython.JythonScriptEngine.eval(JythonScriptEngine.java:170)
at javax.script.AbstractScriptEngine.eval(Unknown Source)
at com.enterprise_architecture.essential.scripting.ScriptJob.execute(ScriptJob.java:268)
at com.enterprise_architecture.essential.update.EssentialScriptEngine.processScript(EssentialScriptEngine.java:344)
at com.enterprise_architecture.essential.update.EssentialScriptEngine.execute(EssentialScriptEngine.java:201)
at com.enterprise_architecture.essential.update.EssentialUpdateTab$2.construct(EssentialUpdateTab.java:1049)
at com.enterprise_architecture.essential.update.SwingWorker$2.run(SwingWorker.java:110)
at java.lang.Thread.run(Unknown Source)
Caused by: Traceback (innermost last):
File "<unknown>", line 1, in ?
NameError: set
at org.python.core.Py.NameError(Unknown Source)
at org.python.core.PyFrame.getglobal(Unknown Source)
at org.python.core.PyFrame.getname(Unknown Source)
at org.python.pycode._pyx120059.f$0(<unknown>:1)
at org.python.pycode._pyx120059.call_function(<unknown>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at com.sun.script.jython.JythonScriptEngine.evalCode(JythonScriptEngine.java:289)
... 8 more
javax.script.ScriptException: Traceback (innermost last):
File "<unknown>", line 1, in ?
NameError: set
Error: An error or exception occurred during the execution of the update script. See output for more information.
The error message only appears in Protege - i.e. the Protege logs don't have any extra info.
I'm running Protege 3.5 and Java is 1.8.0_321.
Should I have run/updated something else prior?
Also, the "Applied Updates" class does show an entry hinting the update has occurred - "Essential Viewer 6.15 Update Pack". So, the question is has the meta model been updated successfully and the message is pointing to something else being not quite right?
Please let me know if there's any more detail you need in determining what the "challenge" is.
Looking forward to hearing from you.
Cheers
Keith
I'm trying to install the latest 6.14 to 6.15 .eup file in Protege and have struck an error during the update process.
Here's the output from the Protege screen:
Applying pack: Common Functions
Pack of meta model and instance install functions
Applying pack: Reset AutoText
Reset AutoText on two relationship classes
Completed the AutoText reset for :APU-TO-APU-STATIC-RELATION and APP_PRO_TO_INFOREP_EXCHANGE_RELATION Meta Model.
Applying pack: Content Governance
Add the Classes and Instances for the Essential Cloud Content Governance capability
Completed the installation of the Essential Content Governance Update Pack.
Applying pack: Essential Meta-Model v6.15 Updates
Meta-model and instance updates Essential Meta-Model v6.15
Completed the installation of the Essential 6.15 Update Pack.
Applying pack: Set all instances to be published
Update the value of system_is_published slot to be true for all instances
Exception in script when running line: 30:
anEAClassSet = set(kb.getCls('EA_Class').getInstances()) - set(kb.getCls('External_Instance_Reference').getInstances())
Script Exception:javax.script.ScriptException: Traceback (innermost last):
File "<unknown>", line 1, in ?
NameError: set
at com.sun.script.jython.JythonScriptEngine.evalCode(JythonScriptEngine.java:292)
at com.sun.script.jython.JythonScriptEngine.eval(JythonScriptEngine.java:170)
at javax.script.AbstractScriptEngine.eval(Unknown Source)
at com.enterprise_architecture.essential.scripting.ScriptJob.execute(ScriptJob.java:268)
at com.enterprise_architecture.essential.update.EssentialScriptEngine.processScript(EssentialScriptEngine.java:344)
at com.enterprise_architecture.essential.update.EssentialScriptEngine.execute(EssentialScriptEngine.java:201)
at com.enterprise_architecture.essential.update.EssentialUpdateTab$2.construct(EssentialUpdateTab.java:1049)
at com.enterprise_architecture.essential.update.SwingWorker$2.run(SwingWorker.java:110)
at java.lang.Thread.run(Unknown Source)
Caused by: Traceback (innermost last):
File "<unknown>", line 1, in ?
NameError: set
at org.python.core.Py.NameError(Unknown Source)
at org.python.core.PyFrame.getglobal(Unknown Source)
at org.python.core.PyFrame.getname(Unknown Source)
at org.python.pycode._pyx120059.f$0(<unknown>:1)
at org.python.pycode._pyx120059.call_function(<unknown>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at com.sun.script.jython.JythonScriptEngine.evalCode(JythonScriptEngine.java:289)
... 8 more
javax.script.ScriptException: Traceback (innermost last):
File "<unknown>", line 1, in ?
NameError: set
Error: An error or exception occurred during the execution of the update script. See output for more information.
The error message only appears in Protege - i.e. the Protege logs don't have any extra info.
I'm running Protege 3.5 and Java is 1.8.0_321.
Should I have run/updated something else prior?
Also, the "Applied Updates" class does show an entry hinting the update has occurred - "Essential Viewer 6.15 Update Pack". So, the question is has the meta model been updated successfully and the message is pointing to something else being not quite right?
Please let me know if there's any more detail you need in determining what the "challenge" is.
Looking forward to hearing from you.
Cheers
Keith