-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WITH COMPONENTS issue: AssertionError or compiler error during asn1 compilation of IEEE1609 #8
Comments
In my recollection, these specs rely heavily on WITH COMPONENTS, which is not perfectly supported within pycrate. This will need some more investigation... |
When trying to reproduce, I get a different error:
That means pycrate is not happy when the WITH COMPONENTS sub-select CHOICE components, which seems legit according to ASN.1. This confirms this overall pattern is not properly implemented in pycrate. The code lies here: pycrate/pycrate_asn1c/asnobj.py Line 4258 in 4d58c2b
This will need a dive into the code for proper support... |
I think I made some changes to the ASN1 and didn't revert it fully, so this is why I got a different error message. I also tried to compile only the 1609.2 part which is the 1609.2.1 built on
|
I don't have time currently to dive in the ASN.1 compiler code, so I'll keep this issue on hold unless someone volunteers to give it a try. |
I'm trying to compile the IEEE 1609.2.1 ASN with pycrate. The ASN files could be downloaded from here:
IEEE Download
The compilation cycle fails with an assertion. Could it be a bug or it is the limitation of pycrate?
The text was updated successfully, but these errors were encountered: