pysmi
pysmi copied to clipboard
[ pysmi version is 0.3.4] MibCompiler error when node name is 'as',the key world change to 'pysmi_as'
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