-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Labels
not surePlease provide more informationPlease provide more information
Description
Dear Giorgio,
while giving some love to Terkin, and creating hiveeyes/terkin-datalogger#116, I also wanted to report about another issue which blocked me from upgrading to mocket-3.10.x already.
>>> import mocket
>>> mocket.__version__
'3.10.8'pytest test/test_lorawan.py -k test_uplink_system_temperature --no-covERROR terkin.telemetry.core:core.py:501 [LoRa] Transmission failed
Traceback (most recent call last):
File "/Users/amo/dev/hiveeyes/sources/terkin-datalogger/src/lib/terkin/telemetry/core.py", line 496, in send
outcome = self.lora_adapter.send(payload)
File "/Users/amo/dev/hiveeyes/sources/terkin-datalogger/src/lib/terkin/network/lora.py", line 36, in send
return self.driver.send(payload)
File "/Users/amo/dev/hiveeyes/sources/terkin-datalogger/src/lib/terkin/network/lora.py", line 177, in send
success = self.socket.send(payload)
File "/Users/amo/dev/hiveeyes/sources/terkin-datalogger/.venv310/lib/python3.10/site-packages/mocket/mocket.py", line 399, in send
entry = self.get_entry(data)
File "/Users/amo/dev/hiveeyes/sources/terkin-datalogger/.venv310/lib/python3.10/site-packages/mocket/mocket.py", line 266, in get_entry
return Mocket.get_entry(self._host, self._port, data)
File "/Users/amo/dev/hiveeyes/sources/terkin-datalogger/.venv310/lib/python3.10/site-packages/mocket/mocket.py", line 438, in get_entry
host = host or Mocket._address[0]
AttributeError: type object 'Mocket' has no attribute '_address'It looks like the _address attribute moved to MocketSocket, so it can't be addressed on the Mocket instance anymore. Is there anything you could do about it?
With kind regards,
Andreas.
Metadata
Metadata
Assignees
Labels
not surePlease provide more informationPlease provide more information