The issue causing
"Error: attribute 'ended' is already specified for element 'stop'
has been fixed today.

Am So., 16. Mai 2021 um 21:45 Uhr schrieb Marcelo Andrade Rodrigues D
Almeida <[email protected]>:

> Another problem is that when loading this faulty state, I cannot later
> close the connection (the "Not connected." part of the error) and also
> cannot start another simulation (with the same label) just changing to a
> fixed version of the XML (Connection <SOMETHING> is already active.). That
> is, the connection remains open.
>
> On Sun, May 16, 2021 at 2:33 PM Marcelo Andrade Rodrigues D Almeida <
> [email protected]> wrote:
>
>> Hi everyone
>>
>> I'm having this error
>>
>> "Error: attribute 'ended' is already specified for element 'stop'
>>  In file
>> '/home/marcelo/code/urban-semaphore-optimization/traffic-light-optimization/algorithm/frap_pub/records/FrapWithPlanning/environment/temp/planning_for_step_370__previous_phases_0__initial_step_370__phase_1__4714bf80-41b9-4b84-8ac1-9d7c2279656d_save_state_380.0.sbx'
>>  At line/column 370/128.
>>  Not connected."
>>
>> It is connected to the state saving/loading mechanism. At this point, I
>> do not have a small example. Perhaps the error message is enough to know
>> the source of the problem. As soon I can reproduce it easier I send it here.
>>
>> The resulting save state file has this output (full file attached)
>>
>> "[...]
>>     <vehicle id="-gneE1__gneE2__light.14" type="DEFAULT_VEHTYPE"
>> depart="326.00" departLane="best" departSpeed="max"
>> route="!-gneE1__gneE2__light" distance="310.91 0" speedFactor="0.94"
>> reroute="1" state="131636 326000 1 5.10 0 6.97 379000 0 1" pos="143.17
>> 138.17 12.80" speed="12.80 12.46" angle="270.00" posLat="0.00"
>> waitingTime="100000 1 26000 27000">
>>         <stop lane=":gneJ0_8_0" startPos="9.90" endPos="9.90"
>> duration="10.00" ended="364.00" started="354.00" ended="364.00"/>
>>         <device id="routing_-gneE1__gneE2__light.14" state="0"/>
>>     </vehicle>
>> [...]"
>>
>> version: master branch (I'm using it due to the correction of an
>> unrelated issue)
>>
>>
>> Sincerely,
>>
>> Marcelo d'Almeida
>>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to