Giter VIP home page Giter VIP logo

Comments (5)

kimgr avatar kimgr commented on July 24, 2024

Thanks for the report!

The problem is the constraint on:

AddressString ::= OCTET STRING (SIZE (1..maxAddressLength))

We don't yet handle that correctly.

I have a few local branches with constraint implementations, but none of them are really finished/working

I can see if I can come up with an intermediary solution that swallows your constrained OCTET STRING, but I can't promise when.

from asn1ate.

kimgr avatar kimgr commented on July 24, 2024

Actually, which version are you running? When I run asn1ate from trunk, it instead fails on line 1850 in that file:

IMEI ::= TBCD-STRING (SIZE (8))

Are you running the latest released version?

from asn1ate.

kimgr avatar kimgr commented on July 24, 2024

Try the latest master, I just pushed some fixes that at least allow me to parse Huawie.txt.

from asn1ate.

sagarchalise avatar sagarchalise commented on July 24, 2024

Thanks. Actually I am just beginning this and have yet to understand everything. May be I can contribute as well once I understand some aspects. Also, I had an issue with proprietary data where I was getting the following traceback.

File "asn1ate/asn1ate/pyasn1gen.py", line 158, in generate_expr
    generator = self.inline_generators[type(t)]
KeyError: <class 'asn1ate.sema.BitStringType'>

I just appended

BitStringType: self.inline_simple_type,

on line 119 without any understanding.

Furthermore, It would be nice if you could document on how to use the generated file. I have a file that needs decoding, but I am not getting anywhere with generated file as there are no documentation on how to use it to decode.

from asn1ate.

kimgr avatar kimgr commented on July 24, 2024

Duplicate of issue #15, fixed in 861f49d

from asn1ate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.