Hello,
I am unable to reproduce both of these problems using the latest version of
sumo
1) with the given command a trip file with correct format is created
2) when passing a randomTrips command that creates trips with invalid
attributes ( departLane=\best\ ) randomTrips aborts with an error from
duarouter

what version of sumo and what operating system are you using?
regards,
Jakob


2018-03-22 23:40 GMT+01:00 Jonathan Harper via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
> I’m currently running a command to generated random trips to routes (using
> DUAROUTER). The command I am using is ‘python randomTrips.py -n
> input_net.net.xml --trip-attributes="departLane=\"best\"
> departSpeed=\"max\" departPos=\"random\""’, however, when appending the
> command ‘-r routes.xml’ DUAROUTER does not run (no success or failure, just
> no notification at all – this is confirmed as the file ‘routes.xml’ has not
> been created).
>
> When running command ‘duarouter -n input_net.net.xml –route-files
> trips.trips.xml -o routes_new.xml’ I receive the error “Error: attribute
> value expected”.
>
> When I remove any of the ‘—trips-attributes’ from the randomTrips.py
> command it is successful.
>
> An example trip in the trips.trips.xml file is as follow: <trip id="0"
> depart="0.00" from="499172074#1" to="496992868" departLane=\best\
> departSpeed=\max\ departPos=\random" --route-file hello.xml/>
>
> Kind regards,
> Jonathan
>
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> _______________________________________________
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to