Re: [taste-users] DMT-ToolsAndManual-Linux-120222 Execution Requirements?

[ Thread Index | Date Index | More lists.tuxfamily.org/taste-users Archives ]


Hi Thanassis:

It works great!   I can generate both C and AADL from ASN.1 now.

Thanks,
Len
_____________________________
Leonard J. Reder
Jet Propulsion Laboratory
Flight Software Applications
Email: reder@xxxxxxxxxxxx
Phone (Voice): 818-354-3639
---------------------------------------------------



On 2/24/12 12:05 AM, "Thanassis Tsiodras" <ttsiodras@xxxxxxxxxxx> wrote:

>Hi Leonard,
>
>Glad to hear that Python and ASN1SCC issues are resolved (execution wise).
>About the error you are seeing: The ASN1SCC env var is read by all DMT
>tools, to learn the location of the ASN.1 compiler - so it must point to
>it, like this:
>
>$ echo $ASN1SCC
>/opt/DMT-ToolsAndManual-Linux-120222/asn1scc/asn1.exe
>
>Set it like this (i.e. with the full path to your asn1.exe) and try again.
>
>Kind regards,
>Thanassis.
>
>-- 
>------------------------------------------------------------
>Thanassis Tsiodras, Dr.-Ing.
>Semantix Information Technologies
>email: ttsiodras@xxxxxxxxxxx
>web  : http://www.semantix.gr
>phone: (+30)2106412065
>fax  : (+30)2106412068
>addr.: K Tsaldari 62, 11476, Athens, GREECE
>------------------------------------------------------------
>
>
>
>On 24/2/2012 5:40 πμ, Reder, Leonard J (3496) wrote:
>> Hi Thanassis,
>>
>> I am able to execute the Python tools now.  I am attempting to convert
>> DataView.asn and it works ok to convert to C code using asn1.exe with
>> mono.
>> However, here is what happens when I try asn2aadlPlus.py:
>>
>> 
>>dogmatix:123$../../DMT-ToolsAndManual-Linux-120222/asn2aadlPlus/asn2aadlP
>>lus.py 
>> -keep DataView.asn DataView.aadl
>> Cannot open assembly
>> '/home/reder/src/DMT-ToolsAndManual-Linux-120222/asn2aadlPlus': File
>> does not contain a valid CIL image.
>>
>> ASN1SCC reported semantic errors (or mono failed). Aborting...
>>
>> For the environment I set this:
>>
>> ASN1SCC=/home/reder/src/DMT-ToolsAndManual-Linux-120222/asn2aadlPlus
>> LD_LIBRARY_PATH=/home/reder/src/DMT-ToolsAndManual-Linux-120222/asn1scc
>>
>> Which is where asn1.exe exists.
>>
>> Do you have any idea what I am doing wrong?
>>
>> Thanks,
>> Len
>> _____________________________
>> Leonard J. Reder
>> Jet Propulsion Laboratory
>> Flight Software Applications
>> Email: reder@xxxxxxxxxxxx
>> Phone (Voice): 818-354-3639
>> ---------------------------------------------------
>>
>
>




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/