Updating OS Meta Model to V6.15 Error

Post Reply
klawry38
Posts: 36
Joined: 12 Feb 2016, 01:46

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
User avatar
neil.walsh
Posts: 445
Joined: 16 Feb 2009, 13:45
Contact:

Hi Keith,

Thanks for raising this. We'll see if we can replicate this. We haven't yet released the v6.15 of Essential Open Source so you are probably best continuing with v6.14 for now.

We'll take a look and report back

Thanks

Neil
john.nordien
Posts: 56
Joined: 17 Sep 2019, 14:50
Location: Winnipeg, Manitoba, CANADA
Contact:

Hello.

I also tried this Update Pack. Received the same error.
Here is complete message trace during update.
--------------------------------------------------------------------------------------------
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 java.scripting/javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
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.base/java.lang.Thread.run(Thread.java:834)
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._pyx240119.f$0(<unknown>:1)
at org.python.pycode._pyx240119.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.
aschoijett
Posts: 26
Joined: 01 Jun 2018, 14:16

Hi,
I also got an error when performing this update. In my first attempt, Protege became unresponsive. I left it just in case and killed it after 1 hour. I retried, this time ticking on the show details checkbox, and got the trace below. My machine is an i7 with 8 GB of RAM, Windows 10 Pro and I'm installing Essential in single user mode. I had applied the memory configs recommended for Protege and Tomcat before attempting this update.

From the details below, it looks like some things got updated to 6.15 but not everything did.
What are the recommended actions?

Many thanks in advance,


Alex






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.
JohnM
Posts: 469
Joined: 17 Feb 2009, 20:19

We've fixed this and there is a new version, with the latest release, now available.

For those who have Essential installed, the latest updates are available here https://enterprise-architecture.org/update_packs.php

And GitHub has been updated with the latest view https://github.com/essentialproject/essential_viewer
Post Reply