Hi Peter, I'll raise the issues ASAP. This is not related to the topic, but I prefer to have all this reports on th same thread. When I create an archetype (see attached), without saving it, and click on the "interface" tab (i spanish should be "interfaz"), I get an exception: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text **************System.NotSupportedException: Constraint type 'Parsable' not supported as a view. at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags) at Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure) at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn) at ArchetypeEditor.TabPageStructure.BuildInterface(Control aContainer, Point& pos, Boolean mandatory_only) at ArchetypeEditor.Designer.BuildInterfaceTabPage() at ArchetypeEditor.Designer.TabMain_SelectionChanged(Object sender, EventArgs e) at Crownwood.Magic.Controls.TabControl.OnSelectionChanged(EventArgs e) at Crownwood.Magic.Controls.TabControl.MovePageSelection(TabPage page) at Crownwood.Magic.Controls.TabControl.InternalMouseDown(Point mousePos) at Crownwood.Magic.Controls.TabControl.OnMouseDown(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3649 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll----------------------------------------OceanArchetypeEditor Assembly Version: 2.2.165.0 Win32 Version: 2.2.165.* CodeBase: file:///C:/Program%20Files%20(x86)/Ocean%20Informatics/Archetype%20Editor/OceanArchetypeEditor.exe----------------------------------------ArchetypeEditor Assembly Version: 2.2.779.0 Win32 Version: 2.2.779.* CodeBase: file:///C:/Program%20Files%20(x86)/Ocean%20Informatics/Archetype%20Editor/ArchetypeEditor.EXE----------------------------------------System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3644 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll----------------------------------------System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3644 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll----------------------------------------TerminologyLookup Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/Ocean%20Informatics/Archetype%20Editor/TerminologyLookup.DLL----------------------------------------System.Data Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll----------------------------------------System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3654 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------System.Web.Services Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll----------------------------------------System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3654 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll----------------------------------------OceanArchetypeEditor.XmlSerializers Assembly Version: 2.2.165.0 Win32 Version: 2.2.165.0 CodeBase: file:///C:/Program%20Files%20(x86)/Ocean%20Informatics/Archetype%20Editor/OceanArchetypeEditor.XmlSerializers.DLL----------------------------------------System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3645 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll----------------------------------------Microsoft.VisualBasic Assembly Version: 8.0.0.0 Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll----------------------------------------MagicLibrary Assembly Version: 1.7.0.0 Win32 Version: 1.7.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/Ocean%20Informatics/Archetype%20Editor/MagicLibrary.DLL----------------------------------------OceanInformatics.AdlParser Assembly Version: 1.4.0.1429 Win32 Version: CodeBase: file:///C:/Program%20Files%20(x86)/Ocean%20Informatics/Archetype%20Editor/OceanInformatics.AdlParser.DLL----------------------------------------EiffelSoftware.Runtime Assembly Version: 6.2.7.1629 Win32 Version: 6.2.7.1629 CodeBase: file:///C:/Program%20Files%20(x86)/Ocean%20Informatics/Archetype%20Editor/EiffelSoftware.Runtime.DLL----------------------------------------XMLParser Assembly Version: 1.1.4066.42785 Win32 Version: 1.1.4066.42785 CodeBase: file:///C:/Program%20Files%20(x86)/Ocean%20Informatics/Archetype%20Editor/XMLParser.DLL----------------------------------------OTSControls Assembly Version: 1.0.2.0 Win32 Version: 1.0.2.0 CodeBase: file:///C:/Program%20Files%20(x86)/Ocean%20Informatics/Archetype%20Editor/OTSControls.DLL----------------------------------------pz50ipx8 Assembly Version: 1.1.4066.42785 Win32 Version: 2.0.50727.3644 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll----------------------------------------ink0fsu0 Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3644 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll----------------------------------------System.Transactions Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_64/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll----------------------------------------Microsoft.VisualC Assembly Version: 8.0.0.0 Win32 Version: 8.00.50727.3053 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll----------------------------------------System.Data.SqlXml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3654 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Data.SqlXml/2.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll----------------------------------------System.Web Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3634 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/assembly/GAC_64/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll----------------------------------------System.Security Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3652 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll----------------------------------------Accessibility Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll----------------------------------------System.Design Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3645 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll----------------------------------------System.Drawing.Design Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing.Design/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll---------------------------------------- ************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled. For example: <configuration> <system.windows.forms jitDebugging="true" /></configuration> When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box. -- Kind regards, Eng. Pablo Pazos Guti?rrez http://cabolabs.com From: peter.gum...@oceaninformatics.com Subject: Re: Archetype Editor Language/terminology related problems Date: Thu, 5 Dec 2013 00:11:36 +1100 To: openehr-technical at lists.openehr.org pablo pazos <pazospablo at hotmail.com> wrote: 1. When I add and remove EVENTs from an OBSERVATION, and then go to the Terminology tab, I can see all the nodeIDs generated for the EVENTs I've created but already removed from the archetype definition. Screen capture shows the items that should not be seen. Archetype Editor doesn?t clean up unused ontology codes until you save the archetype. I think if you save it, you?ll see that they are gone. Please raise a problem report if they are still there after you save. I?ve always thought that this was by design, so that any text or description from a node that you had just deleted would still be available for you to copy to another node, if you wanted to do that. But I?m not sure ? it?s always been like that. Is the current behaviour good, or would it be better if the deleted codes were removed immediately? 2. Adding a language and trying to toggle using the main men? or CTRL+L doesn't work. If I change the language manually: Language > Change Language > ES, then CTRL+L and Language > Toggle Language start to work. Yes that is a bug. The problem is only on the Terminology tab, and only with the Ctrl+L shortcut, right? Could you log the problem at http://www.openehr.org/issues/browse/AEPR please? Thanks, Pablo. Good luck with the workshops. - Peter _______________________________________________ openEHR-technical mailing list openEHR-technical at lists.openehr.org http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20131209/d8c92bd9/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: openEHR-EHR-OBSERVATION.test_adl_parser.v1.adl Type: application/octet-stream Size: 6790 bytes Desc: not available URL: <http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20131209/d8c92bd9/attachment-0001.adl> -------------- next part -------------- A non-text attachment was scrubbed... Name: AE Error.png Type: image/png Size: 34016 bytes Desc: not available URL: <http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20131209/d8c92bd9/attachment-0001.png>