Anonymous | Login | Signup for a new account | 2021-03-05 07:34 UTC | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000725 | Taste | [All Projects] OpenGeode | public | 2017-12-06 18:43 | 2018-03-10 13:25 | ||||
Reporter | shd01 | ||||||||
Assigned To | maxime | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Summary | 0000725: ASN.1 compiler failed - unhashable type 'dict' | ||||||||
Description | If my DataView contains a value assignment of a sequence of CHOICE types, OpenGEODE gives an ASN.1 compiler failure error when opening a SDL process. My ASN.1 is as follows: TASTE-Dataview DEFINITIONS ::= TASTE-Boolean ::= BOOLEAN T-Object ::= CHOICE { T-ObjectList ::= SEQUENCE (SIZE(1..8)) OF T-Object c-MyObjectList T-ObjectList ::= { END The OpenGeode output is shown in the attached screen dump. The ASN.1 compiles successfully with asn1.exe and generates C files. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | ![]() | ||||||||
![]() |
|
(0003160) maxime (administrator) 2017-12-06 19:05 |
Reproduced. Looking into it. |
(0003161) maxime (administrator) 2017-12-06 20:06 |
The bug is in the Python backend of the asn1 parser. I fixed it in the ASN1SCC repo (https://github.com/ttsiodras/asn1scc/commit/4833a4a2d721a67c2c2156e1f15c06b28caff144 [^]), but this will not be immediately available in TASTE. I suggest to apply the patch manually for the time being. It's just two characters to change in this file: /home/taste/tool-inst/share/asn1scc/python.stg Line 237:
Replace the curly brackets with simple parenthesis:
This should be sufficient to make it work without any other change in your system. Please confirm. |
(0003162) shd01 (reporter) 2017-12-06 20:18 |
Super speedy! Thanks very much, will apply the patch manually tonight. |
(0003163) shd01 (reporter) 2017-12-06 23:25 |
Yes, it works now :) |
![]() |
|||
Date Modified | Username | Field | Change |
2017-12-06 18:43 | shd01 | New Issue | |
2017-12-06 18:43 | shd01 | Status |
new => assigned |
2017-12-06 18:43 | shd01 | Assigned To |
=> maxime |
2017-12-06 18:43 | shd01 | File Added: og_bug1.png | |
2017-12-06 19:05 | maxime | Note Added: 0003160 | |
2017-12-06 19:05 | maxime | Status |
assigned => confirmed |
2017-12-06 20:06 | maxime | Note Added: 0003161 | |
2017-12-06 20:18 | shd01 | Note Added: 0003162 | |
2017-12-06 23:25 | shd01 | Note Added: 0003163 | |
2017-12-11 10:53 | maxime | Status |
confirmed => resolved |
2017-12-11 10:53 | maxime | Resolution |
open => fixed |
2018-03-10 13:25 | maxime | Status |
resolved => closed |
Copyright © 2000 - 2011 MantisBT Group |