-
Notifications
You must be signed in to change notification settings - Fork 41
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
pyasn1gen.py parsing fails #19
Comments
Error reporting in asn1ate is terrible, but the line number usually gives a hint. Near line 218 I found this:
The Development of asn1ate is driven mostly by my own needs, so I might not get to this within any reasonable timeframe. |
thank for answer. GENERAL-PROCEDURE ::= CLASS { &Message, &Reply OPTIONAL, &Error OPTIONAL, &id PrintableString UNIQUE } I think this is a memory pointer. I always thank you. |
I'd would like to support parsing all of ASN.1, and code-generation for elements that have a reasonable representation in pyasn1. But I realistically don't have time to work on more uncommon features unless I happen to need them for my own projects. Patches are of course always welcome! |
Hello, I got the task to build a decoder for PS CDR files according to the 3GPP specs Rel 10 and beyond. Therefore I downloaded from "http://www.3gpp.org/ftp/specs/archive/32_series/32.298/ASN.1/" one of their ASN compilations and tried to compile the files GenericChargingDataTypes.EXP or GPRSChargingDataTypes.EXP using asn1ate.py. It always stops with error, e.g. python pyasn1gen.py "c:\Users\maja\Test Automation\32298-e20 ASN1\GenericChargingDataTypes.EXP" I found in the testdata/public/ a Huawei CS CDR and thought/hoped that you found a way to compile the 3GPP ASN files for pyasn1. Kind regards, |
Hello Maja, Unfortunately I still don't have support for the The more you can tell me about the semantics of The ASN.1 files under testdata/public are just examples I've found published on the web, and things that would be great if asn1ate could handle, e.g. LDAP, Kerberos, etc. I haven't had a chance to implement everything required for them yet. |
Hi Kim, Take a look at the RFC-6025 -- it's about how to convert X.680 syntax into X.208 one. Just my 2c. ;) |
Thanks Ilya! Looks like there's a pretty simple mechanical translation from the fancy syntax. |
Hello,
I am trying to use your library to generate pyasn1 file from this ASN
http://hillfolk.synology.me:5000/fbsharing/F6Y9Fv87
but errors are displayed.
Can I give you help me?
The text was updated successfully, but these errors were encountered: