thingsboard-gateway icon indicating copy to clipboard operation
thingsboard-gateway copied to clipboard

[BUG] AttributeError: 'int' object has no attribute 'getName'

Open jay-kobs opened this issue 1 year ago • 1 comments

Describe the bug As soon as I start the gateway I get the following error:

AttributeError: 'int' object has no attribute 'getName'

Error traceback (If available):

Cannot load GRPC connector! Error in on_connect callback: %s Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/thingsboard_gateway/gateway/tb_client.py", line 236, in _on_connect if result_code.getName().lower() == "connection rate exceeded": AttributeError: 'int' object has no attribute 'getName'

Versions (please complete the following information):

  • OS: Ubuntu 20.04.6 LTS
  • Thingsboard IoT Gateway version 3.5.1
  • Python version 3.8.10

jay-kobs avatar Aug 15 '24 15:08 jay-kobs

@samson0v @imbeacon Any ideas? :)

jay-kobs avatar Aug 19 '24 05:08 jay-kobs

Hi @jay-kobs,

This issue was fixed in 3.6, please update your gateway.

imbeacon avatar Nov 14 '24 05:11 imbeacon