Hello, this is likely a bug in netconvert as 0-durations should not be created. Please send the (zipped) osm input file to me so I can fix this. A quick solution would be to modify the lines with duration="0" to a non-zero value regards, Jakob
2016-01-06 12:42 GMT+01:00 Marc Rene Zofka <[email protected]>: > Dear SUMO Users, > > i've got a problem with a generated traffic light signal. Trying to open > my generated net, i obtain the following error: > Loading configuration... done. > Loading net-file from 'ka_oststadt.net.xml'... > Error: Duration of phase 0 for tlLogic 'joinedS_13' program '0' is zero. > Error: Duration of phase 2 for tlLogic 'joinedS_13' program '0' is zero. > Error: Duration of phase 4 for tlLogic 'joinedS_13' program '0' is zero. > Error: Duration of phase 6 for tlLogic 'joinedS_13' program '0' is zero. > Error: Duration of phase 8 for tlLogic 'joinedS_13' program '0' is zero. > Error: Duration of phase 10 for tlLogic 'joinedS_13' program '0' is zero. > Error: Duration of phase 12 for tlLogic 'joinedS_13' program '0' is zero. > Error: Duration of phase 14 for tlLogic 'joinedS_13' program '0' is zero. > Error: Duration of phase 16 for tlLogic 'joinedS_13' program '0' is zero. > Error: Duration of phase 18 for tlLogic 'joinedS_13' program '0' is zero. > Warning: Missing green phase in tlLogic 'joinedS_13', program '0' for > tl-index 34 > Loading of net-file failed. > Quitting (on error). > > I use the following netconvert_config.xml to generate the net and a > guessed traffic light synchronisation: > > <?xml version="1.0" encoding="UTF-8"?> > <configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:noNamespaceSchemaLocation=" > http://sumo.dlr.de/xsd/netconvertConfiguration.xsd"> > <input> > <type-files > value="typemaps/osmNetconvertUrbanDe.typ.xml,typemaps/osmNetconvertPedestrians.typ.xml"/> > <osm-files value="map.osm"/> > </input> > <output> > <output-file value="ka_oststadt.net.xml"/> > <output.street-names value="true"/> > <output.original-names value="true"/> > <street-sign-output value="street-signs.xml"/> > </output> > <tls_building> > <tls.discard-simple value="true"/> > <tls.join value="true"/> > <tls.guess-signals value="true"/> > </tls_building> > <ramp_guessing> > <ramps.guess value="true"/> > </ramp_guessing> > <edge_removal> > <remove-edges.isolated value="true"/> > </edge_removal> > <processing> > <no-turnarounds value="true"/> > <geometry.remove value="true"/> > <roundabouts.guess value="true"/> > <junctions.join value="true"/> > <crossings.guess value="true"/> > </processing> > </configuration> > > then, in the generated *.net.xml file i obtain the following lines for the > respective traffic light program: > > <tlLogic id="joinedS_13" type="static" programID="0" offset="0"> > <phase duration="0" > state="rrGGGGGrGGGrrGrrGGrrGGrGGrrrrGGGGrGGGGGGGG"/> > <phase duration="5" > state="rrGGGGGrGGGrrGrrGGrrGGrGGrrrrGGGGrrrrrrrrr"/> > <phase duration="4" > state="rryyyyyryyyrryrryyrryyryyrrrryyyyrrrrrrrrr"/> > <phase duration="0" > state="GGrrrGGrGGGrrGrrGGrrGGrrGGGGGrrrGrGGGGGGGG"/> > <phase duration="5" > state="GGrrrGGrGGGrrGrrGGrrGGrrGGGGGrrrGrrrrrrrrr"/> > <phase duration="4" > state="yyrrryyryyyrryrryyrryyrryyyyyrrryrrrrrrrrr"/> > <phase duration="0" > state="GGrrrGGrGGGrrGrrGGrrGGrGGrrGGrrrGrGGGGGGGG"/> > <phase duration="5" > state="GGrrrGGrGGGrrGrrGGrrGGrGGrrGGrrrGrrrrrrrrr"/> > <phase duration="4" > state="yyrrryyryyyrryrryyrryyryyrryyrrryrrrrrrrrr"/> > <phase duration="0" > state="GGrrrGGrGGGrrGGGGGrrGGrGGrrGGrrrGrGGrrGGGG"/> > <phase duration="5" > state="GGrrrGGrGGGrrGGGGGrrGGrGGrrGGrrrGrrrrrrrrr"/> > <phase duration="4" > state="yyrrryyryyyrryyyyyrryyryyrryyrrryrrrrrrrrr"/> > <phase duration="0" > state="GGrrrGGrGGGrrGrrGGrrGGrGGrrGGrrrGrGGGGGGGG"/> > <phase duration="5" > state="GGrrrGGrGGGrrGrrGGrrGGrGGrrGGrrrGrrrrrrrrr"/> > <phase duration="4" > state="yyrrryyryyyrryrryyrryyryyrryyrrryrrrrrrrrr"/> > <phase duration="0" > state="GGrrrGGrGGGrrGrrGGrrGGrGGrrGGrrrGrGGGGGGGG"/> > <phase duration="5" > state="GGrrrGGrGGGrrGrrGGrrGGrGGrrGGrrrGrrrrrrrrr"/> > <phase duration="4" > state="yyrrryyryyyrryrryyrryyryyrryyrrryrrrrrrrrr"/> > <phase duration="0" > state="GGrrrGGrGGGrrGrrGGGGGGGGGrrGGrrrGGGGGGrrrr"/> > <phase duration="5" > state="GGrrrGGrGGGrrGrrGGGGGGGGGrrGGrrrGGrrrrrrrr"/> > <phase duration="4" > state="yyrrryyryyyrryrryyyyyyyyyrryyrrryyrrrrrrrr"/> > <phase duration="0" > state="GGrrrGGrGGGGGGrrGGrrGGrGGrrGGrrrGrrrGGGGGG"/> > <phase duration="5" > state="GGrrrGGrGGGGGGrrGGrrGGrGGrrGGrrrGrrrrrrrrr"/> > <phase duration="4" > state="yyrrryyryyyyyyrryyrryyryyrryyrrryrrrrrrrrr"/> > <phase duration="0" > state="GGrrrGGrGGGrrGrrGGrrGGrGGrrGGrrrGrGGGGGGGG"/> > <phase duration="5" > state="GGrrrGGrGGGrrGrrGGrrGGrGGrrGGrrrGrrrrrrrrr"/> > <phase duration="4" > state="yyrrryyryyyrryrryyrryyryyrryyrrryrrrrrrrrr"/> > <phase duration="0" > state="GGrrrrrGGGGrrGrrGGrrGGrGGrrGGrrrGrGGGGGGGG"/> > <phase duration="5" > state="GGrrrrrGGGGrrGrrGGrrGGrGGrrGGrrrGrrrrrrrrr"/> > <phase duration="4" > state="yyrrrrryyyyrryrryyrryyryyrryyrrryrrrrrrrrr"/> > </tlLogic> > > Can you give me a hint, how to solve the problem? > > With best regards, > > Marc > > ........................................................ > M.Sc. Marc Zofka > Wissenschaftlicher Mitarbeiter ISPE-/TKS > > FZI Forschungszentrum Informatik > Haid-und-Neu-Str. 10–14 > 76131 Karlsruhe, Germany > Tel.: +49 721 9654-366 > Fax: +49 721 9654-367 > > [email protected] > www.fzi.de > > ......................................................... > FZI Forschungszentrum Informatik am Karlsruher Institut für Technologie > Stiftung des bürgerlichen Rechts > Stiftung Az: 14-0563.1 Regierungspräsidium Karlsruhe > Vorstand: Dipl. Wi.-Ing. Michael Flor, Prof. Dr. Andreas Oberweis, > Prof. Dr. Ralf Reussner, Prof. Dr. J. Marius Zöllner > Vorsitzender des Kuratoriums: Ministerialdirigent Günther Leßnerkraus > ......................................................... > > > ------------------------------------------------------------------------------ > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
