6.18 to 6.19 updating error
Posted: 01 Feb 2024, 11:58
Dear
I'm testing upgrading from 6.18 to 6.19 , don't know what will be the impact of updating.
do we ignore the error ?
Applying pack: Common Functions
Pack of meta model and instance install functions
Applying pack: App Caps/App Services Inverse Slot Population
App Caps/App Services Inverse Slot Population
Completed population of inverse slots between Application Services and Application Capabilities.
Applying pack: Application/Technology Standards and Provider Roles Inverse Slot Population
Application/Technology Standards and Provider Roles Inverse Slot Population
Completed population of inverse slots between Application/Technology Standards and Application/Technology Provider Roles.
Applying pack: Essential Meta-Model v6.19 Updates
Meta-model and instance updates Essential Meta-Model v6.19
Completed the installation of the Essential 6.19 Update Pack.
Applying pack: Delete Unwanted EMM6.19 Instances
Delete unwanted Instances from 6.19 Meta-Model Upgrade
Exception in script when running line: 53:
def cleanupEMM619Instances():
global allRoleNames
relevantRoles = filter(lambda role: role.getDirectOwnSlotValue(nameSlot) in allRoleNames, allBusRoles)
# map any unrealised APp Caps
kb.setGenerateEventsEnabled(0)
map(cleanupBusRole, relevantRoles)
essCommunityLink = next((aLink for aLink in kb.getCls("External_Reference_Link").getDirectInstances() if aLink.getDirectOwnSlotValue(nameSlot) == "Essential Community"), None)
if not essCommunityLink is None:
unwantedInst = next((anInst for anInst in essCommunityLink.getDirectOwnSlotValues(kb.getSlot("referenced_ea_instance")) if anInst.getDirectOwnSlotValue(nameSlot) == "Action Hedging"), None)
if not unwantedInst is None:
kb.deleteInstance(unwantedInst)
kb.setGenerateEventsEnabled(1)
#
Script Exception:javax.script.ScriptException: Traceback (innermost last):
(no code object) at line 0
SyntaxError: ('invalid syntax', ('<unknown>', 7, 36, ' essCommunityLink = next((aLink for aLink in kb.getCls("External_Reference_Link").getDirectInstances() if aLink.getDirectOwnSlotValue(nameSlot) == "Essential Community"), None)'))
at com.sun.script.jython.JythonScriptEngine.compileScript(JythonScriptEngine.java:280)
at com.sun.script.jython.JythonScriptEngine.eval(JythonScriptEngine.java:169)
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):
(no code object) at line 0
SyntaxError: ('invalid syntax', ('<unknown>', 7, 36, ' essCommunityLink = next((aLink for aLink in kb.getCls("External_Reference_Link").getDirectInstances() if aLink.getDirectOwnSlotValue(nameSlot) == "Essential Community"), None)'))
at org.python.core.parser.fixParseError(Unknown Source)
at org.python.core.parser.parse(Unknown Source)
at org.python.core.Py.compile_flags(Unknown Source)
at org.python.core.Py.compile_flags(Unknown Source)
at org.python.core.__builtin__.compile(Unknown Source)
at com.sun.script.jython.JythonScriptEngine.compileScript(JythonScriptEngine.java:278)
... 8 more
javax.script.ScriptException: Traceback (innermost last):
(no code object) at line 0
SyntaxError: ('invalid syntax', ('<unknown>', 7, 36, ' essCommunityLink = next((aLink for aLink in kb.getCls("External_Reference_Link").getDirectInstances() if aLink.getDirectOwnSlotValue(nameSlot) == "Essential Community"), None)'))
Error: An error or exception occurred during the execution of the update script. See output for more information.
I'm testing upgrading from 6.18 to 6.19 , don't know what will be the impact of updating.
do we ignore the error ?
Applying pack: Common Functions
Pack of meta model and instance install functions
Applying pack: App Caps/App Services Inverse Slot Population
App Caps/App Services Inverse Slot Population
Completed population of inverse slots between Application Services and Application Capabilities.
Applying pack: Application/Technology Standards and Provider Roles Inverse Slot Population
Application/Technology Standards and Provider Roles Inverse Slot Population
Completed population of inverse slots between Application/Technology Standards and Application/Technology Provider Roles.
Applying pack: Essential Meta-Model v6.19 Updates
Meta-model and instance updates Essential Meta-Model v6.19
Completed the installation of the Essential 6.19 Update Pack.
Applying pack: Delete Unwanted EMM6.19 Instances
Delete unwanted Instances from 6.19 Meta-Model Upgrade
Exception in script when running line: 53:
def cleanupEMM619Instances():
global allRoleNames
relevantRoles = filter(lambda role: role.getDirectOwnSlotValue(nameSlot) in allRoleNames, allBusRoles)
# map any unrealised APp Caps
kb.setGenerateEventsEnabled(0)
map(cleanupBusRole, relevantRoles)
essCommunityLink = next((aLink for aLink in kb.getCls("External_Reference_Link").getDirectInstances() if aLink.getDirectOwnSlotValue(nameSlot) == "Essential Community"), None)
if not essCommunityLink is None:
unwantedInst = next((anInst for anInst in essCommunityLink.getDirectOwnSlotValues(kb.getSlot("referenced_ea_instance")) if anInst.getDirectOwnSlotValue(nameSlot) == "Action Hedging"), None)
if not unwantedInst is None:
kb.deleteInstance(unwantedInst)
kb.setGenerateEventsEnabled(1)
#
Script Exception:javax.script.ScriptException: Traceback (innermost last):
(no code object) at line 0
SyntaxError: ('invalid syntax', ('<unknown>', 7, 36, ' essCommunityLink = next((aLink for aLink in kb.getCls("External_Reference_Link").getDirectInstances() if aLink.getDirectOwnSlotValue(nameSlot) == "Essential Community"), None)'))
at com.sun.script.jython.JythonScriptEngine.compileScript(JythonScriptEngine.java:280)
at com.sun.script.jython.JythonScriptEngine.eval(JythonScriptEngine.java:169)
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):
(no code object) at line 0
SyntaxError: ('invalid syntax', ('<unknown>', 7, 36, ' essCommunityLink = next((aLink for aLink in kb.getCls("External_Reference_Link").getDirectInstances() if aLink.getDirectOwnSlotValue(nameSlot) == "Essential Community"), None)'))
at org.python.core.parser.fixParseError(Unknown Source)
at org.python.core.parser.parse(Unknown Source)
at org.python.core.Py.compile_flags(Unknown Source)
at org.python.core.Py.compile_flags(Unknown Source)
at org.python.core.__builtin__.compile(Unknown Source)
at com.sun.script.jython.JythonScriptEngine.compileScript(JythonScriptEngine.java:278)
... 8 more
javax.script.ScriptException: Traceback (innermost last):
(no code object) at line 0
SyntaxError: ('invalid syntax', ('<unknown>', 7, 36, ' essCommunityLink = next((aLink for aLink in kb.getCls("External_Reference_Link").getDirectInstances() if aLink.getDirectOwnSlotValue(nameSlot) == "Essential Community"), None)'))
Error: An error or exception occurred during the execution of the update script. See output for more information.