
On Mon, Jan 5, 2009 at 12:50 AM, Juergen Schoenwaelder j.schoenwaelder@jacobs-university.de wrote:
On Sun, Jan 04, 2009 at 06:05:00PM -0800, Bill Fenner wrote:
When running smidump on http://mibbinator.org/mibindex/extracted/BGP4V2-MIB-idr-08.txt and outputting in python format, the node after bgp4V2Groups has ASCII text instead of a Node data structure, causing smiGetNextNode() to crash.
Can you please check the head version of the SVN? It seems to work for me now although I am not quite sure why the change fixes this problem.
I have the same problem still with @12245; same crash in the same location with the same ASCII instead of data structure.
I also noticed that dump-python generates output like
"reference>" : """RFC 4271, Section 4.2, 'BGP Identifier'.""",
and somehow it looks like "reference>" should really be "reference" (and now I notice that the same happens in dump-perl). Shall this be fixed or does this break scripts?
I think it should be fixed, and any scripts should get fixed too, but I don't know how many people are using this output in what way. My script doesn't need to be fixed -- right now it would just ignore "reference>" --
object.reference = nodeinfo.get('reference', '')
Bill