Re: [sumo-user] Problem with xml2protobuf.py

2019-02-06 Thread Harald Schaefer
Hi Tom, the xml2protobuf seems to be designed only for certain protocol outputs generated by sumo. the test case for this scripts uses amitran trajectories. You can not serialize any xml file. Regards Harald Am 06.02.19 um 09:12 schrieb cchad...@cs.ucy.ac.cy: > Hello Harald, > >  Thank you for

Re: [sumo-user] Problem with xml2protobuf.py

2019-02-06 Thread cchadj01
Hello Harald, Thank you for the prompt respose. I tried out your solution. py -2 /c/Program\ Files\ \(x86\)/Eclipse/Sumo/tools/xml/xml2protobuf.py in-test.con.xml -x xsd/connections_file.xsd -o output I get this error: Traceback (most recent call last): File "C:/Program Files

Re: [sumo-user] Problem with xml2protobuf.py

2019-02-05 Thread Harald Schaefer
Hi Tom, your input file(in-test.con.xml) must match the xsd file. It seems that your input file is a connection file and the tag Connections is not found in the xsd file. You might try the schema xsd/connections_file.xsd or use a xml-file which validates against the schema