Skip to content
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

Jinja template rendering error when compiling DOCS-IF3-MIB #72

Open
seimnseimn opened this issue Jul 12, 2024 · 3 comments
Open

Jinja template rendering error when compiling DOCS-IF3-MIB #72

seimnseimn opened this issue Jul 12, 2024 · 3 comments

Comments

@seimnseimn
Copy link

I get

error from <pysmi.codegen.pysnmp.PySnmpCodeGen object at 0xffff8fe13110>: Jinja template rendering error: 'collections.OrderedDict object' has no attribute 'default' at MIB DOCS-IF3-MIB

when compiling DOCS-IF3-MIB from http://mibs.cablelabs.com/MIBs/DOCSIS/Archive-PreviousVersions/DOCS-IF3-MIB-2020-06-25.txt

I don't see any serious issues when checking with https://www.simpleweb.org/ietf/mibs/validate/ and using a quite old pysmi (0.3.4) it works also fine.

let me know if you need more info to help me out.

@lextm
Copy link

lextm commented Jul 12, 2024

Related to #68

You can read more from etingof/pysnmp#429

@seimnseimn
Copy link
Author

seimnseimn commented Jul 12, 2024

Thx for the fast reply. I applied #68 but it does not seem to solve my issue. Can you maybe elaborate a bit more?
I would be grateful.

EDIT:
Sorry I was in the wrong repo. I actually use the "lextudio/pysmi" with TAG 1.4.3
This is where I got above error.

@lextm
Copy link

lextm commented Jul 13, 2024

Cannot reproduce what you described. That DOCS-IF3-MIB file compiles without a problem on my side (using mibdump command line).

If you want to open an issue on https://github.com/lextudio/pysnmp/issues, more details will have to be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants