Bug 723 - Python bindings not fully up to date
Python bindings not fully up to date
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: python bindings
ns-3-dev
All All
: P1 blocker
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-16 11:29 UTC by Gustavo J. A. M. Carneiro
Modified: 2009-10-20 15:38 UTC (History)
1 user (show)

See Also:


Attachments
patch (373 bytes, patch)
2009-10-16 13:59 UTC, Gustavo J. A. M. Carneiro
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo J. A. M. Carneiro 2009-10-16 11:29:37 UTC
gjc@dark-tower:flowmon$ python wifi-olsr-flowmon.py 
Traceback (most recent call last):
  File "wifi-olsr-flowmon.py", line 170, in <module>
    sys.exit(main(sys.argv))
  File "wifi-olsr-flowmon.py", line 50, in main
    list_routing = ns3.Ipv4ListRoutingHelper()
TypeError: class 'Ipv4ListRoutingHelper' cannot be constructed (have pure virtual methods but no helper class)

This could (perhaps) be due to need to rescan Python bindings.
Comment 1 Gustavo J. A. M. Carneiro 2009-10-16 12:05:25 UTC
Hmm.. apparently rescanning doesn't solve it.  I have to look into this with more detail...
Comment 2 Gustavo J. A. M. Carneiro 2009-10-16 13:59:12 UTC
Created attachment 632 [details]
patch

It was a trivial bug in pybindgen.  Pybindgen upgrade required.