Dear Taste Community,
I have run into a problem with the TASTE tools, and I would highly appreciate any suggestions on how to work around the problem.
When trying to build a binary for the Linux 32 bit native platform, the TASTE build script fails with an extensive stack trace:
...
...
...
Class tinyAsn1.ReferenceType has no such attribute: LongFieldNameAsString in template context [mainSrc anonymous PrintTypeAssigment anonymous ACN_encBodies PrintAcnDecodeBody ReferenceType_acn_decode if(t.HasAcnProperties)_subtemplate
PrintAcnDecodeBody SEQUENCE_acn_decode anonymous else_subtemplate PrintAcnDecodeBody ReferenceType_acn_decode if(t.HasAcnProperties)_subtemplate PrintAcnDecodeBody SEQUENCE_acn_decode anonymous]
Can't get property C_LongAccessField as CLR property C_LongAccessField from tinyAsn1.OctetStringType instance
at tinyAsn1.Asn1Type.get_TypeAssigment () [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type+<get_LongFieldName>d__39.MoveNext () [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type+<get_LongFieldName>d__39.MoveNext () [0x00000] in <filename unknown>:0
at System.Linq.Enumerable.Last[String] (IEnumerable`1 source, System.Func`2 predicate, Fallback fallback) [0x00000] in <filename unknown>:0
at System.Linq.Enumerable.Last[String] (IEnumerable`1 source) [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type.get_C_LongAccessField () [0x00000] in <filename unknown>:0
at (wrapper delegate-invoke) System.Reflection.MonoProperty/Getter`2<tinyAsn1.Asn1Type, string>:invoke_string__this___Asn1Type (tinyAsn1.Asn1Type)
at System.Reflection.MonoProperty.GetterAdapterFrame[Asn1Type,String] (System.Reflection.Getter`2 getter, System.Object obj) [0x00000] in <filename unknown>:0
at System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index) [0x00000] in <filename unknown>:0
at Antlr.StringTemplate.Language.ASTExpr.GetPropertyValue (System.Reflection.PropertyInfo pi, Antlr.StringTemplate.Language.PropertyLookupParams paramBag, System.Object& value) [0x00000] in <filename unknown>:0
Can't get property get_C_LongAccessField using method get_/Get/Is/get/is as get_C_LongAccessField from tinyAsn1.OctetStringType instance
at tinyAsn1.Asn1Type.get_TypeAssigment () [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type+<get_LongFieldName>d__39.MoveNext () [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type+<get_LongFieldName>d__39.MoveNext () [0x00000] in <filename unknown>:0
at System.Linq.Enumerable.Last[String] (IEnumerable`1 source, System.Func`2 predicate, Fallback fallback) [0x00000] in <filename unknown>:0
at System.Linq.Enumerable.Last[String] (IEnumerable`1 source) [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type.get_C_LongAccessField () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename
unknown>:0
Class tinyAsn1.OctetStringType has no such attribute: C_LongAccessField in template context [mainSrc anonymous PrintTypeAssigment anonymous ACN_encBodies PrintAcnDecodeBody ReferenceType_acn_decode if(t.HasAcnProperties)_subtemplate
PrintAcnDecodeBody SEQUENCE_acn_decode anonymous else_subtemplate PrintAcnDecodeBody ReferenceType_acn_decode if(t.HasAcnProperties)_subtemplate PrintAcnDecodeBody SEQUENCE_acn_decode anonymous else_subtemplate PrintAcnDecodeBody ReferenceType_acn_decode if(t.HasAcnProperties)_subtemplate
PrintAcnDecodeBody Sizeable_acn_decode else_subtemplate else_subtemplate else_subtemplate]
Can't get property LongFieldNameAsString as CLR property LongFieldNameAsString from tinyAsn1.ReferenceType instance
at tinyAsn1.Asn1Type.get_TypeAssigment () [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type+<get_LongFieldName>d__39.MoveNext () [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type+<get_LongFieldName>d__39.MoveNext () [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type+<get_LongFieldName>d__39.MoveNext () [0x00000] in <filename unknown>:0
at semantix.util.GlobalUtils.StringJoin[String] (IEnumerable`1 list, System.String joinVal, System.Func`2 formatFunc) [0x00000] in <filename unknown>:0
at semantix.util.GlobalUtils.StringJoin[String] (IEnumerable`1 list, System.String joinVal) [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type.get_LongFieldNameAsString () [0x00000] in <filename unknown>:0
at (wrapper delegate-invoke) System.Reflection.MonoProperty/Getter`2<tinyAsn1.Asn1Type, string>:invoke_string__this___Asn1Type (tinyAsn1.Asn1Type)
at System.Reflection.MonoProperty.GetterAdapterFrame[Asn1Type,String] (System.Reflection.Getter`2 getter, System.Object obj) [0x00000] in <filename unknown>:0
at System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index) [0x00000] in <filename unknown>:0
at Antlr.StringTemplate.Language.ASTExpr.GetPropertyValue (System.Reflection.PropertyInfo pi, Antlr.StringTemplate.Language.PropertyLookupParams paramBag, System.Object& value) [0x00000] in <filename unknown>:0
Can't get property get_LongFieldNameAsString using method get_/Get/Is/get/is as get_LongFieldNameAsString from tinyAsn1.ReferenceType instance
at tinyAsn1.Asn1Type.get_TypeAssigment () [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type+<get_LongFieldName>d__39.MoveNext () [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type+<get_LongFieldName>d__39.MoveNext () [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type+<get_LongFieldName>d__39.MoveNext () [0x00000] in <filename unknown>:0
at semantix.util.GlobalUtils.StringJoin[String] (IEnumerable`1 list, System.String joinVal, System.Func`2 formatFunc) [0x00000] in <filename unknown>:0
at semantix.util.GlobalUtils.StringJoin[String] (IEnumerable`1 list, System.String joinVal) [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type.get_LongFieldNameAsString () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename
unknown>:0
Class tinyAsn1.ReferenceType has no such attribute: LongFieldNameAsString in template context [mainSrc anonymous PrintTypeAssigment anonymous ACN_encBodies PrintAcnDecodeBody ReferenceType_acn_decode if(t.HasAcnProperties)_subtemplate
PrintAcnDecodeBody SEQUENCE_acn_decode anonymous else_subtemplate PrintAcnDecodeBody ReferenceType_acn_decode if(t.HasAcnProperties)_subtemplate PrintAcnDecodeBody SEQUENCE_acn_decode anonymous]
Can't get property C_LongAccessField as CLR property C_LongAccessField from tinyAsn1.OctetStringType instance
at tinyAsn1.Asn1Type.get_TypeAssigment () [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type+<get_LongFieldName>d__39.MoveNext () [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type+<get_LongFieldName>d__39.MoveNext () [0x00000] in <filename unknown>:0
at System.Linq.Enumerable.Last[String] (IEnumerable`1 source, System.Func`2 predicate, Fallback fallback) [0x00000] in <filename unknown>:0
at System.Linq.Enumerable.Last[String] (IEnumerable`1 source) [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type.get_C_LongAccessField () [0x00000] in <filename unknown>:0
at (wrapper delegate-invoke) System.Reflection.MonoProperty/Getter`2<tinyAsn1.Asn1Type, string>:invoke_string__this___Asn1Type (tinyAsn1.Asn1Type)
at System.Reflection.MonoProperty.GetterAdapterFrame[Asn1Type,String] (System.Reflection.Getter`2 getter, System.Object obj) [0x00000] in <filename unknown>:0
at System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index) [0x00000] in <filename unknown>:0
at Antlr.StringTemplate.Language.ASTExpr.GetPropertyValue (System.Reflection.PropertyInfo pi, Antlr.StringTemplate.Language.PropertyLookupParams paramBag, System.Object& value) [0x00000] in <filename unknown>:0
Can't get property get_C_LongAccessField using method get_/Get/Is/get/is as get_C_LongAccessField from tinyAsn1.OctetStringType instance
at tinyAsn1.Asn1Type.get_TypeAssigment () [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type+<get_LongFieldName>d__39.MoveNext () [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type+<get_LongFieldName>d__39.MoveNext () [0x00000] in <filename unknown>:0
at System.Linq.Enumerable.Last[String] (IEnumerable`1 source, System.Func`2 predicate, Fallback fallback) [0x00000] in <filename unknown>:0
at System.Linq.Enumerable.Last[String] (IEnumerable`1 source) [0x00000] in <filename unknown>:0
at tinyAsn1.Asn1Type.get_C_LongAccessField () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename
unknown>:0
Class tinyAsn1.OctetStringType has no such attribute: C_LongAccessField in template context [mainSrc anonymous PrintTypeAssigment anonymous ACN_encBodies PrintAcnDecodeBody ReferenceType_acn_decode if(t.HasAcnProperties)_subtemplate
PrintAcnDecodeBody SEQUENCE_acn_decode anonymous else_subtemplate PrintAcnDecodeBody ReferenceType_acn_decode if(t.HasAcnProperties)_subtemplate PrintAcnDecodeBody SEQUENCE_acn_decode anonymous else_subtemplate PrintAcnDecodeBody ReferenceType_acn_decode if(t.HasAcnProperties)_subtemplate
PrintAcnDecodeBody Sizeable_acn_decode else_subtemplate else_subtemplate else_subtemplate]
[32mCompilation of generated sources failed - is gcc installed?
(report inside '/tmp/tmpUPUhi5.asn1c/ShowNativeBuffers.stats.err')
[0m
File "/opt/ocarina-2.0w-suite-x86-linux-2010.svn/bin/assert-builder-ocarina.py", line 1854, in <module>
main()
Exception in user code:
------------------------------------------------------------
------------------------------------------------------------
File "/opt/ocarina-2.0w-suite-x86-linux-2010.svn/bin/assert-builder-ocarina.py", line 667, in main
mysystem("\"$DMT/asn2aadlPlus/asn2aadlPlus.py\" -acn \"" + acnFile + "\" \"" + asn1Grammar + "\" D_view.aadl")
File "/opt/ocarina-2.0w-suite-x86-linux-2010.svn/bin/assert-builder-ocarina.py", line 75, in mysystem
traceback.print_stack()
Failed while executing:
"$DMT/asn2aadlPlus/asn2aadlPlus.py" -acn "/home/assert/mbcode/Prototype/Design_Definition_File/Taste_Model/Onboard_Monitoring/binary/dataview-uniq.acn" "/tmp/uniqhomeassertmbcodePrototypeDesign_Definition_FileTaste_ModelOnboard_MonitoringInterfaceView.aadl/dataview-uniq.asn"
D_view.aadl
From this directory:
/home/assert/mbcode/Prototype/Design_Definition_File/Taste_Model/Onboard_Monitoring/binary
Failed to compile...
Errors appear to be related to failing access to ‘C_LongAccessField’ on the vast majority of the data types defined in the
ASN.1 data view.
Thanks in advance,
Gert Caspersen
Gert Caspersen
Senior Engineer, Project Manager
Space Projects (DK)
Space
Terma A/S
Vasekær 12
2730 Herlev
Denmark
T +45 8743 6000
T +45 4594 9653 (direct)
F +45 8743 6001
E gec@xxxxxxxxx
W www.terma.com
Attention:
This e-mail (and attachment(s), if any) - intended for the addressee(s) only - may contain confidential, copyright, or legally privileged information
or material, and no one else is authorized to read, print, store, copy, forward, or otherwise use or disclose any part of its contents or attachment(s) in any form. If you have received this e-mail in error, please notify me by telephone or return e-mail,
and delete this e-mail and attachment(s). Thank you.