Hello, This should be working again now. Thanks for the report. regards, Jakob
2018-08-06 18:41 GMT+02:00 Lara CODECA <[email protected]>: > 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/ > > _______________________________________________ > sumo-user mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/sumo-user > >
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user
