Hi Matej,

Am 31.03.2016 um 00:31 schrieb Matěj Kubička:
> Hello Michael,
> as advertised I've used your new interface. I had no issues while
> running it on a small scale, but when ran on a cluster a few of the
> computing nodes crashed giving following  traceback:
> 
> Traceback (most recent call last):
>   ....
>   File "erb.py", line 93, in simulate
>     tad.route.add('probe_route', edges)
>   File "simsuite/sumo/tools/traci/_route.py", line 50, in add
>     self._connection._sendExact()
>   File "simsuite/sumo/tools/traci/connection.py", line 97, in _sendExact
>     err = result.readString()
>   File "simsuite/sumo/tools/traci/storage.py", line 54, in readString
>     return str(self.read("!%ss" % length)[0].decode("latin1"))
>   File "simsuite/sumo/tools/traci/storage.py", line 38, in read
>     return struct.unpack(format, self._content[oldPos:self._pos])
> struct.error: unpack requires a string argument of length 55363200
> 
> If I understand it right Traci server returned malformed/unexpected
> message.

Yes, that is my understanding as well.

> The offending call is tad.route.add(), where tad is Connection()
> instance. I am sorry for not having more information but this bug is
> rare and I do not have the resources (for the moment at least) to re-run
> it all again to tell you what was in the list of edges.

Maybe you can share some of the scenario or code? I probably cannot help
much here otherwise because TraCI bugs are always hard to tackle.

Best regards,
Michael


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to