Следующий код показывает эту ошибку:
msg="Invalid attribute set (MaxSize) on ns3::PointToPointNetDevice", file=../src/core/model/object-factory.cc, line=75
terminate called without an active exception
Command ['/usr/bin/python', 'scratch/python_first_mod2.py', '--SimulatorImplementationType=ns3::VisualSimulatorImpl'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").
Код:
pointToPoint2.SetQueue ("ns3::DropTailQueue","MaxSize", ns.core.StringValue ("50p"))
pointToPoint2.SetDeviceAttribute("DataRate", ns.core.StringValue ("10Mbps"))
pointToPoint2.SetChannelAttribute("Delay", ns.core.StringValue ("2ms"))