Hello everyone,
Am trying to have the network statistics from the Python program
networkstatistics.py,
but, when i give input to the code, i get the following error:
bluemix@blueMix:~/SUMO/KarradaIn_IL$ python
/home/bluemix/SUMO/sumo-0.19.0/tools/assign/networkStatistics.py -t
trips.trips.xml -e
Traceback (most recent call last):
File "/home/bluemix/SUMO/sumo-0.19.0/tools/assign/networkStatistics.py",
line 302, in <module>
getBasicStats(options.verbose, method, vehicles, assignments)
File "/home/bluemix/SUMO/sumo-0.19.0/tools/assign/networkStatistics.py",
line 63, in getBasicStats
avgTravelTime = totalTravelTime/totalVeh
ZeroDivisionError: float division by zero
The trips.trips.xml is in the attachment.
Thanks in advance.
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user