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

Can't parse CISCO-STACK-MIB::sysErrDisableTimeoutEnable DEFVAL #35

Closed
ftagada opened this issue Feb 3, 2022 · 4 comments
Closed

Can't parse CISCO-STACK-MIB::sysErrDisableTimeoutEnable DEFVAL #35

ftagada opened this issue Feb 3, 2022 · 4 comments

Comments

@ftagada
Copy link

ftagada commented Feb 3, 2022

The error is:

CISCO-STACK-MIB:1730:20: branch (<ident>)? was accepted but did not progress the lexer at .../CISCO-STACK-MIB:1730:20

The part that fails is: DEFVAL { { } }

The syntax of the object is BITS which means that the expected default is no bit set

@sleepinggenius2
Copy link
Owner

This was already addressed in #17. Please make sure you are using Go modules and properly pulling in github.com/alecthomas/[email protected].

@ftagada
Copy link
Author

ftagada commented Feb 3, 2022

Hi, it seems i'm up-to-date:

$ grep -E '(participle|smi)' go.mod
        github.com/alecthomas/participle v0.7.1 // indirect
        github.com/sleepinggenius2/gosmi v0.4.3

@sleepinggenius2
Copy link
Owner

There's your problem, you're pulling in v0.7.1, not v0.4.1.

@ftagada
Copy link
Author

ftagada commented Feb 4, 2022

Ok, I see. I'm supposed to downgrade then, that was indirect/added automatically.
Weird but it works. Closing, thanks.

@ftagada ftagada closed this as completed Feb 4, 2022
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