Skip to content

[ pysmi version is 0.3.4] MibCompiler error when node name is 'as',the key world change to 'pysmi_as' #69

@BugMakerLee

Description

@BugMakerLee

my pysmi version is 0.3.4

the error code is in jsondoc.py

method: genCode(self, ast, symbolTable, **kwargs)

for sym in self.symbolTable[self.moduleName[0]]['_symtable_order']: if sym not in self._out: raise error.PySmiCodegenError('No generated code for symbol %s' % sym)
the sym is nodeName that has been trans,but the name in self.out is not
so the error happened

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions