Classes derived from openwns.node.NoRadio cannot be instantiated any more
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openWNS Library |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
After the introduction of the abstract "setChannelModel" method to scenarios.
It could be fixed by adding this method to NoRadio (similar to the other methods implemented there):
def setChannelModel
assert False, "This node is not a mobile radio node"
This is the error you get when trying to instantiate the ip.VirtualARP.
PyConfig says:
Traceback (most recent call last):
File "config_ITU.py", line 337, in <module>
varp = VirtualARPServe
File "/home/
method.
TypeError: Abstract method 'scenarios.
INode.setChanne
NOTE: This is an abstract method.
Set the channel model for this node
@type channelModel: ChannelModel
@param antenna: The ChannelModel that should be installed in this node
Changed in openwns-library: | |
status: | New → Fix Committed |
This happens for example in the wimac-tests/ configIMTA system tests.