Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] 'Extended retrieval messages' info subscription
  • From: <Maria.Armellini@xxxxxx>
  • Date: Sat, 19 Sep 2020 23:38:54 +0000
  • Accept-language: de-DE, en-US
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • Ironport-phdr: 9a23:zgzPfxWbqGCHi9Utm2NdTOcES0DV8LGtZVwlr6E/grcLSJyIuqrYbBKCt8tkgFKBZ4jH8fUM07OQ7/m/HzRRqszY+DBaKdoQDkFD0Z1X1yUbQ+e9QXXhK/DrayFoVO9jb3RCu0+BDE5OBczlbEfTqHDhpRQbGxH4KBYnbr+tQt2agMu4zf299IPOaAtUmjW9falyLBKrpgnNq8Uam4RvJrszxxfTvndFf+tayX11KVmOmxrw+tq88IRs/ihNuv8t7dJMXbn/c68lUbFWETMqPnwv6sb2rxfDVwyP5nUdUmUSjBVFBhXO4Q/5UJnsrCb0r/Jx1yaGM8L4S7A0Qimi4LxwSBD0kicHNiU2/3/Rh8dtka9UuhOhpxh4w47JfIGYMed1c63Bcd8GQ2dKQ8BcXDFDDIyhdYsCF+oPM/hFoYnhqVUArhW+CgutBOzzxTBFnWX50bE40+k7DQ3KwA4tEtQTu3rUttX1M6ISXPiywafP1zrDdfJW1i3n5IXUaBAhpO+DXbZ0ccrQz0kvFhjIgUiUqYz/JT+ay/oCvnGd4uF9Wu2hl3QppBttojiz2MgskI/Ji5oIxlzZ+ih0wps4KN+2RUJnZdOpDYZduiWEO4Z4XM4uXn1ktiY5x7MJp5K1fCoHxZApyRPcZPGKbYiG7xbsWeuVJzpzmXFreKqnihqv7USs0PDwW8q73VpQsyZInNrBumoT2xHc8sSLV/lw8lm71TqRygzf8PxILEI1mKbBNpIsxKM7mIAJvkTZBCD2nV37jKqRdko55Oel8//nYrD6pp+EMI90lx3+PrwumsOhBeQ4NRADUWad9+qy27Pt/U33TrJJgPMxiKfVrp/XK8saqaOnGQNV04Aj6wqlDzi8ytgXgH0HLEhfdB2akYflI1DOIPbmAvejm1mgjStny+rbMrDiDZjBNGXPnbnicLpn9UJRxxI/zdVF6JJVDrEBLujzWkj0tNHACRE2KRa0w+f9B9lnyo4eQ2ePDbGdMKPWsF+I4OMvLvKRa48RojbxMeUq6OD2gX8jhVAdZbWp3YcQaH2gBfRmPkCZYX31jtccCmcFoBA+Qff0h1KeVT5TZm6yX7ki6T0hD4KmF4jDFciRh+nVxzq+GdhLfW1cIl2HFXbwbIjCXO0DPnG8OMhkx2ghXKKgQskIzxSjsAv7zbtPIu7OvCEV48GwnONp7vHewElhvQd/CN6QhjmA
  • Ironport-sdr: k4/7xwR/bJqiaL3LLetvfzzbXGjTX5ItP4BODsVnd5C/RCCuDNhUCKHeflINtIeX/VHVsLJHFn ET9lpJOiyr4A==
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWjrikY40ps1xD3Eisrx0swCu8kqlwnYqA
  • Thread-topic: [sumo-user] 'Extended retrieval messages' info subscription

Hi Marcelo,

 

I will copy Jakob's answer to someone who had a similar problem a few days ago. Maybe it will help you J

 

“The _socket gets removed in either of two cases:

- after calling traci.close()

- after receiving a FatalTraCIError "connection closed by SUMO" which can happen if the input data to sumo is faulty or sumo has crashed

If it happens to be the latter with the latest sumo release (1.7.0), please try to boil down your code to a simple test case and provide the necessary files for reproducing the crash.”

 

Regards,

Giuliana

 

From: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx] On Behalf Of Marcelo Andrade Rodrigues D Almeida
Sent: Samstag, 19. September 2020 21:10
To: Sumo project User discussions
Subject: [sumo-user] 'Extended retrieval messages' info subscription

 

Hi everyone

 

How can I subscribe to retrieve 'Extended retrieval messages' information (e.g. vehicle leader and secureGap)

 

Everytime I include these I receive the following error message

 

[...]

#"VAR_LEADER",
#"VAR_SECURE_GAP",

[...]

 

"Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/share/sumo/tools/traci/domain.py", line 208, in subscribe
    self._connection._subscribe(self._subscribeID, begin, end, objectID, varIDs)
  File "/usr/share/sumo/tools/traci/connection.py", line 231, in _subscribe
    result = self._sendCmd(cmdID, (begin, end), objID, format, *args)
  File "/usr/share/sumo/tools/traci/connection.py", line 178, in _sendCmd
    return self._sendExact()
  File "/usr/share/sumo/tools/traci/connection.py", line 83, in _sendExact
    self._socket.send(length + self._string)
AttributeError: 'Connection' object has no attribute '_socket'

"

 

Thank you in advance

 

Sincerely,

 

Marcelo d'Almeida


Back to the top