I've run into an issue when loading a MIB file that has unmatched grouping characters inside comments.
The file in particular can be found in the cisco/cisco-mibs repository at /v2/CISCO-QOS-PIB-MIB.my.
On line 234, the qosPIBConformance object is the last thing to get loaded for the module when reading with ModuleStore.loadFromFile().
In the comments that follow, there are 2 opening ( and only 1 closing ). If I edit the MIB file and add an extra ) at the end of the last comment line, the file is read and processed correctly.
and notice that the output stops at qosPIBConformance.
I've created PR #217 which appears to fix this issue in my limited testing of this file (and the other Cisco files I needed), but admittedly did not see any other examples of this occurring for my current needs.
I've run into an issue when loading a MIB file that has unmatched grouping characters inside comments.
The file in particular can be found in the
cisco/cisco-mibs
repository at/v2/CISCO-QOS-PIB-MIB.my
.On line 234, the
qosPIBConformance
object is the last thing to get loaded for the module when reading withModuleStore.loadFromFile()
.In the comments that follow, there are 2 opening
(
and only 1 closing)
. If I edit the MIB file and add an extra)
at the end of the last comment line, the file is read and processed correctly.To reproduce this, you can run the following test
and notice that the output stops at
qosPIBConformance
.I've created PR #217 which appears to fix this issue in my limited testing of this file (and the other Cisco files I needed), but admittedly did not see any other examples of this occurring for my current needs.