6.18 to 6.19 updating error

Post Reply
SayedMohamed
Posts: 12
Joined: 19 Nov 2020, 12:48

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.
ben.ralph.nmc
Posts: 25
Joined: 11 Apr 2022, 11:50

I get the same error. Are we ok to proceed or is a revised update pack required?
User avatar
neil.walsh
Posts: 445
Joined: 16 Feb 2009, 13:45
Contact:

Hi,
Thanks both for bringing this to our attention. We have released a revised update which should resolve this issue. Let me know how you both get on.
https://enterprise-architecture.org/update-packs/
Thanks
Neil
ben.ralph.nmc
Posts: 25
Joined: 11 Apr 2022, 11:50

Hi Neil

Thanks for providing the revised update pack. I was able to apply the update without any errors however, the following views are missing and display without their thumbnail image on the library page:

Business Process Hierarchy Application Mapping
Value Stream Canvas
Value Streams Application Mapping

Is that because these views are not yet included in the OS release?

Regards
Ben
JohnM
Posts: 468
Joined: 17 Feb 2009, 20:19

Hi Ben,

Do you have the latest viewer see here https://github.com/essentialproject/essential_viewer

John
User avatar
neil.walsh
Posts: 445
Joined: 16 Feb 2009, 13:45
Contact:

This is also available via our main download page

https://enterprise-architecture.org/pro ... -download/
HBuchner
Posts: 13
Joined: 31 May 2023, 20:13

I just wanted to support Ralph. Some views in the Viewer 19.2 are not supported / missing:
Business Process Hierarchy Application Mapping
Value Stream Canvas
Value Streams Application Mapping
Image
You do not have the required permissions to view the files attached to this post.
JohnM
Posts: 468
Joined: 17 Feb 2009, 20:19

Hi,

Sorry for the delay. Can I just check, are the views there and just the images are missing? Do you have the latest Viewer installed? https://github.com/essentialproject/ess ... ree/master

Thanks

John
HBuchner
Posts: 13
Joined: 31 May 2023, 20:13

Hi John,
the URL points to a non existing file:
Business Process Hierarchy Application Mapping:

Code: Select all

http://XXX/essential_viewer/report?XML=reportXML.xml&XSL=business/core_bl_process_maps.xsl&LABEL=Business%20Process%20Hierarchy%20Application%20Mapping&cl=en-gb
Error Message:
Oops! Essential Viewer encountered an error with the request View Template XSL stylesheet
net.sf.saxon.s9api.SaxonApiException: I/O error reported by XML parser processing file:/usr/local/tomcat/webapps/essential_viewer/business/core_bl_process_maps.xsl: /usr/local/tomcat/webapps/essential_viewer/business/core_bl_process_maps.xsl (No such file or directory)
Warning: Stylesheet module file:/usr/local/tomcat/webapps/essential_viewer/WEB-INF/security/viewer_security.xsl is included or imported more than once. This is permitted, but may lead to errors or unexpected behavior; SystemID: file:/usr/local/tomcat/webapps/essential_viewer/WEB-INF/security/viewer_security.xsl; Line#: 11; Column#: 19 : Warning: Stylesheet module file:/usr/local/tomcat/webapps/essential_viewer/WEB-INF/security/viewer_security.xsl is included or imported more than once. This is permitted, but may lead to errors or unexpected behavior; SystemID: file:/usr/local/tomcat/webapps/essential_viewer/WEB-INF/security/viewer_security.xsl; Line#: 11; Column#: 19 : Warning: Stylesheet module file:/usr/local/tomcat/webapps/essential_viewer/common/core_utilities.xsl is included or imported more than once. This is permitted, but may lead to errors or unexpected behavior; SystemID: file:/usr/local/tomcat/webapps/essential_viewer/common/core_utilities.xsl;
Value Stream Canvas:

Code: Select all

http://XXX/essential_viewer/report?XML=reportXML.xml&XSL=business/core_bl_value_stream_canvas.xsl&LABEL=Value%20Stream%20Canvas&cl=en-gb
Error Message:
Oops! Essential Viewer encountered an error with the request View Template XSL stylesheet
net.sf.saxon.s9api.SaxonApiException: I/O error reported by XML parser processing file:/usr/local/tomcat/webapps/essential_viewer/business/core_bl_value_stream_canvas.xsl: /usr/local/tomcat/webapps/essential_viewer/business/core_bl_value_stream_canvas.xsl (No such file or directory)
Fatal Error: I/O error reported by XML parser processing file:/usr/local/tomcat/webapps/essential_viewer/business/core_bl_value_stream_canvas.xsl: /usr/local/tomcat/webapps/essential_viewer/business/core_bl_value_stream_canvas.xsl (No such file or directory)
Enable the Detailed Error Message filter to view more information about this error.
Value Stream Application Mapping:
Works, only the pre-view image is missing
Essential Viewer 6 Platform Information
Version: 6.18.7

Repository Schema version 6.19
Post Reply