Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] turnFile2EdgeRelations.py error

Hello,

I tried again (with the new latest development version), now no error appears but the file has no edgeRelation counts, like below. Could you help me with it?

<?xml version="1.0" encoding="UTF-8"?>
<!-- generated on 2020-05-28 22:29:26.750269 by turnFile2EdgeRelations.py v1_6_0+0424-80098c3c20
  options: -t C:\Users\Fay\Desktop\DT\turn-count-data_warm.xml -o C:\Users\Fay\Desktop\DT\new_turncountdata-warm.xml
-->
<edgeRelations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/edgerelations_file.xsd">
    <interval begin="0.00" end="900.0">
    </interval>
</edgeRelations>  

Thank you.
Fay

Στις Τετ, 27 Μαΐ 2020 στις 4:43 μ.μ., ο/η Jakob Erdmann <namdre.sumo@xxxxxxxxx> έγραψε:
Thanks for reporting. Now fixed (https://github.com/eclipse/sumo/issues/7084).

Am Mi., 27. Mai 2020 um 15:35 Uhr schrieb Fay Kostopoulou <faykost@xxxxxxxxx>:
Hello,

I am using the tool turnFile2EdgeRelations.py to convert old files into the new format of version 1.6, running "C:\Program Files (x86)\Eclipse\Sumo\tools\turn-defs>python turnFile2EdgeRelations.py -t C:\Users\Fay\Desktop\DT\turn-count-data_warm.xml -o C:\Users\Fay\Desktop\DT\new_turncountdata-warm.xml'  but it gives me the following error. I have installed the latest development version.

Traceback (most recent call last):
  File "turnFile2EdgeRelations.py", line 64, in <module>
    main(get_options())
  File "turnFile2EdgeRelations.py", line 55, in main
    for fromEdge in interval.fromEdge:
TypeError: 'NoneType' object is not iterable

Could you help me with it?   

Thank you.
Fay
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top