[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[sumo-user] New error with ptlines2flows after devel version update
|
Hello,
I'm using ptlines2flows.py to generate my buses.
Last week it was working, and after todays pull from remote (development version) is not working
anymore. I suspect that something has changed in the requirements, but how?
The call:
python $SUMO_TOOLS/ptlines2flows.py -n most.net.xml -b 14400 -e 50400 -p 1200 --random-begin --seed
42 --no-vtypes --ptstops most.busstops.add.xml --ptlines most.buslines.add.xml -o
most.buses.flows.xml
The output:
generating trips...
Warning: skipping line '58' because it has too few stops
done.
running SUMO to determine actual departure times...
done.
creating routes...
Traceback (most recent call last):
File "/home/drone/Applications/SUMO/sumo-git/sumo/tools/ptlines2flows.py", line 300, in <module>
main(get_options())
File "/home/drone/Applications/SUMO/sumo-git/sumo/tools/ptlines2flows.py", line 296, in main
createRoutes(options, trpMap, stopNames)
File "/home/drone/Applications/SUMO/sumo-git/sumo/tools/ptlines2flows.py", line 282, in
createRoutes foutflows.write(' <param key="completeness" value=%s/>\n' %
quoteattr(completeness)) File "/home/drone/Applications/SUMO/sumo-git/sumo/tools/sumolib/xml.py",
line 280, in quoteattr return '"' + xml.sax.saxutils.quoteattr("'" + val)[2:]
TypeError: cannot concatenate 'str' and 'NoneType' objects
Attached you can find the files. The net is zipped.
How should I fix it?
Regards,
Lara
--
Lara CODECA
Postdoc
Tel : 04.93.00.81.51
EURECOM
Campus SophiaTech
http://www.eurecom.fr/
Attachment:
most.busstops.add.xml
Description: XML document
Attachment:
most.buslines.add.xml
Description: XML document
Attachment:
most.net.7z
Description: application/7z-compressed