thingsboard / thingsboard-gateway

Open-source IoT Gateway - integrates devices connected to legacy and third-party systems with ThingsBoard IoT Platform using Modbus, CAN bus, BACnet, BLE, OPC-UA, MQTT, ODBC and REST protocols
https://thingsboard.io/docs/iot-gateway/what-is-iot-gateway/
Apache License 2.0
1.72k stars 827 forks source link

[HELP] run generate_deb_package.sh error #1105

Closed ryan-2048 closed 1 year ago

ryan-2048 commented 1 year ago

Describe the issue

generate_deb_package.sh error, sudo python3 ./thingsboard_gateway/tb_gateway.py is normal,I've tried many times.

Thanks

Error traceback (If it was raised):

thingsboard_gateway@DESKTOP-DTJC5LC:~/thingsboard-gateway$ sudo python3 ./thingsboard_gateway/tb_gateway.py
[sudo] password for thingsboard_gateway:
""2023-04-27 11:29:35" - |INFO| - [tb_gateway_service.py] - tb_gateway_service - __init__ - 180 - Gateway starting..."
""2023-04-27 11:29:35" - |INFO| - [tb_gateway_service.py] - tb_gateway_service - __init__ - 185 - ThingsBoard IoT gateway version: 3.2"
""2023-04-27 11:29:35" - |INFO| - [tb_gateway_mqtt.py] - tb_gateway_mqtt - gw_subscribe_to_attribute - 185 - Subscribed to *|* with id 1 for device *"
""2023-04-27 11:29:35" - |ERROR| - [tb_gateway_service.py] - tb_gateway_service - _load_connectors - 661 - Connectors - not found! Check your configuration!"
""2023-04-27 11:29:35" - |INFO| - [tb_gateway_service.py] - tb_gateway_service - _load_connectors - 663 - Remote configuration is enabled forcibly!"
""2023-04-27 11:29:35" - |INFO| - [tb_gateway_service.py] - tb_gateway_service - __init__ - 300 - Gateway started."
""2023-04-27 11:29:35" - |ERROR| - [tb_device_mqtt.py] - tb_device_mqtt - _on_connect - 223 - connection FAIL with error 5 not authorised"
""2023-04-27 11:29:36" - |INFO| - [tb_updater.py] - tb_updater - check_for_new_version - 86 - v3.2"
""2023-04-27 11:29:36" - |INFO| - [tb_updater.py] - tb_updater - check_for_new_version - 88 -

[===UPDATE===]

 New version v3.2 is available!

[===UPDATE===]
"
^C""2023-04-27 11:29:41" - |INFO| - [tb_gateway_service.py] - tb_gateway_service - __stop_gateway - 427 - Stopping..."
""2023-04-27 11:29:41" - |INFO| - [tb_gateway_service.py] - tb_gateway_service - __stop_gateway - 436 - The gateway has been stopped."
""2023-04-27 11:29:41" - |INFO| - [tb_gateway_mqtt.py] - tb_gateway_mqtt - gw_unsubscribe - 193 - Unsubscribed from *|*, subscription id '*'"
thingsboard_gateway@DESKTOP-DTJC5LC:~/thingsboard-gateway$
thingsboard_gateway@DESKTOP-DTJC5LC:~/thingsboard-gateway$
thingsboard_gateway@DESKTOP-DTJC5LC:~/thingsboard-gateway$
thingsboard_gateway@DESKTOP-DTJC5LC:~/thingsboard-gateway$
thingsboard_gateway@DESKTOP-DTJC5LC:~/thingsboard-gateway$
thingsboard_gateway@DESKTOP-DTJC5LC:~/thingsboard-gateway$ sudo sh generate_deb_package.sh 3.2
Installing libraries for building deb package.
Reading package lists... Done
Building dependency tree
Reading state information... Done
fakeroot is already the newest version (1.24-1).
dh-python is already the newest version (4.20191017ubuntu7).
python-all is already the newest version (2.7.17-2ubuntu4).
python3-stdeb is already the newest version (0.8.5-3).
zstd is already the newest version (1.4.4+dfsg-3ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Building DEB package
Creating sources for DEB package...
running bdist_deb
running sdist_dsc
running egg_info
writing thingsboard_gateway.egg-info/PKG-INFO
writing dependency_links to thingsboard_gateway.egg-info/dependency_links.txt
writing entry points to thingsboard_gateway.egg-info/entry_points.txt
writing requirements to thingsboard_gateway.egg-info/requires.txt
writing top-level names to thingsboard_gateway.egg-info/top_level.txt
reading manifest file 'thingsboard_gateway.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'thingsboard_gateway.egg-info/SOURCES.txt'
running sdist
running check
creating thingsboard-gateway-3.2
creating thingsboard-gateway-3.2/thingsboard_gateway
creating thingsboard-gateway-3.2/thingsboard_gateway.egg-info
creating thingsboard-gateway-3.2/thingsboard_gateway/config
creating thingsboard-gateway-3.2/thingsboard_gateway/config/statistics
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet/bacnet_utilities
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/ble
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/can
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/ftp
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/modbus
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/mqtt
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/ocpp
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/odbc
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua_asyncio
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/request
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/rest
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/snmp
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/socket
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/xmpp
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/bacnet
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/ble
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/can
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/ftp
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/modbus
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/mqtt
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/ocpp
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/odbc
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/opcua
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/opcua_asyncio
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/request
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/rest
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/serial
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/snmp
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/socket
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/xmpp
creating thingsboard-gateway-3.2/thingsboard_gateway/gateway
creating thingsboard-gateway-3.2/thingsboard_gateway/gateway/grpc_service
creating thingsboard-gateway-3.2/thingsboard_gateway/gateway/proto
creating thingsboard-gateway-3.2/thingsboard_gateway/gateway/shell
creating thingsboard-gateway-3.2/thingsboard_gateway/storage
creating thingsboard-gateway-3.2/thingsboard_gateway/storage/file
creating thingsboard-gateway-3.2/thingsboard_gateway/storage/memory
creating thingsboard-gateway-3.2/thingsboard_gateway/storage/sqlite
creating thingsboard-gateway-3.2/thingsboard_gateway/tb_utility
copying files to thingsboard-gateway-3.2...
copying LICENSE -> thingsboard-gateway-3.2
copying MANIFEST.in -> thingsboard-gateway-3.2
copying README.md -> thingsboard-gateway-3.2
copying setup.py -> thingsboard-gateway-3.2
copying thingsboard_gateway/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway
copying thingsboard_gateway/tb_gateway.py -> thingsboard-gateway-3.2/thingsboard_gateway
copying thingsboard_gateway.egg-info/PKG-INFO -> thingsboard-gateway-3.2/thingsboard_gateway.egg-info
copying thingsboard_gateway.egg-info/SOURCES.txt -> thingsboard-gateway-3.2/thingsboard_gateway.egg-info
copying thingsboard_gateway.egg-info/dependency_links.txt -> thingsboard-gateway-3.2/thingsboard_gateway.egg-info
copying thingsboard_gateway.egg-info/entry_points.txt -> thingsboard-gateway-3.2/thingsboard_gateway.egg-info
copying thingsboard_gateway.egg-info/requires.txt -> thingsboard-gateway-3.2/thingsboard_gateway.egg-info
copying thingsboard_gateway.egg-info/top_level.txt -> thingsboard-gateway-3.2/thingsboard_gateway.egg-info
copying thingsboard_gateway/config/bacnet.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/ble.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/can.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/connected_devices.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/custom_serial.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/ftp.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/grpc_connector_1.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/list.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/logs.conf -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/modbus.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/modbus_serial.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/mqtt.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/ocpp.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/odbc.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/opcua.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/request.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/rest.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/snmp.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/socket.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/tb_gateway.yaml -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/xmpp.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/statistics/statistics_linux.json -> thingsboard-gateway-3.2/thingsboard_gateway/config/statistics
copying thingsboard_gateway/config/statistics/statistics_macos.json -> thingsboard-gateway-3.2/thingsboard_gateway/config/statistics
copying thingsboard_gateway/config/statistics/statistics_windows.json -> thingsboard-gateway-3.2/thingsboard_gateway/config/statistics
copying thingsboard_gateway/connectors/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors
copying thingsboard_gateway/connectors/connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors
copying thingsboard_gateway/connectors/converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors
copying thingsboard_gateway/connectors/bacnet/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet
copying thingsboard_gateway/connectors/bacnet/bacnet_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet
copying thingsboard_gateway/connectors/bacnet/bacnet_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet
copying thingsboard_gateway/connectors/bacnet/bacnet_downlink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet
copying thingsboard_gateway/connectors/bacnet/bacnet_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet
copying thingsboard_gateway/connectors/bacnet/bacnet_utilities/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet/bacnet_utilities
copying thingsboard_gateway/connectors/bacnet/bacnet_utilities/tb_gateway_bacnet_application.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet/bacnet_utilities
copying thingsboard_gateway/connectors/bacnet/bacnet_utilities/tb_gateway_bacnet_device.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet/bacnet_utilities
copying thingsboard_gateway/connectors/ble/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/ble_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/ble_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/bytes_ble_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/device.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/error_handler.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/hex_bytes_ble_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/can/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/can
copying thingsboard_gateway/connectors/can/bytes_can_downlink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/can
copying thingsboard_gateway/connectors/can/bytes_can_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/can
copying thingsboard_gateway/connectors/can/can_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/can
copying thingsboard_gateway/connectors/can/can_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/can
copying thingsboard_gateway/connectors/ftp/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ftp
copying thingsboard_gateway/connectors/ftp/file.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ftp
copying thingsboard_gateway/connectors/ftp/ftp_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ftp
copying thingsboard_gateway/connectors/ftp/ftp_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ftp
copying thingsboard_gateway/connectors/ftp/ftp_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ftp
copying thingsboard_gateway/connectors/ftp/path.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ftp
copying thingsboard_gateway/connectors/modbus/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/backward_compability_adapter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/bytes_modbus_downlink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/bytes_modbus_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/constants.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/modbus_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/modbus_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/slave.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/mqtt/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/mqtt
copying thingsboard_gateway/connectors/mqtt/bytes_mqtt_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/mqtt
copying thingsboard_gateway/connectors/mqtt/json_mqtt_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/mqtt
copying thingsboard_gateway/connectors/mqtt/mqtt_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/mqtt
copying thingsboard_gateway/connectors/mqtt/mqtt_decorators.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/mqtt
copying thingsboard_gateway/connectors/mqtt/mqtt_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/mqtt
copying thingsboard_gateway/connectors/ocpp/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ocpp
copying thingsboard_gateway/connectors/ocpp/charge_point.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ocpp
copying thingsboard_gateway/connectors/ocpp/ocpp_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ocpp
copying thingsboard_gateway/connectors/ocpp/ocpp_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ocpp
copying thingsboard_gateway/connectors/ocpp/ocpp_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ocpp
copying thingsboard_gateway/connectors/odbc/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/odbc
copying thingsboard_gateway/connectors/odbc/odbc_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/odbc
copying thingsboard_gateway/connectors/odbc/odbc_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/odbc
copying thingsboard_gateway/connectors/odbc/odbc_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/odbc
copying thingsboard_gateway/connectors/opcua/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua
copying thingsboard_gateway/connectors/opcua/opcua_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua
copying thingsboard_gateway/connectors/opcua/opcua_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua
copying thingsboard_gateway/connectors/opcua/opcua_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua
copying thingsboard_gateway/connectors/opcua_asyncio/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua_asyncio
copying thingsboard_gateway/connectors/opcua_asyncio/device.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua_asyncio
copying thingsboard_gateway/connectors/opcua_asyncio/opcua_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua_asyncio
copying thingsboard_gateway/connectors/opcua_asyncio/opcua_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua_asyncio
copying thingsboard_gateway/connectors/opcua_asyncio/opcua_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua_asyncio
copying thingsboard_gateway/connectors/request/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/request
copying thingsboard_gateway/connectors/request/json_request_downlink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/request
copying thingsboard_gateway/connectors/request/json_request_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/request
copying thingsboard_gateway/connectors/request/request_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/request
copying thingsboard_gateway/connectors/request/request_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/request
copying thingsboard_gateway/connectors/request/request_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/request
copying thingsboard_gateway/connectors/rest/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/rest
copying thingsboard_gateway/connectors/rest/json_rest_downlink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/rest
copying thingsboard_gateway/connectors/rest/json_rest_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/rest
copying thingsboard_gateway/connectors/rest/rest_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/rest
copying thingsboard_gateway/connectors/rest/rest_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/rest
copying thingsboard_gateway/connectors/rest/ssl_generator.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/rest
copying thingsboard_gateway/connectors/snmp/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/snmp
copying thingsboard_gateway/connectors/snmp/snmp_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/snmp
copying thingsboard_gateway/connectors/snmp/snmp_downlink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/snmp
copying thingsboard_gateway/connectors/snmp/snmp_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/snmp
copying thingsboard_gateway/connectors/socket/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/socket
copying thingsboard_gateway/connectors/socket/bytes_socket_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/socket
copying thingsboard_gateway/connectors/socket/socket_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/socket
copying thingsboard_gateway/connectors/socket/socket_decorators.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/socket
copying thingsboard_gateway/connectors/socket/socket_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/socket
copying thingsboard_gateway/connectors/xmpp/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/xmpp
copying thingsboard_gateway/connectors/xmpp/xmpp_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/xmpp
copying thingsboard_gateway/connectors/xmpp/xmpp_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/xmpp
copying thingsboard_gateway/connectors/xmpp/xmpp_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/xmpp
copying thingsboard_gateway/extensions/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions
copying thingsboard_gateway/extensions/bacnet/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/bacnet
copying thingsboard_gateway/extensions/ble/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/ble
copying thingsboard_gateway/extensions/can/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/can
copying thingsboard_gateway/extensions/ftp/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/ftp
copying thingsboard_gateway/extensions/modbus/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/modbus
copying thingsboard_gateway/extensions/mqtt/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/mqtt
copying thingsboard_gateway/extensions/mqtt/custom_mqtt_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/mqtt
copying thingsboard_gateway/extensions/ocpp/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/ocpp
copying thingsboard_gateway/extensions/odbc/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/odbc
copying thingsboard_gateway/extensions/opcua/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/opcua
copying thingsboard_gateway/extensions/opcua_asyncio/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/opcua_asyncio
copying thingsboard_gateway/extensions/request/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/request
copying thingsboard_gateway/extensions/request/custom_request_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/request
copying thingsboard_gateway/extensions/rest/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/rest
copying thingsboard_gateway/extensions/serial/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/serial
copying thingsboard_gateway/extensions/serial/custom_serial_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/serial
copying thingsboard_gateway/extensions/serial/custom_serial_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/serial
copying thingsboard_gateway/extensions/snmp/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/snmp
copying thingsboard_gateway/extensions/socket/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/socket
copying thingsboard_gateway/extensions/xmpp/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/xmpp
copying thingsboard_gateway/gateway/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/configuration_wizard.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/constant_enums.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/constants.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/device_filter.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/duplicate_detector.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/hot_reloader.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/statistics_service.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/tb_client.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/tb_gateway_service.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/grpc_service/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/grpc_service
copying thingsboard_gateway/gateway/grpc_service/grpc_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/grpc_service
copying thingsboard_gateway/gateway/grpc_service/grpc_downlink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/grpc_service
copying thingsboard_gateway/gateway/grpc_service/grpc_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/grpc_service
copying thingsboard_gateway/gateway/grpc_service/tb_grpc_manager.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/grpc_service
copying thingsboard_gateway/gateway/grpc_service/tb_grpc_server.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/grpc_service
copying thingsboard_gateway/gateway/proto/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/proto
copying thingsboard_gateway/gateway/proto/messages_pb2.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/proto
copying thingsboard_gateway/gateway/proto/messages_pb2_grpc.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/proto
copying thingsboard_gateway/gateway/shell/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/shell
copying thingsboard_gateway/gateway/shell/proxy.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/shell
copying thingsboard_gateway/gateway/shell/shell.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/shell
copying thingsboard_gateway/storage/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage
copying thingsboard_gateway/storage/event_storage.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage
copying thingsboard_gateway/storage/file/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/event_storage_files.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/event_storage_reader.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/event_storage_reader_pointer.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/event_storage_writer.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/file_event_storage.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/file_event_storage_settings.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/memory/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/memory
copying thingsboard_gateway/storage/memory/memory_event_storage.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/memory
copying thingsboard_gateway/storage/sqlite/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/database.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/database_action_type.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/database_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/database_request.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/sqlite_event_storage.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/storage_settings.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/tb_utility/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/tb_gateway_remote_configurator.py -> thingsboard-gateway-3.2/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/tb_loader.py -> thingsboard-gateway-3.2/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/tb_logger.py -> thingsboard-gateway-3.2/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/tb_remote_shell.py -> thingsboard-gateway-3.2/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/tb_updater.py -> thingsboard-gateway-3.2/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/tb_utility.py -> thingsboard-gateway-3.2/thingsboard_gateway/tb_utility
Writing thingsboard-gateway-3.2/setup.cfg
Creating tar archive
removing 'thingsboard-gateway-3.2' (and everything under it)
CALLING dpkg-source -b thingsboard-gateway-3.2 thingsboard-gateway_3.2.orig.tar.gz (in dir deb_dist)
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building thingsboard-gateway using existing ./thingsboard-gateway_3.2.orig.tar.gz
dpkg-source: info: building thingsboard-gateway in thingsboard-gateway_3.2-1.debian.tar.xz
dpkg-source: info: building thingsboard-gateway in thingsboard-gateway_3.2-1.dsc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: info: source package thingsboard-gateway
dpkg-buildpackage: info: source version 3.2-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by ThingsBoard <info@thingsboard.io>
 dpkg-source --before-build .
 fakeroot debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:217: python3.8 setup.py clean
tb-mqtt-client library not found - installing...
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7269d2f730>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7269d2f6a0>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7269d2f5b0>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7269d2f4c0>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7269d2f3d0>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
ERROR: Could not find a version that satisfies the requirement tb-mqtt-client (from versions: none)
ERROR: No matching distribution found for tb-mqtt-client
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fd3b2b2a6d0>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fd3b2b2a5b0>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fd3b2b2a4c0>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fd3b2b2a3d0>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fd3b2b2a2e0>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
ERROR: Could not find a version that satisfies the requirement tb-mqtt-client (from versions: none)
ERROR: No matching distribution found for tb-mqtt-client
Traceback (most recent call last):
  File "/home/thingsboard_gateway/thingsboard-gateway/deb_dist/thingsboard-gateway-3.2/thingsboard_gateway/gateway/tb_client.py", line 22, in <module>
    from tb_gateway_mqtt import TBGatewayMqttClient
ModuleNotFoundError: No module named 'tb_gateway_mqtt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/thingsboard_gateway/thingsboard-gateway/deb_dist/thingsboard-gateway-3.2/thingsboard_gateway/tb_utility/tb_utility.py", line 145, in install_package
    result = check_call([executable, "-m", "pip", "install", package, "--upgrade", "--user"])
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3.8', '-m', 'pip', 'install', 'tb-mqtt-client', '--upgrade', '--user']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 20, in <module>
    from thingsboard_gateway.gateway.constants import VERSION
  File "/home/thingsboard_gateway/thingsboard-gateway/deb_dist/thingsboard-gateway-3.2/thingsboard_gateway/__init__.py", line 15, in <module>
    from thingsboard_gateway.gateway.tb_gateway_service import TBGatewayService
  File "/home/thingsboard_gateway/thingsboard-gateway/deb_dist/thingsboard-gateway-3.2/thingsboard_gateway/gateway/tb_gateway_service.py", line 42, in <module>
    from thingsboard_gateway.gateway.tb_client import TBClient
  File "/home/thingsboard_gateway/thingsboard-gateway/deb_dist/thingsboard-gateway-3.2/thingsboard_gateway/gateway/tb_client.py", line 25, in <module>
    TBUtility.install_package('tb-mqtt-client')
  File "/home/thingsboard_gateway/thingsboard-gateway/deb_dist/thingsboard-gateway-3.2/thingsboard_gateway/tb_utility/tb_utility.py", line 147, in install_package
    result = check_call([executable, "-m", "pip", "install", package, "--upgrade"])
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3.8', '-m', 'pip', 'install', 'tb-mqtt-client', '--upgrade']' returned non-zero exit status 1.
E: pybuild pybuild:341: clean: plugin distutils failed with: exit code=1: python3.8 setup.py clean
dh_auto_clean: error: pybuild --clean -i python{version} -p 3.8 returned exit code 13
make: *** [debian/rules:7: clean] Error 13
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2
Traceback (most recent call last):
  File "setup.py", line 27, in <module>
    setup(
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 144, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/stdeb/command/bdist_deb.py", line 22, in run
    self.run_command('sdist_dsc')
  File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/stdeb/command/sdist_dsc.py", line 135, in run
    build_dsc(debinfo,
  File "/usr/lib/python3/dist-packages/stdeb/util.py", line 1397, in build_dsc
    dpkg_genchanges(cwd=fullpath_repackaged_dirname)
  File "/usr/lib/python3/dist-packages/stdeb/util.py", line 538, in dpkg_genchanges
    process_command(args,cwd=cwd)
  File "/usr/lib/python3/dist-packages/stdeb/util.py", line 183, in process_command
    check_call(args, cwd=cwd)
  File "/usr/lib/python3/dist-packages/stdeb/util.py", line 46, in check_call
    raise CalledProcessError(retcode)
stdeb.util.CalledProcessError: 2
Adding the files, scripts and permissions in the package
cp: cannot create directory 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway': No such file or directory
cp: cannot create directory 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway': No such file or directory
cp: cannot create directory 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway': No such file or directory
chown: cannot access 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway/': No such file or directory
chown: cannot access 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway/var/': No such file or directory
chmod: cannot access 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway/DEBIAN/preinst': No such file or directory
chmod: cannot access 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway/DEBIAN/postinst': No such file or directory
chown: cannot access 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway/DEBIAN/preinst': No such file or directory
sh: 1: cannot create deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway/DEBIAN/control: Directory nonexistent
dpkg-deb: error: failed to open package info file 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway//DEBIAN/control' for reading: No such file or directory
ar: ../deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway.deb: No such file or directory
zstd: can't stat *.zst : No such file or directory -- ignored
rm: cannot remove '*.zst': No such file or directory
xz: *.tar: No such file or directory
ar: creating ../python3-thingsboard-gateway.deb
ar: debian-binary: No such file or directory
thingsboard_gateway@DESKTOP-DTJC5LC:~/thingsboard-gateway$ curl www.google.com
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="http://www.google.com.hk/url?sa=p&amp;hl=zh-CN&amp;pref=hkredirect&amp;pval=yes&amp;q=http://www.google.com.hk/&amp;ust=1682562293683807&amp;usg=AOvVaw3dNgV5wLKUdcVaBCuFPrQr">here</A>.
</BODY></HTML>
thingsboard_gateway@DESKTOP-DTJC5LC:~/thingsboard-gateway$
thingsboard_gateway@DESKTOP-DTJC5LC:~/thingsboard-gateway$
thingsboard_gateway@DESKTOP-DTJC5LC:~/thingsboard-gateway$

Versions (please complete the following information):

samson0v commented 1 year ago

Hi @Kevin-ox, thanks for your interest in ThingsBoard IoT Gateway! You have to clone the repo using the following command: git clone --recurse-submodules https://github.com/thingsboard/thingsboard-gateway.git

Also, you can read about source installation in the official documentation.

ryan-2048 commented 1 year ago

Yes, the operation is fine, but the packaging is wrong.

tb-mqtt-client library not found - installing...
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f87df786220>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f87df786340>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f87df786670>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f87df7867c0>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f87df786f10>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
ERROR: Could not find a version that satisfies the requirement tb-mqtt-client (from versions: none)
ERROR: No matching distribution found for tb-mqtt-client
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7cd74d7d90>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7cd74d7a90>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7cd74d7550>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7cd74d7190>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7cd74d7880>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
ERROR: Could not find a version that satisfies the requirement tb-mqtt-client (from versions: none)
ERROR: No matching distribution found for tb-mqtt-client
Traceback (most recent call last):
  File "/home/thingsboard_gateway/project/thingsboard-gateway/deb_dist/thingsboard-gateway-3.2/thingsboard_gateway/gateway/tb_client.py", line 28, in <module>
    from tb_gateway_mqtt import TBGatewayMqttClient, TBDeviceMqttClient
ModuleNotFoundError: No module named 'tb_gateway_mqtt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/thingsboard_gateway/project/thingsboard-gateway/deb_dist/thingsboard-gateway-3.2/thingsboard_gateway/tb_utility/tb_utility.py", line 146, in install_package
    result = check_call([executable, "-m", "pip", "install", package, "--upgrade", "--user"])
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3.8', '-m', 'pip', 'install', 'tb-mqtt-client', '--upgrade', '--user']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 20, in <module>
    from thingsboard_gateway.gateway.constants import VERSION
  File "/home/thingsboard_gateway/project/thingsboard-gateway/deb_dist/thingsboard-gateway-3.2/thingsboard_gateway/__init__.py", line 15, in <module>
    from thingsboard_gateway.gateway.tb_gateway_service import TBGatewayService
  File "/home/thingsboard_gateway/project/thingsboard-gateway/deb_dist/thingsboard-gateway-3.2/thingsboard_gateway/gateway/tb_gateway_service.py", line 42, in <module>
    from thingsboard_gateway.gateway.tb_client import TBClient
  File "/home/thingsboard_gateway/project/thingsboard-gateway/deb_dist/thingsboard-gateway-3.2/thingsboard_gateway/gateway/tb_client.py", line 31, in <module>
    TBUtility.install_package('tb-mqtt-client')
  File "/home/thingsboard_gateway/project/thingsboard-gateway/deb_dist/thingsboard-gateway-3.2/thingsboard_gateway/tb_utility/tb_utility.py", line 148, in install_package
    result = check_call([executable, "-m", "pip", "install", package, "--upgrade"])
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3.8', '-m', 'pip', 'install', 'tb-mqtt-client', '--upgrade']' returned non-zero exit status 1.
E: pybuild pybuild:341: clean: plugin distutils failed with: exit code=1: python3.8 setup.py clean 
dh_auto_clean: error: pybuild --clean -i python{version} -p 3.8 returned exit code 13
make: *** [debian/rules:7: clean] Error 13
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2
Traceback (most recent call last):
  File "setup.py", line 27, in <module>
    setup(
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 144, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/stdeb/command/bdist_deb.py", line 22, in run
    self.run_command('sdist_dsc')
  File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/stdeb/command/sdist_dsc.py", line 135, in run
    build_dsc(debinfo,
  File "/usr/lib/python3/dist-packages/stdeb/util.py", line 1397, in build_dsc
    dpkg_genchanges(cwd=fullpath_repackaged_dirname)
  File "/usr/lib/python3/dist-packages/stdeb/util.py", line 538, in dpkg_genchanges
    process_command(args,cwd=cwd)
  File "/usr/lib/python3/dist-packages/stdeb/util.py", line 183, in process_command
    check_call(args, cwd=cwd)
  File "/usr/lib/python3/dist-packages/stdeb/util.py", line 46, in check_call
    raise CalledProcessError(retcode)
stdeb.util.CalledProcessError: 2
Adding the files, scripts and permissions in the package
cp: cannot create directory 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway': No such file or directory
cp: cannot create directory 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway': No such file or directory
cp: cannot create directory 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway': No such file or directory
chown: cannot access 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway/': No such file or directory
chown: cannot access 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway/var/': No such file or directory
chmod: cannot access 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway/DEBIAN/preinst': No such file or directory
chmod: cannot access 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway/DEBIAN/postinst': No such file or directory
chown: cannot access 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway/DEBIAN/preinst': No such file or directory
sh: 1: cannot create deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway/DEBIAN/control: Directory nonexistent
dpkg-deb: error: failed to open package info file 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway//DEBIAN/control' for reading: No such file or directory
ar: ../deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway.deb: No such file or directory
zstd: can't stat *.zst : No such file or directory -- ignored 
rm: cannot remove '*.zst': No such file or directory
xz: *.tar: No such file or directory
ar: creating ../python3-thingsboard-gateway.deb
ar: debian-binary: No such file or directory
samson0v commented 1 year ago

@Kevin-ox, try to set the Python path: PYTHONPATH=. (in project root folder)

ryan-2048 commented 1 year ago

I tried PYTHONPATH=. And export PYTHONPATH=. The problem still exists, docker packaging is also normal Only generate_deb_package.sh is abnormal

NikolinaKote commented 1 year ago

Hello, i am facing the same issue, @Kevin-ox did you manage to find a solution?

imbeacon commented 1 year ago

Hi, Please try to run the following command: git pull origin master --recurse-submodules And pip install tb-mqtt-client

ryan-2048 commented 1 year ago

The problem still exists.

Cloning into 'thingsboard-gateway'...
remote: Enumerating objects: 12907, done.
remote: Counting objects: 100% (173/173), done.
remote: Compressing objects: 100% (74/74), done.
remote: Total 12907 (delta 104), reused 147 (delta 99), pack-reused 12734
Receiving objects: 100% (12907/12907), 10.75 MiB | 11.01 MiB/s, done.
Resolving deltas: 100% (8666/8666), done.
Submodule 'tb_mqtt_client' (https://github.com/thingsboard/thingsboard-python-client-sdk.git) registered for path 'tb_mqtt_client'
Cloning into '/home/thingsboard_gateway/thingsboard-gateway/tb_mqtt_client'...
remote: Enumerating objects: 898, done.        
remote: Counting objects: 100% (280/280), done.        
remote: Compressing objects: 100% (84/84), done.        
remote: Total 898 (delta 223), reused 229 (delta 196), pack-reused 618        
Receiving objects: 100% (898/898), 192.13 KiB | 690.00 KiB/s, done.
Resolving deltas: 100% (497/497), done.
Submodule path 'tb_mqtt_client': checked out '8dfcac37b7fb9b6054eec69b8c1e1a0a775ae8e8'
thingsboard_gateway@DESKTOP-KOJPFOG:~$ 
thingsboard_gateway@DESKTOP-KOJPFOG:~$ ls
ligoothings  project  thingsboard-gateway
thingsboard_gateway@DESKTOP-KOJPFOG:~$ 
thingsboard_gateway@DESKTOP-KOJPFOG:~$ 
thingsboard_gateway@DESKTOP-KOJPFOG:~$ cd thingsboard-gateway/
thingsboard_gateway@DESKTOP-KOJPFOG:~/thingsboard-gateway$ ls
LICENSE  MANIFEST.in  README.md  docker  for_build  generate_deb_package.sh  make_packages.sh  requirements.txt  setup.py  tb_mqtt_client  tests  thingsboard-gateway.spec  thingsboard_gateway
thingsboard_gateway@DESKTOP-KOJPFOG:~/thingsboard-gateway$ 
thingsboard_gateway@DESKTOP-KOJPFOG:~/thingsboard-gateway$ 
thingsboard_gateway@DESKTOP-KOJPFOG:~/thingsboard-gateway$ sudo python3 setup.py install
[sudo] password for thingsboard_gateway: 
running install
running bdist_egg
running egg_info
creating thingsboard_gateway.egg-info
writing thingsboard_gateway.egg-info/PKG-INFO
writing dependency_links to thingsboard_gateway.egg-info/dependency_links.txt
writing entry points to thingsboard_gateway.egg-info/entry_points.txt
writing requirements to thingsboard_gateway.egg-info/requires.txt
writing top-level names to thingsboard_gateway.egg-info/top_level.txt
writing manifest file 'thingsboard_gateway.egg-info/SOURCES.txt'
reading manifest file 'thingsboard_gateway.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'thingsboard_gateway.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/thingsboard_gateway
copying thingsboard_gateway/__init__.py -> build/lib/thingsboard_gateway
copying thingsboard_gateway/tb_gateway.py -> build/lib/thingsboard_gateway
creating build/lib/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/constants.py -> build/lib/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/__init__.py -> build/lib/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/configuration_wizard.py -> build/lib/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/constant_enums.py -> build/lib/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/tb_client.py -> build/lib/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/tb_gateway_service.py -> build/lib/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/device_filter.py -> build/lib/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/duplicate_detector.py -> build/lib/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/hot_reloader.py -> build/lib/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/statistics_service.py -> build/lib/thingsboard_gateway/gateway
creating build/lib/thingsboard_gateway/gateway/proto
copying thingsboard_gateway/gateway/proto/messages_pb2_grpc.py -> build/lib/thingsboard_gateway/gateway/proto
copying thingsboard_gateway/gateway/proto/messages_pb2.py -> build/lib/thingsboard_gateway/gateway/proto
copying thingsboard_gateway/gateway/proto/__init__.py -> build/lib/thingsboard_gateway/gateway/proto
creating build/lib/thingsboard_gateway/gateway/grpc_service
copying thingsboard_gateway/gateway/grpc_service/__init__.py -> build/lib/thingsboard_gateway/gateway/grpc_service
copying thingsboard_gateway/gateway/grpc_service/grpc_connector.py -> build/lib/thingsboard_gateway/gateway/grpc_service
copying thingsboard_gateway/gateway/grpc_service/tb_grpc_manager.py -> build/lib/thingsboard_gateway/gateway/grpc_service
copying thingsboard_gateway/gateway/grpc_service/grpc_downlink_converter.py -> build/lib/thingsboard_gateway/gateway/grpc_service
copying thingsboard_gateway/gateway/grpc_service/grpc_uplink_converter.py -> build/lib/thingsboard_gateway/gateway/grpc_service
copying thingsboard_gateway/gateway/grpc_service/tb_grpc_server.py -> build/lib/thingsboard_gateway/gateway/grpc_service
creating build/lib/thingsboard_gateway/storage
copying thingsboard_gateway/storage/event_storage.py -> build/lib/thingsboard_gateway/storage
copying thingsboard_gateway/storage/__init__.py -> build/lib/thingsboard_gateway/storage
creating build/lib/thingsboard_gateway/storage/memory
copying thingsboard_gateway/storage/memory/memory_event_storage.py -> build/lib/thingsboard_gateway/storage/memory
copying thingsboard_gateway/storage/memory/__init__.py -> build/lib/thingsboard_gateway/storage/memory
creating build/lib/thingsboard_gateway/gateway/shell
copying thingsboard_gateway/gateway/shell/__init__.py -> build/lib/thingsboard_gateway/gateway/shell
copying thingsboard_gateway/gateway/shell/shell.py -> build/lib/thingsboard_gateway/gateway/shell
copying thingsboard_gateway/gateway/shell/proxy.py -> build/lib/thingsboard_gateway/gateway/shell
creating build/lib/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/event_storage_writer.py -> build/lib/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/event_storage_files.py -> build/lib/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/__init__.py -> build/lib/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/file_event_storage_settings.py -> build/lib/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/event_storage_reader_pointer.py -> build/lib/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/file_event_storage.py -> build/lib/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/event_storage_reader.py -> build/lib/thingsboard_gateway/storage/file
creating build/lib/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/database_connector.py -> build/lib/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/database_request.py -> build/lib/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/__init__.py -> build/lib/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/sqlite_event_storage.py -> build/lib/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/database.py -> build/lib/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/database_action_type.py -> build/lib/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/storage_settings.py -> build/lib/thingsboard_gateway/storage/sqlite
creating build/lib/thingsboard_gateway/connectors
copying thingsboard_gateway/connectors/__init__.py -> build/lib/thingsboard_gateway/connectors
copying thingsboard_gateway/connectors/converter.py -> build/lib/thingsboard_gateway/connectors
copying thingsboard_gateway/connectors/connector.py -> build/lib/thingsboard_gateway/connectors
creating build/lib/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/__init__.py -> build/lib/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/ble_connector.py -> build/lib/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/ble_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/device.py -> build/lib/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/hex_bytes_ble_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/bytes_ble_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/error_handler.py -> build/lib/thingsboard_gateway/connectors/ble
creating build/lib/thingsboard_gateway/connectors/socket
copying thingsboard_gateway/connectors/socket/__init__.py -> build/lib/thingsboard_gateway/connectors/socket
copying thingsboard_gateway/connectors/socket/bytes_socket_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/socket
copying thingsboard_gateway/connectors/socket/socket_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/socket
copying thingsboard_gateway/connectors/socket/socket_connector.py -> build/lib/thingsboard_gateway/connectors/socket
copying thingsboard_gateway/connectors/socket/socket_decorators.py -> build/lib/thingsboard_gateway/connectors/socket
creating build/lib/thingsboard_gateway/connectors/mqtt
copying thingsboard_gateway/connectors/mqtt/mqtt_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/mqtt
copying thingsboard_gateway/connectors/mqtt/__init__.py -> build/lib/thingsboard_gateway/connectors/mqtt
copying thingsboard_gateway/connectors/mqtt/bytes_mqtt_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/mqtt
copying thingsboard_gateway/connectors/mqtt/mqtt_connector.py -> build/lib/thingsboard_gateway/connectors/mqtt
copying thingsboard_gateway/connectors/mqtt/mqtt_decorators.py -> build/lib/thingsboard_gateway/connectors/mqtt
copying thingsboard_gateway/connectors/mqtt/json_mqtt_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/mqtt
creating build/lib/thingsboard_gateway/connectors/opcua_asyncio
copying thingsboard_gateway/connectors/opcua_asyncio/__init__.py -> build/lib/thingsboard_gateway/connectors/opcua_asyncio
copying thingsboard_gateway/connectors/opcua_asyncio/device.py -> build/lib/thingsboard_gateway/connectors/opcua_asyncio
copying thingsboard_gateway/connectors/opcua_asyncio/opcua_connector.py -> build/lib/thingsboard_gateway/connectors/opcua_asyncio
copying thingsboard_gateway/connectors/opcua_asyncio/opcua_converter.py -> build/lib/thingsboard_gateway/connectors/opcua_asyncio
copying thingsboard_gateway/connectors/opcua_asyncio/opcua_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/opcua_asyncio
creating build/lib/thingsboard_gateway/connectors/xmpp
copying thingsboard_gateway/connectors/xmpp/__init__.py -> build/lib/thingsboard_gateway/connectors/xmpp
copying thingsboard_gateway/connectors/xmpp/xmpp_converter.py -> build/lib/thingsboard_gateway/connectors/xmpp
copying thingsboard_gateway/connectors/xmpp/xmpp_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/xmpp
copying thingsboard_gateway/connectors/xmpp/xmpp_connector.py -> build/lib/thingsboard_gateway/connectors/xmpp
creating build/lib/thingsboard_gateway/connectors/opcua
copying thingsboard_gateway/connectors/opcua/__init__.py -> build/lib/thingsboard_gateway/connectors/opcua
copying thingsboard_gateway/connectors/opcua/opcua_connector.py -> build/lib/thingsboard_gateway/connectors/opcua
copying thingsboard_gateway/connectors/opcua/opcua_converter.py -> build/lib/thingsboard_gateway/connectors/opcua
copying thingsboard_gateway/connectors/opcua/opcua_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/opcua
creating build/lib/thingsboard_gateway/connectors/request
copying thingsboard_gateway/connectors/request/__init__.py -> build/lib/thingsboard_gateway/connectors/request
copying thingsboard_gateway/connectors/request/request_converter.py -> build/lib/thingsboard_gateway/connectors/request
copying thingsboard_gateway/connectors/request/request_connector.py -> build/lib/thingsboard_gateway/connectors/request
copying thingsboard_gateway/connectors/request/json_request_downlink_converter.py -> build/lib/thingsboard_gateway/connectors/request
copying thingsboard_gateway/connectors/request/json_request_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/request
copying thingsboard_gateway/connectors/request/request_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/request
creating build/lib/thingsboard_gateway/connectors/ocpp
copying thingsboard_gateway/connectors/ocpp/ocpp_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/ocpp
copying thingsboard_gateway/connectors/ocpp/__init__.py -> build/lib/thingsboard_gateway/connectors/ocpp
copying thingsboard_gateway/connectors/ocpp/charge_point.py -> build/lib/thingsboard_gateway/connectors/ocpp
copying thingsboard_gateway/connectors/ocpp/ocpp_connector.py -> build/lib/thingsboard_gateway/connectors/ocpp
copying thingsboard_gateway/connectors/ocpp/ocpp_converter.py -> build/lib/thingsboard_gateway/connectors/ocpp
creating build/lib/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/modbus_connector.py -> build/lib/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/constants.py -> build/lib/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/__init__.py -> build/lib/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/bytes_modbus_downlink_converter.py -> build/lib/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/modbus_converter.py -> build/lib/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/bytes_modbus_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/backward_compability_adapter.py -> build/lib/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/slave.py -> build/lib/thingsboard_gateway/connectors/modbus
creating build/lib/thingsboard_gateway/connectors/can
copying thingsboard_gateway/connectors/can/__init__.py -> build/lib/thingsboard_gateway/connectors/can
copying thingsboard_gateway/connectors/can/bytes_can_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/can
copying thingsboard_gateway/connectors/can/can_connector.py -> build/lib/thingsboard_gateway/connectors/can
copying thingsboard_gateway/connectors/can/can_converter.py -> build/lib/thingsboard_gateway/connectors/can
copying thingsboard_gateway/connectors/can/bytes_can_downlink_converter.py -> build/lib/thingsboard_gateway/connectors/can
creating build/lib/thingsboard_gateway/connectors/bacnet
copying thingsboard_gateway/connectors/bacnet/__init__.py -> build/lib/thingsboard_gateway/connectors/bacnet
copying thingsboard_gateway/connectors/bacnet/bacnet_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/bacnet
copying thingsboard_gateway/connectors/bacnet/bacnet_converter.py -> build/lib/thingsboard_gateway/connectors/bacnet
copying thingsboard_gateway/connectors/bacnet/bacnet_downlink_converter.py -> build/lib/thingsboard_gateway/connectors/bacnet
copying thingsboard_gateway/connectors/bacnet/bacnet_connector.py -> build/lib/thingsboard_gateway/connectors/bacnet
creating build/lib/thingsboard_gateway/connectors/bacnet/bacnet_utilities
copying thingsboard_gateway/connectors/bacnet/bacnet_utilities/__init__.py -> build/lib/thingsboard_gateway/connectors/bacnet/bacnet_utilities
copying thingsboard_gateway/connectors/bacnet/bacnet_utilities/tb_gateway_bacnet_application.py -> build/lib/thingsboard_gateway/connectors/bacnet/bacnet_utilities
copying thingsboard_gateway/connectors/bacnet/bacnet_utilities/tb_gateway_bacnet_device.py -> build/lib/thingsboard_gateway/connectors/bacnet/bacnet_utilities
creating build/lib/thingsboard_gateway/connectors/odbc
copying thingsboard_gateway/connectors/odbc/odbc_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/odbc
copying thingsboard_gateway/connectors/odbc/__init__.py -> build/lib/thingsboard_gateway/connectors/odbc
copying thingsboard_gateway/connectors/odbc/odbc_converter.py -> build/lib/thingsboard_gateway/connectors/odbc
copying thingsboard_gateway/connectors/odbc/odbc_connector.py -> build/lib/thingsboard_gateway/connectors/odbc
creating build/lib/thingsboard_gateway/connectors/rest
copying thingsboard_gateway/connectors/rest/rest_converter.py -> build/lib/thingsboard_gateway/connectors/rest
copying thingsboard_gateway/connectors/rest/__init__.py -> build/lib/thingsboard_gateway/connectors/rest
copying thingsboard_gateway/connectors/rest/rest_connector.py -> build/lib/thingsboard_gateway/connectors/rest
copying thingsboard_gateway/connectors/rest/ssl_generator.py -> build/lib/thingsboard_gateway/connectors/rest
copying thingsboard_gateway/connectors/rest/json_rest_downlink_converter.py -> build/lib/thingsboard_gateway/connectors/rest
copying thingsboard_gateway/connectors/rest/json_rest_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/rest
creating build/lib/thingsboard_gateway/connectors/snmp
copying thingsboard_gateway/connectors/snmp/snmp_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/snmp
copying thingsboard_gateway/connectors/snmp/__init__.py -> build/lib/thingsboard_gateway/connectors/snmp
copying thingsboard_gateway/connectors/snmp/snmp_connector.py -> build/lib/thingsboard_gateway/connectors/snmp
copying thingsboard_gateway/connectors/snmp/snmp_downlink_converter.py -> build/lib/thingsboard_gateway/connectors/snmp
creating build/lib/thingsboard_gateway/connectors/ftp
copying thingsboard_gateway/connectors/ftp/__init__.py -> build/lib/thingsboard_gateway/connectors/ftp
copying thingsboard_gateway/connectors/ftp/ftp_converter.py -> build/lib/thingsboard_gateway/connectors/ftp
copying thingsboard_gateway/connectors/ftp/file.py -> build/lib/thingsboard_gateway/connectors/ftp
copying thingsboard_gateway/connectors/ftp/ftp_uplink_converter.py -> build/lib/thingsboard_gateway/connectors/ftp
copying thingsboard_gateway/connectors/ftp/ftp_connector.py -> build/lib/thingsboard_gateway/connectors/ftp
copying thingsboard_gateway/connectors/ftp/path.py -> build/lib/thingsboard_gateway/connectors/ftp
creating build/lib/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/tb_updater.py -> build/lib/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/tb_remote_shell.py -> build/lib/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/tb_logger.py -> build/lib/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/tb_loader.py -> build/lib/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/__init__.py -> build/lib/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/tb_gateway_remote_configurator.py -> build/lib/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/tb_utility.py -> build/lib/thingsboard_gateway/tb_utility
creating build/lib/thingsboard_gateway/extensions
copying thingsboard_gateway/extensions/__init__.py -> build/lib/thingsboard_gateway/extensions
creating build/lib/thingsboard_gateway/extensions/mqtt
copying thingsboard_gateway/extensions/mqtt/__init__.py -> build/lib/thingsboard_gateway/extensions/mqtt
copying thingsboard_gateway/extensions/mqtt/custom_mqtt_uplink_converter.py -> build/lib/thingsboard_gateway/extensions/mqtt
creating build/lib/thingsboard_gateway/extensions/modbus
copying thingsboard_gateway/extensions/modbus/__init__.py -> build/lib/thingsboard_gateway/extensions/modbus
creating build/lib/thingsboard_gateway/extensions/opcua
copying thingsboard_gateway/extensions/opcua/__init__.py -> build/lib/thingsboard_gateway/extensions/opcua
creating build/lib/thingsboard_gateway/extensions/opcua_asyncio
copying thingsboard_gateway/extensions/opcua_asyncio/__init__.py -> build/lib/thingsboard_gateway/extensions/opcua_asyncio
creating build/lib/thingsboard_gateway/extensions/ocpp
copying thingsboard_gateway/extensions/ocpp/__init__.py -> build/lib/thingsboard_gateway/extensions/ocpp
creating build/lib/thingsboard_gateway/extensions/ble
copying thingsboard_gateway/extensions/ble/__init__.py -> build/lib/thingsboard_gateway/extensions/ble
creating build/lib/thingsboard_gateway/extensions/serial
copying thingsboard_gateway/extensions/serial/__init__.py -> build/lib/thingsboard_gateway/extensions/serial
copying thingsboard_gateway/extensions/serial/custom_serial_connector.py -> build/lib/thingsboard_gateway/extensions/serial
copying thingsboard_gateway/extensions/serial/custom_serial_converter.py -> build/lib/thingsboard_gateway/extensions/serial
creating build/lib/thingsboard_gateway/extensions/request
copying thingsboard_gateway/extensions/request/__init__.py -> build/lib/thingsboard_gateway/extensions/request
copying thingsboard_gateway/extensions/request/custom_request_uplink_converter.py -> build/lib/thingsboard_gateway/extensions/request
creating build/lib/thingsboard_gateway/extensions/can
copying thingsboard_gateway/extensions/can/__init__.py -> build/lib/thingsboard_gateway/extensions/can
creating build/lib/thingsboard_gateway/extensions/bacnet
copying thingsboard_gateway/extensions/bacnet/__init__.py -> build/lib/thingsboard_gateway/extensions/bacnet
creating build/lib/thingsboard_gateway/extensions/odbc
copying thingsboard_gateway/extensions/odbc/__init__.py -> build/lib/thingsboard_gateway/extensions/odbc
creating build/lib/thingsboard_gateway/extensions/rest
copying thingsboard_gateway/extensions/rest/__init__.py -> build/lib/thingsboard_gateway/extensions/rest
creating build/lib/thingsboard_gateway/extensions/snmp
copying thingsboard_gateway/extensions/snmp/__init__.py -> build/lib/thingsboard_gateway/extensions/snmp
creating build/lib/thingsboard_gateway/extensions/ftp
copying thingsboard_gateway/extensions/ftp/__init__.py -> build/lib/thingsboard_gateway/extensions/ftp
creating build/lib/thingsboard_gateway/extensions/socket
copying thingsboard_gateway/extensions/socket/__init__.py -> build/lib/thingsboard_gateway/extensions/socket
creating build/lib/thingsboard_gateway/extensions/xmpp
copying thingsboard_gateway/extensions/xmpp/__init__.py -> build/lib/thingsboard_gateway/extensions/xmpp
creating build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/bacnet.json -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/ble.json -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/can.json -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/custom_serial.json -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/ftp.json -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/grpc_connector_1.json -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/list.json -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/logs.conf -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/modbus.json -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/modbus_serial.json -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/mqtt.json -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/ocpp.json -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/odbc.json -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/opcua.json -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/request.json -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/rest.json -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/snmp.json -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/socket.json -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/tb_gateway.yaml -> build/lib/thingsboard_gateway/config
copying thingsboard_gateway/config/xmpp.json -> build/lib/thingsboard_gateway/config
creating build/lib/thingsboard_gateway/config/statistics
copying thingsboard_gateway/config/statistics/statistics_linux.json -> build/lib/thingsboard_gateway/config/statistics
copying thingsboard_gateway/config/statistics/statistics_macos.json -> build/lib/thingsboard_gateway/config/statistics
copying thingsboard_gateway/config/statistics/statistics_windows.json -> build/lib/thingsboard_gateway/config/statistics
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/thingsboard_gateway
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/tb_gateway.yaml -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/ocpp.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/rest.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/can.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/ble.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/grpc_connector_1.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/request.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/odbc.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/list.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/modbus.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/custom_serial.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/xmpp.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/mqtt.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/opcua.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/logs.conf -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/bacnet.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/config/statistics
copying build/lib/thingsboard_gateway/config/statistics/statistics_macos.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config/statistics
copying build/lib/thingsboard_gateway/config/statistics/statistics_windows.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config/statistics
copying build/lib/thingsboard_gateway/config/statistics/statistics_linux.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config/statistics
copying build/lib/thingsboard_gateway/config/ftp.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/modbus_serial.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/snmp.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/config/socket.json -> build/bdist.linux-x86_64/egg/thingsboard_gateway/config
copying build/lib/thingsboard_gateway/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/xmpp
copying build/lib/thingsboard_gateway/connectors/xmpp/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/xmpp
copying build/lib/thingsboard_gateway/connectors/xmpp/xmpp_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/xmpp
copying build/lib/thingsboard_gateway/connectors/xmpp/xmpp_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/xmpp
copying build/lib/thingsboard_gateway/connectors/xmpp/xmpp_connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/xmpp
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/modbus
copying build/lib/thingsboard_gateway/connectors/modbus/modbus_connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/modbus
copying build/lib/thingsboard_gateway/connectors/modbus/constants.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/modbus
copying build/lib/thingsboard_gateway/connectors/modbus/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/modbus
copying build/lib/thingsboard_gateway/connectors/modbus/bytes_modbus_downlink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/modbus
copying build/lib/thingsboard_gateway/connectors/modbus/modbus_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/modbus
copying build/lib/thingsboard_gateway/connectors/modbus/bytes_modbus_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/modbus
copying build/lib/thingsboard_gateway/connectors/modbus/backward_compability_adapter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/modbus
copying build/lib/thingsboard_gateway/connectors/modbus/slave.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/modbus
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/bacnet
copying build/lib/thingsboard_gateway/connectors/bacnet/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/bacnet
copying build/lib/thingsboard_gateway/connectors/bacnet/bacnet_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/bacnet
copying build/lib/thingsboard_gateway/connectors/bacnet/bacnet_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/bacnet
copying build/lib/thingsboard_gateway/connectors/bacnet/bacnet_downlink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/bacnet
copying build/lib/thingsboard_gateway/connectors/bacnet/bacnet_connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/bacnet
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/bacnet/bacnet_utilities
copying build/lib/thingsboard_gateway/connectors/bacnet/bacnet_utilities/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/bacnet/bacnet_utilities
copying build/lib/thingsboard_gateway/connectors/bacnet/bacnet_utilities/tb_gateway_bacnet_application.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/bacnet/bacnet_utilities
copying build/lib/thingsboard_gateway/connectors/bacnet/bacnet_utilities/tb_gateway_bacnet_device.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/bacnet/bacnet_utilities
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ocpp
copying build/lib/thingsboard_gateway/connectors/ocpp/ocpp_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ocpp
copying build/lib/thingsboard_gateway/connectors/ocpp/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ocpp
copying build/lib/thingsboard_gateway/connectors/ocpp/charge_point.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ocpp
copying build/lib/thingsboard_gateway/connectors/ocpp/ocpp_connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ocpp
copying build/lib/thingsboard_gateway/connectors/ocpp/ocpp_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ocpp
copying build/lib/thingsboard_gateway/connectors/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors
copying build/lib/thingsboard_gateway/connectors/converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/snmp
copying build/lib/thingsboard_gateway/connectors/snmp/snmp_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/snmp
copying build/lib/thingsboard_gateway/connectors/snmp/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/snmp
copying build/lib/thingsboard_gateway/connectors/snmp/snmp_connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/snmp
copying build/lib/thingsboard_gateway/connectors/snmp/snmp_downlink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/snmp
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua
copying build/lib/thingsboard_gateway/connectors/opcua/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua
copying build/lib/thingsboard_gateway/connectors/opcua/opcua_connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua
copying build/lib/thingsboard_gateway/connectors/opcua/opcua_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua
copying build/lib/thingsboard_gateway/connectors/opcua/opcua_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/request
copying build/lib/thingsboard_gateway/connectors/request/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/request
copying build/lib/thingsboard_gateway/connectors/request/request_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/request
copying build/lib/thingsboard_gateway/connectors/request/request_connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/request
copying build/lib/thingsboard_gateway/connectors/request/json_request_downlink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/request
copying build/lib/thingsboard_gateway/connectors/request/json_request_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/request
copying build/lib/thingsboard_gateway/connectors/request/request_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/request
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ble
copying build/lib/thingsboard_gateway/connectors/ble/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ble
copying build/lib/thingsboard_gateway/connectors/ble/ble_connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ble
copying build/lib/thingsboard_gateway/connectors/ble/ble_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ble
copying build/lib/thingsboard_gateway/connectors/ble/device.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ble
copying build/lib/thingsboard_gateway/connectors/ble/hex_bytes_ble_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ble
copying build/lib/thingsboard_gateway/connectors/ble/bytes_ble_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ble
copying build/lib/thingsboard_gateway/connectors/ble/error_handler.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ble
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/socket
copying build/lib/thingsboard_gateway/connectors/socket/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/socket
copying build/lib/thingsboard_gateway/connectors/socket/bytes_socket_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/socket
copying build/lib/thingsboard_gateway/connectors/socket/socket_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/socket
copying build/lib/thingsboard_gateway/connectors/socket/socket_connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/socket
copying build/lib/thingsboard_gateway/connectors/socket/socket_decorators.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/socket
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/mqtt
copying build/lib/thingsboard_gateway/connectors/mqtt/mqtt_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/mqtt
copying build/lib/thingsboard_gateway/connectors/mqtt/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/mqtt
copying build/lib/thingsboard_gateway/connectors/mqtt/bytes_mqtt_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/mqtt
copying build/lib/thingsboard_gateway/connectors/mqtt/mqtt_connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/mqtt
copying build/lib/thingsboard_gateway/connectors/mqtt/mqtt_decorators.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/mqtt
copying build/lib/thingsboard_gateway/connectors/mqtt/json_mqtt_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/mqtt
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ftp
copying build/lib/thingsboard_gateway/connectors/ftp/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ftp
copying build/lib/thingsboard_gateway/connectors/ftp/ftp_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ftp
copying build/lib/thingsboard_gateway/connectors/ftp/file.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ftp
copying build/lib/thingsboard_gateway/connectors/ftp/ftp_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ftp
copying build/lib/thingsboard_gateway/connectors/ftp/ftp_connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ftp
copying build/lib/thingsboard_gateway/connectors/ftp/path.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ftp
copying build/lib/thingsboard_gateway/connectors/connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua_asyncio
copying build/lib/thingsboard_gateway/connectors/opcua_asyncio/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua_asyncio
copying build/lib/thingsboard_gateway/connectors/opcua_asyncio/device.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua_asyncio
copying build/lib/thingsboard_gateway/connectors/opcua_asyncio/opcua_connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua_asyncio
copying build/lib/thingsboard_gateway/connectors/opcua_asyncio/opcua_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua_asyncio
copying build/lib/thingsboard_gateway/connectors/opcua_asyncio/opcua_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua_asyncio
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/rest
copying build/lib/thingsboard_gateway/connectors/rest/rest_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/rest
copying build/lib/thingsboard_gateway/connectors/rest/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/rest
copying build/lib/thingsboard_gateway/connectors/rest/rest_connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/rest
copying build/lib/thingsboard_gateway/connectors/rest/ssl_generator.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/rest
copying build/lib/thingsboard_gateway/connectors/rest/json_rest_downlink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/rest
copying build/lib/thingsboard_gateway/connectors/rest/json_rest_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/rest
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/odbc
copying build/lib/thingsboard_gateway/connectors/odbc/odbc_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/odbc
copying build/lib/thingsboard_gateway/connectors/odbc/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/odbc
copying build/lib/thingsboard_gateway/connectors/odbc/odbc_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/odbc
copying build/lib/thingsboard_gateway/connectors/odbc/odbc_connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/odbc
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/can
copying build/lib/thingsboard_gateway/connectors/can/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/can
copying build/lib/thingsboard_gateway/connectors/can/bytes_can_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/can
copying build/lib/thingsboard_gateway/connectors/can/can_connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/can
copying build/lib/thingsboard_gateway/connectors/can/can_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/can
copying build/lib/thingsboard_gateway/connectors/can/bytes_can_downlink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/can
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/tb_utility
copying build/lib/thingsboard_gateway/tb_utility/tb_updater.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/tb_utility
copying build/lib/thingsboard_gateway/tb_utility/tb_remote_shell.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/tb_utility
copying build/lib/thingsboard_gateway/tb_utility/tb_logger.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/tb_utility
copying build/lib/thingsboard_gateway/tb_utility/tb_loader.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/tb_utility
copying build/lib/thingsboard_gateway/tb_utility/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/tb_utility
copying build/lib/thingsboard_gateway/tb_utility/tb_gateway_remote_configurator.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/tb_utility
copying build/lib/thingsboard_gateway/tb_utility/tb_utility.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/tb_utility
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/xmpp
copying build/lib/thingsboard_gateway/extensions/xmpp/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/xmpp
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/modbus
copying build/lib/thingsboard_gateway/extensions/modbus/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/modbus
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/bacnet
copying build/lib/thingsboard_gateway/extensions/bacnet/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/bacnet
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/ocpp
copying build/lib/thingsboard_gateway/extensions/ocpp/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/ocpp
copying build/lib/thingsboard_gateway/extensions/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/snmp
copying build/lib/thingsboard_gateway/extensions/snmp/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/snmp
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/opcua
copying build/lib/thingsboard_gateway/extensions/opcua/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/opcua
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/request
copying build/lib/thingsboard_gateway/extensions/request/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/request
copying build/lib/thingsboard_gateway/extensions/request/custom_request_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/request
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/serial
copying build/lib/thingsboard_gateway/extensions/serial/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/serial
copying build/lib/thingsboard_gateway/extensions/serial/custom_serial_connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/serial
copying build/lib/thingsboard_gateway/extensions/serial/custom_serial_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/serial
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/ble
copying build/lib/thingsboard_gateway/extensions/ble/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/ble
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/socket
copying build/lib/thingsboard_gateway/extensions/socket/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/socket
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/mqtt
copying build/lib/thingsboard_gateway/extensions/mqtt/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/mqtt
copying build/lib/thingsboard_gateway/extensions/mqtt/custom_mqtt_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/mqtt
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/ftp
copying build/lib/thingsboard_gateway/extensions/ftp/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/ftp
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/opcua_asyncio
copying build/lib/thingsboard_gateway/extensions/opcua_asyncio/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/opcua_asyncio
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/rest
copying build/lib/thingsboard_gateway/extensions/rest/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/rest
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/odbc
copying build/lib/thingsboard_gateway/extensions/odbc/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/odbc
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/can
copying build/lib/thingsboard_gateway/extensions/can/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/can
copying build/lib/thingsboard_gateway/tb_gateway.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway
copying build/lib/thingsboard_gateway/gateway/constants.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway
copying build/lib/thingsboard_gateway/gateway/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/grpc_service
copying build/lib/thingsboard_gateway/gateway/grpc_service/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/grpc_service
copying build/lib/thingsboard_gateway/gateway/grpc_service/grpc_connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/grpc_service
copying build/lib/thingsboard_gateway/gateway/grpc_service/tb_grpc_manager.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/grpc_service
copying build/lib/thingsboard_gateway/gateway/grpc_service/grpc_downlink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/grpc_service
copying build/lib/thingsboard_gateway/gateway/grpc_service/grpc_uplink_converter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/grpc_service
copying build/lib/thingsboard_gateway/gateway/grpc_service/tb_grpc_server.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/grpc_service
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/shell
copying build/lib/thingsboard_gateway/gateway/shell/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/shell
copying build/lib/thingsboard_gateway/gateway/shell/shell.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/shell
copying build/lib/thingsboard_gateway/gateway/shell/proxy.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/shell
copying build/lib/thingsboard_gateway/gateway/configuration_wizard.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway
copying build/lib/thingsboard_gateway/gateway/constant_enums.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/proto
copying build/lib/thingsboard_gateway/gateway/proto/messages_pb2_grpc.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/proto
copying build/lib/thingsboard_gateway/gateway/proto/messages_pb2.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/proto
copying build/lib/thingsboard_gateway/gateway/proto/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/proto
copying build/lib/thingsboard_gateway/gateway/tb_client.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway
copying build/lib/thingsboard_gateway/gateway/tb_gateway_service.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway
copying build/lib/thingsboard_gateway/gateway/device_filter.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway
copying build/lib/thingsboard_gateway/gateway/duplicate_detector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway
copying build/lib/thingsboard_gateway/gateway/hot_reloader.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway
copying build/lib/thingsboard_gateway/gateway/statistics_service.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/storage
copying build/lib/thingsboard_gateway/storage/event_storage.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/storage
copying build/lib/thingsboard_gateway/storage/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/storage
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/memory
copying build/lib/thingsboard_gateway/storage/memory/memory_event_storage.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/memory
copying build/lib/thingsboard_gateway/storage/memory/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/memory
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/sqlite
copying build/lib/thingsboard_gateway/storage/sqlite/database_connector.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/sqlite
copying build/lib/thingsboard_gateway/storage/sqlite/database_request.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/sqlite
copying build/lib/thingsboard_gateway/storage/sqlite/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/sqlite
copying build/lib/thingsboard_gateway/storage/sqlite/sqlite_event_storage.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/sqlite
copying build/lib/thingsboard_gateway/storage/sqlite/database.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/sqlite
copying build/lib/thingsboard_gateway/storage/sqlite/database_action_type.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/sqlite
copying build/lib/thingsboard_gateway/storage/sqlite/storage_settings.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/sqlite
creating build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/file
copying build/lib/thingsboard_gateway/storage/file/event_storage_writer.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/file
copying build/lib/thingsboard_gateway/storage/file/event_storage_files.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/file
copying build/lib/thingsboard_gateway/storage/file/__init__.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/file
copying build/lib/thingsboard_gateway/storage/file/file_event_storage_settings.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/file
copying build/lib/thingsboard_gateway/storage/file/event_storage_reader_pointer.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/file
copying build/lib/thingsboard_gateway/storage/file/file_event_storage.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/file
copying build/lib/thingsboard_gateway/storage/file/event_storage_reader.py -> build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/file
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/xmpp/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/xmpp/xmpp_converter.py to xmpp_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/xmpp/xmpp_uplink_converter.py to xmpp_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/xmpp/xmpp_connector.py to xmpp_connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/modbus/modbus_connector.py to modbus_connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/modbus/constants.py to constants.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/modbus/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/modbus/bytes_modbus_downlink_converter.py to bytes_modbus_downlink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/modbus/modbus_converter.py to modbus_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/modbus/bytes_modbus_uplink_converter.py to bytes_modbus_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/modbus/backward_compability_adapter.py to backward_compability_adapter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/modbus/slave.py to slave.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/bacnet/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/bacnet/bacnet_uplink_converter.py to bacnet_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/bacnet/bacnet_converter.py to bacnet_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/bacnet/bacnet_downlink_converter.py to bacnet_downlink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/bacnet/bacnet_connector.py to bacnet_connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/bacnet/bacnet_utilities/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/bacnet/bacnet_utilities/tb_gateway_bacnet_application.py to tb_gateway_bacnet_application.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/bacnet/bacnet_utilities/tb_gateway_bacnet_device.py to tb_gateway_bacnet_device.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ocpp/ocpp_uplink_converter.py to ocpp_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ocpp/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ocpp/charge_point.py to charge_point.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ocpp/ocpp_connector.py to ocpp_connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ocpp/ocpp_converter.py to ocpp_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/converter.py to converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/snmp/snmp_uplink_converter.py to snmp_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/snmp/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/snmp/snmp_connector.py to snmp_connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/snmp/snmp_downlink_converter.py to snmp_downlink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua/opcua_connector.py to opcua_connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua/opcua_converter.py to opcua_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua/opcua_uplink_converter.py to opcua_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/request/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/request/request_converter.py to request_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/request/request_connector.py to request_connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/request/json_request_downlink_converter.py to json_request_downlink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/request/json_request_uplink_converter.py to json_request_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/request/request_uplink_converter.py to request_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ble/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ble/ble_connector.py to ble_connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ble/ble_uplink_converter.py to ble_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ble/device.py to device.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ble/hex_bytes_ble_uplink_converter.py to hex_bytes_ble_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ble/bytes_ble_uplink_converter.py to bytes_ble_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ble/error_handler.py to error_handler.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/socket/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/socket/bytes_socket_uplink_converter.py to bytes_socket_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/socket/socket_uplink_converter.py to socket_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/socket/socket_connector.py to socket_connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/socket/socket_decorators.py to socket_decorators.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/mqtt/mqtt_uplink_converter.py to mqtt_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/mqtt/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/mqtt/bytes_mqtt_uplink_converter.py to bytes_mqtt_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/mqtt/mqtt_connector.py to mqtt_connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/mqtt/mqtt_decorators.py to mqtt_decorators.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/mqtt/json_mqtt_uplink_converter.py to json_mqtt_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ftp/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ftp/ftp_converter.py to ftp_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ftp/file.py to file.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ftp/ftp_uplink_converter.py to ftp_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ftp/ftp_connector.py to ftp_connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/ftp/path.py to path.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/connector.py to connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua_asyncio/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua_asyncio/device.py to device.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua_asyncio/opcua_connector.py to opcua_connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua_asyncio/opcua_converter.py to opcua_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/opcua_asyncio/opcua_uplink_converter.py to opcua_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/rest/rest_converter.py to rest_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/rest/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/rest/rest_connector.py to rest_connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/rest/ssl_generator.py to ssl_generator.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/rest/json_rest_downlink_converter.py to json_rest_downlink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/rest/json_rest_uplink_converter.py to json_rest_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/odbc/odbc_uplink_converter.py to odbc_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/odbc/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/odbc/odbc_converter.py to odbc_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/odbc/odbc_connector.py to odbc_connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/can/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/can/bytes_can_uplink_converter.py to bytes_can_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/can/can_connector.py to can_connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/can/can_converter.py to can_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/connectors/can/bytes_can_downlink_converter.py to bytes_can_downlink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/tb_utility/tb_updater.py to tb_updater.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/tb_utility/tb_remote_shell.py to tb_remote_shell.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/tb_utility/tb_logger.py to tb_logger.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/tb_utility/tb_loader.py to tb_loader.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/tb_utility/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/tb_utility/tb_gateway_remote_configurator.py to tb_gateway_remote_configurator.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/tb_utility/tb_utility.py to tb_utility.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/xmpp/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/modbus/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/bacnet/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/ocpp/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/snmp/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/opcua/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/request/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/request/custom_request_uplink_converter.py to custom_request_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/serial/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/serial/custom_serial_connector.py to custom_serial_connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/serial/custom_serial_converter.py to custom_serial_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/ble/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/socket/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/mqtt/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/mqtt/custom_mqtt_uplink_converter.py to custom_mqtt_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/ftp/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/opcua_asyncio/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/rest/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/odbc/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/extensions/can/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/tb_gateway.py to tb_gateway.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/constants.py to constants.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/grpc_service/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/grpc_service/grpc_connector.py to grpc_connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/grpc_service/tb_grpc_manager.py to tb_grpc_manager.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/grpc_service/grpc_downlink_converter.py to grpc_downlink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/grpc_service/grpc_uplink_converter.py to grpc_uplink_converter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/grpc_service/tb_grpc_server.py to tb_grpc_server.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/shell/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/shell/shell.py to shell.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/shell/proxy.py to proxy.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/configuration_wizard.py to configuration_wizard.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/constant_enums.py to constant_enums.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/proto/messages_pb2_grpc.py to messages_pb2_grpc.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/proto/messages_pb2.py to messages_pb2.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/proto/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/tb_client.py to tb_client.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/tb_gateway_service.py to tb_gateway_service.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/device_filter.py to device_filter.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/duplicate_detector.py to duplicate_detector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/hot_reloader.py to hot_reloader.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/gateway/statistics_service.py to statistics_service.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/event_storage.py to event_storage.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/memory/memory_event_storage.py to memory_event_storage.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/memory/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/sqlite/database_connector.py to database_connector.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/sqlite/database_request.py to database_request.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/sqlite/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/sqlite/sqlite_event_storage.py to sqlite_event_storage.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/sqlite/database.py to database.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/sqlite/database_action_type.py to database_action_type.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/sqlite/storage_settings.py to storage_settings.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/file/event_storage_writer.py to event_storage_writer.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/file/event_storage_files.py to event_storage_files.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/file/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/file/file_event_storage_settings.py to file_event_storage_settings.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/file/event_storage_reader_pointer.py to event_storage_reader_pointer.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/file/file_event_storage.py to file_event_storage.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/thingsboard_gateway/storage/file/event_storage_reader.py to event_storage_reader.cpython-38.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying thingsboard_gateway.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying thingsboard_gateway.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying thingsboard_gateway.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying thingsboard_gateway.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying thingsboard_gateway.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying thingsboard_gateway.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
thingsboard_gateway.__pycache__.tb_gateway.cpython-38: module references __file__
thingsboard_gateway.gateway.__pycache__.configuration_wizard.cpython-38: module references __file__
thingsboard_gateway.gateway.__pycache__.tb_gateway_service.cpython-38: module references __file__
thingsboard_gateway.tb_utility.__pycache__.tb_loader.cpython-38: module references __file__
creating dist
creating 'dist/thingsboard_gateway-3.2-py3.8.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing thingsboard_gateway-3.2-py3.8.egg
removing '/usr/local/lib/python3.8/dist-packages/thingsboard_gateway-3.2-py3.8.egg' (and everything under it)
creating /usr/local/lib/python3.8/dist-packages/thingsboard_gateway-3.2-py3.8.egg
Extracting thingsboard_gateway-3.2-py3.8.egg to /usr/local/lib/python3.8/dist-packages
thingsboard-gateway 3.2 is already the active version in easy-install.pth
Installing tb-gateway-configurator script to /usr/local/bin
Installing tb-gateway-shell script to /usr/local/bin
Installing thingsboard-gateway script to /usr/local/bin

Installed /usr/local/lib/python3.8/dist-packages/thingsboard_gateway-3.2-py3.8.egg
Processing dependencies for thingsboard-gateway==3.2
Searching for termcolor==2.3.0
Best match: termcolor 2.3.0
Adding termcolor 2.3.0 to easy-install.pth file

Using /usr/local/lib/python3.8/dist-packages
Searching for simplejson==3.16.0
Best match: simplejson 3.16.0
Adding simplejson 3.16.0 to easy-install.pth file

Using /usr/lib/python3/dist-packages
Searching for requests==2.22.0
Best match: requests 2.22.0
Adding requests 2.22.0 to easy-install.pth file

Using /usr/lib/python3/dist-packages
Searching for regex==2023.3.23
Best match: regex 2023.3.23
Adding regex 2023.3.23 to easy-install.pth file

Using /usr/local/lib/python3.8/dist-packages
Searching for pyfiglet==0.8.post1
Best match: pyfiglet 0.8.post1
Adding pyfiglet 0.8.post1 to easy-install.pth file
Installing pyfiglet script to /usr/local/bin

Using /usr/local/lib/python3.8/dist-packages
Searching for protobuf==3.20.0
Best match: protobuf 3.20.0
Adding protobuf 3.20.0 to easy-install.pth file

Using /usr/local/lib/python3.8/dist-packages
Searching for pip==20.0.2
Best match: pip 20.0.2
Adding pip 20.0.2 to easy-install.pth file
Installing pip script to /usr/local/bin
Installing pip3 script to /usr/local/bin
Installing pip3.8 script to /usr/local/bin

Using /usr/lib/python3/dist-packages
Searching for jsonpath-rw==1.4.0
Best match: jsonpath-rw 1.4.0
Adding jsonpath-rw 1.4.0 to easy-install.pth file
Installing jsonpath.py script to /usr/local/bin

Using /usr/local/lib/python3.8/dist-packages
Searching for grpcio==1.40.0
Best match: grpcio 1.40.0
Adding grpcio 1.40.0 to easy-install.pth file

Using /usr/local/lib/python3.8/dist-packages
Searching for cryptography==2.8
Best match: cryptography 2.8
Adding cryptography 2.8 to easy-install.pth file

Using /usr/lib/python3/dist-packages
Searching for cachetools==5.3.0
Best match: cachetools 5.3.0
Adding cachetools 5.3.0 to easy-install.pth file

Using /usr/local/lib/python3.8/dist-packages
Searching for PyYAML==5.3.1
Best match: PyYAML 5.3.1
Adding PyYAML 5.3.1 to easy-install.pth file

Using /usr/lib/python3/dist-packages
Searching for PyInquirer==1.0.3
Best match: PyInquirer 1.0.3
Adding PyInquirer 1.0.3 to easy-install.pth file

Using /usr/local/lib/python3.8/dist-packages
Not found: prompt_toolkit==1.0.14
Not found: Pygments>=2.2.0
Not found: regex>=2016.11.21
Searching for decorator==5.1.1
Best match: decorator 5.1.1
Adding decorator 5.1.1 to easy-install.pth file

Using /usr/local/lib/python3.8/dist-packages
Searching for ply==3.11
Best match: ply 3.11
Adding ply 3.11 to easy-install.pth file

Using /usr/local/lib/python3.8/dist-packages
Searching for six==1.14.0
Best match: six 1.14.0
Adding six 1.14.0 to easy-install.pth file

Using /usr/lib/python3/dist-packages
Searching for prompt-toolkit==1.0.14
Best match: prompt-toolkit 1.0.14
Adding prompt-toolkit 1.0.14 to easy-install.pth file

Using /usr/local/lib/python3.8/dist-packages
Searching for Pygments==2.15.1
Best match: Pygments 2.15.1
Adding Pygments 2.15.1 to easy-install.pth file
Installing pygmentize script to /usr/local/bin

Using /usr/local/lib/python3.8/dist-packages
Searching for wcwidth==0.2.6
Best match: wcwidth 0.2.6
Adding wcwidth 0.2.6 to easy-install.pth file

Using /usr/local/lib/python3.8/dist-packages
Finished processing dependencies for thingsboard-gateway==3.2
thingsboard_gateway@DESKTOP-KOJPFOG:~/thingsboard-gateway$ sudo python3 ./thingsboard_gateway/tb_gateway.py
""2023-05-05 18:22:07" - |INFO| - [tb_gateway_service.py] - tb_gateway_service - __init__ - 179 - Gateway starting..."
""2023-05-05 18:22:07" - |INFO| - [tb_gateway_service.py] - tb_gateway_service - __init__ - 184 - ThingsBoard IoT gateway version: 3.2"
""2023-05-05 18:22:07" - |INFO| - [tb_gateway_mqtt.py] - tb_gateway_mqtt - gw_subscribe_to_attribute - 185 - Subscribed to *|* with id 1 for device *"
""2023-05-05 18:22:07" - |INFO| - [tb_loader.py] - tb_loader - import_module - 68 - Import MqttConnector from /usr/local/lib/python3.8/dist-packages/thingsboard_gateway-3.2-py3.8.egg/thingsboard_gateway/connectors/mqtt."
""2023-05-05 18:22:07" - |INFO| - [mqtt_connector.py] - mqtt_connector - load_handlers - 265 - Number of accepted mapping handlers: 4"
""2023-05-05 18:22:07" - |INFO| - [mqtt_connector.py] - mqtt_connector - load_handlers - 269 - Number of rejected mapping handlers: 0"
""2023-05-05 18:22:07" - |INFO| - [mqtt_connector.py] - mqtt_connector - load_handlers - 265 - Number of accepted serverSideRpc handlers: 2"
""2023-05-05 18:22:07" - |INFO| - [mqtt_connector.py] - mqtt_connector - load_handlers - 269 - Number of rejected serverSideRpc handlers: 0"
""2023-05-05 18:22:07" - |INFO| - [mqtt_connector.py] - mqtt_connector - load_handlers - 265 - Number of accepted connectRequests handlers: 2"
""2023-05-05 18:22:07" - |INFO| - [mqtt_connector.py] - mqtt_connector - load_handlers - 269 - Number of rejected connectRequests handlers: 0"
""2023-05-05 18:22:07" - |INFO| - [mqtt_connector.py] - mqtt_connector - load_handlers - 265 - Number of accepted disconnectRequests handlers: 2"
""2023-05-05 18:22:07" - |INFO| - [mqtt_connector.py] - mqtt_connector - load_handlers - 269 - Number of rejected disconnectRequests handlers: 0"
""2023-05-05 18:22:07" - |INFO| - [mqtt_connector.py] - mqtt_connector - load_handlers - 265 - Number of accepted attributeRequests handlers: 1"
""2023-05-05 18:22:07" - |INFO| - [mqtt_connector.py] - mqtt_connector - load_handlers - 269 - Number of rejected attributeRequests handlers: 0"
""2023-05-05 18:22:07" - |INFO| - [mqtt_connector.py] - mqtt_connector - load_handlers - 265 - Number of accepted attributeUpdates handlers: 1"
""2023-05-05 18:22:07" - |INFO| - [mqtt_connector.py] - mqtt_connector - load_handlers - 269 - Number of rejected attributeUpdates handlers: 0"
""2023-05-05 18:22:07" - |ERROR| - [mqtt_connector.py] - mqtt_connector - __connect - 307 - [Errno 111] Connection refused"
""2023-05-05 18:22:07" - |INFO| - [tb_gateway_service.py] - tb_gateway_service - __init__ - 295 - Gateway started."
""2023-05-05 18:22:08" - |ERROR| - [tb_device_mqtt.py] - tb_device_mqtt - _on_connect - 223 - connection FAIL with error 5 not authorised"
""2023-05-05 18:22:08" - |INFO| - [tb_updater.py] - tb_updater - check_for_new_version - 86 - v3.2"
""2023-05-05 18:22:08" - |INFO| - [tb_updater.py] - tb_updater - check_for_new_version - 88 - 

[===UPDATE===]

 New version v3.2 is available! 

[===UPDATE===]
"
^C""2023-05-05 18:22:10" - |INFO| - [tb_gateway_service.py] - tb_gateway_service - __stop_gateway - 422 - Stopping..."
""2023-05-05 18:22:10" - |INFO| - [mqtt_connector.py] - mqtt_connector - close - 317 - MQTT Broker Connector has been stopped."
""2023-05-05 18:22:10" - |INFO| - [tb_gateway_service.py] - tb_gateway_service - __stop_gateway - 431 - The gateway has been stopped."
""2023-05-05 18:22:10" - |INFO| - [tb_gateway_mqtt.py] - tb_gateway_mqtt - gw_unsubscribe - 193 - Unsubscribed from *|*, subscription id '*'"
thingsboard_gateway@DESKTOP-KOJPFOG:~/thingsboard-gateway$ 
thingsboard_gateway@DESKTOP-KOJPFOG:~/thingsboard-gateway$ git pull origin master --recurse-submodules
From https://github.com/thingsboard/thingsboard-gateway
 * branch            master     -> FETCH_HEAD
Fetching submodule tb_mqtt_client
Already up to date.
thingsboard_gateway@DESKTOP-KOJPFOG:~/thingsboard-gateway$ pip install tb-mqtt-client
Requirement already satisfied: tb-mqtt-client in /home/thingsboard_gateway/.local/lib/python3.8/site-packages (1.4.1)
Requirement already satisfied: mmh3 in /home/thingsboard_gateway/.local/lib/python3.8/site-packages (from tb-mqtt-client) (3.1.0)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from tb-mqtt-client) (2.22.0)
Requirement already satisfied: simplejson in /usr/lib/python3/dist-packages (from tb-mqtt-client) (3.16.0)
Requirement already satisfied: paho-mqtt>=1.6 in /home/thingsboard_gateway/.local/lib/python3.8/site-packages (from tb-mqtt-client) (1.6.1)
thingsboard_gateway@DESKTOP-KOJPFOG:~/thingsboard-gateway$ PYTHONPATH=.
thingsboard_gateway@DESKTOP-KOJPFOG:~/thingsboard-gateway$ export PYTHONPATH=.
thingsboard_gateway@DESKTOP-KOJPFOG:~/thingsboard-gateway$ sudo sh generate_deb_package.sh 
Installing libraries for building deb package.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
fakeroot is already the newest version (1.24-1).
dh-python is already the newest version (4.20191017ubuntu7).
python-all is already the newest version (2.7.17-2ubuntu4).
python3-stdeb is already the newest version (0.8.5-3).
zstd is already the newest version (1.4.4+dfsg-3ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Building DEB package
Creating sources for DEB package...
running bdist_deb
running sdist_dsc
running egg_info
writing thingsboard_gateway.egg-info/PKG-INFO
writing dependency_links to thingsboard_gateway.egg-info/dependency_links.txt
writing entry points to thingsboard_gateway.egg-info/entry_points.txt
writing requirements to thingsboard_gateway.egg-info/requires.txt
writing top-level names to thingsboard_gateway.egg-info/top_level.txt
reading manifest file 'thingsboard_gateway.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'thingsboard_gateway.egg-info/SOURCES.txt'
running sdist
running check
creating thingsboard-gateway-3.2
creating thingsboard-gateway-3.2/thingsboard_gateway
creating thingsboard-gateway-3.2/thingsboard_gateway.egg-info
creating thingsboard-gateway-3.2/thingsboard_gateway/config
creating thingsboard-gateway-3.2/thingsboard_gateway/config/statistics
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet/bacnet_utilities
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/ble
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/can
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/ftp
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/modbus
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/mqtt
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/ocpp
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/odbc
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua_asyncio
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/request
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/rest
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/snmp
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/socket
creating thingsboard-gateway-3.2/thingsboard_gateway/connectors/xmpp
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/bacnet
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/ble
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/can
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/ftp
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/modbus
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/mqtt
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/ocpp
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/odbc
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/opcua
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/opcua_asyncio
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/request
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/rest
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/serial
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/snmp
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/socket
creating thingsboard-gateway-3.2/thingsboard_gateway/extensions/xmpp
creating thingsboard-gateway-3.2/thingsboard_gateway/gateway
creating thingsboard-gateway-3.2/thingsboard_gateway/gateway/grpc_service
creating thingsboard-gateway-3.2/thingsboard_gateway/gateway/proto
creating thingsboard-gateway-3.2/thingsboard_gateway/gateway/shell
creating thingsboard-gateway-3.2/thingsboard_gateway/storage
creating thingsboard-gateway-3.2/thingsboard_gateway/storage/file
creating thingsboard-gateway-3.2/thingsboard_gateway/storage/memory
creating thingsboard-gateway-3.2/thingsboard_gateway/storage/sqlite
creating thingsboard-gateway-3.2/thingsboard_gateway/tb_utility
copying files to thingsboard-gateway-3.2...
copying LICENSE -> thingsboard-gateway-3.2
copying MANIFEST.in -> thingsboard-gateway-3.2
copying README.md -> thingsboard-gateway-3.2
copying setup.py -> thingsboard-gateway-3.2
copying thingsboard_gateway/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway
copying thingsboard_gateway/tb_gateway.py -> thingsboard-gateway-3.2/thingsboard_gateway
copying thingsboard_gateway.egg-info/PKG-INFO -> thingsboard-gateway-3.2/thingsboard_gateway.egg-info
copying thingsboard_gateway.egg-info/SOURCES.txt -> thingsboard-gateway-3.2/thingsboard_gateway.egg-info
copying thingsboard_gateway.egg-info/dependency_links.txt -> thingsboard-gateway-3.2/thingsboard_gateway.egg-info
copying thingsboard_gateway.egg-info/entry_points.txt -> thingsboard-gateway-3.2/thingsboard_gateway.egg-info
copying thingsboard_gateway.egg-info/requires.txt -> thingsboard-gateway-3.2/thingsboard_gateway.egg-info
copying thingsboard_gateway.egg-info/top_level.txt -> thingsboard-gateway-3.2/thingsboard_gateway.egg-info
copying thingsboard_gateway/config/bacnet.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/ble.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/can.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/connected_devices.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/custom_serial.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/ftp.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/grpc_connector_1.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/list.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/logs.conf -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/modbus.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/modbus_serial.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/mqtt.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/ocpp.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/odbc.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/opcua.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/request.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/rest.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/snmp.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/socket.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/tb_gateway.yaml -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/xmpp.json -> thingsboard-gateway-3.2/thingsboard_gateway/config
copying thingsboard_gateway/config/statistics/statistics_linux.json -> thingsboard-gateway-3.2/thingsboard_gateway/config/statistics
copying thingsboard_gateway/config/statistics/statistics_macos.json -> thingsboard-gateway-3.2/thingsboard_gateway/config/statistics
copying thingsboard_gateway/config/statistics/statistics_windows.json -> thingsboard-gateway-3.2/thingsboard_gateway/config/statistics
copying thingsboard_gateway/connectors/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors
copying thingsboard_gateway/connectors/connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors
copying thingsboard_gateway/connectors/converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors
copying thingsboard_gateway/connectors/bacnet/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet
copying thingsboard_gateway/connectors/bacnet/bacnet_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet
copying thingsboard_gateway/connectors/bacnet/bacnet_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet
copying thingsboard_gateway/connectors/bacnet/bacnet_downlink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet
copying thingsboard_gateway/connectors/bacnet/bacnet_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet
copying thingsboard_gateway/connectors/bacnet/bacnet_utilities/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet/bacnet_utilities
copying thingsboard_gateway/connectors/bacnet/bacnet_utilities/tb_gateway_bacnet_application.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet/bacnet_utilities
copying thingsboard_gateway/connectors/bacnet/bacnet_utilities/tb_gateway_bacnet_device.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/bacnet/bacnet_utilities
copying thingsboard_gateway/connectors/ble/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/ble_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/ble_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/bytes_ble_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/device.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/error_handler.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/ble/hex_bytes_ble_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ble
copying thingsboard_gateway/connectors/can/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/can
copying thingsboard_gateway/connectors/can/bytes_can_downlink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/can
copying thingsboard_gateway/connectors/can/bytes_can_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/can
copying thingsboard_gateway/connectors/can/can_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/can
copying thingsboard_gateway/connectors/can/can_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/can
copying thingsboard_gateway/connectors/ftp/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ftp
copying thingsboard_gateway/connectors/ftp/file.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ftp
copying thingsboard_gateway/connectors/ftp/ftp_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ftp
copying thingsboard_gateway/connectors/ftp/ftp_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ftp
copying thingsboard_gateway/connectors/ftp/ftp_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ftp
copying thingsboard_gateway/connectors/ftp/path.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ftp
copying thingsboard_gateway/connectors/modbus/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/backward_compability_adapter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/bytes_modbus_downlink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/bytes_modbus_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/constants.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/modbus_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/modbus_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/modbus/slave.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/modbus
copying thingsboard_gateway/connectors/mqtt/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/mqtt
copying thingsboard_gateway/connectors/mqtt/bytes_mqtt_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/mqtt
copying thingsboard_gateway/connectors/mqtt/json_mqtt_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/mqtt
copying thingsboard_gateway/connectors/mqtt/mqtt_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/mqtt
copying thingsboard_gateway/connectors/mqtt/mqtt_decorators.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/mqtt
copying thingsboard_gateway/connectors/mqtt/mqtt_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/mqtt
copying thingsboard_gateway/connectors/ocpp/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ocpp
copying thingsboard_gateway/connectors/ocpp/charge_point.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ocpp
copying thingsboard_gateway/connectors/ocpp/ocpp_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ocpp
copying thingsboard_gateway/connectors/ocpp/ocpp_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ocpp
copying thingsboard_gateway/connectors/ocpp/ocpp_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/ocpp
copying thingsboard_gateway/connectors/odbc/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/odbc
copying thingsboard_gateway/connectors/odbc/odbc_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/odbc
copying thingsboard_gateway/connectors/odbc/odbc_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/odbc
copying thingsboard_gateway/connectors/odbc/odbc_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/odbc
copying thingsboard_gateway/connectors/opcua/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua
copying thingsboard_gateway/connectors/opcua/opcua_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua
copying thingsboard_gateway/connectors/opcua/opcua_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua
copying thingsboard_gateway/connectors/opcua/opcua_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua
copying thingsboard_gateway/connectors/opcua_asyncio/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua_asyncio
copying thingsboard_gateway/connectors/opcua_asyncio/device.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua_asyncio
copying thingsboard_gateway/connectors/opcua_asyncio/opcua_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua_asyncio
copying thingsboard_gateway/connectors/opcua_asyncio/opcua_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua_asyncio
copying thingsboard_gateway/connectors/opcua_asyncio/opcua_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/opcua_asyncio
copying thingsboard_gateway/connectors/request/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/request
copying thingsboard_gateway/connectors/request/json_request_downlink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/request
copying thingsboard_gateway/connectors/request/json_request_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/request
copying thingsboard_gateway/connectors/request/request_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/request
copying thingsboard_gateway/connectors/request/request_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/request
copying thingsboard_gateway/connectors/request/request_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/request
copying thingsboard_gateway/connectors/rest/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/rest
copying thingsboard_gateway/connectors/rest/json_rest_downlink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/rest
copying thingsboard_gateway/connectors/rest/json_rest_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/rest
copying thingsboard_gateway/connectors/rest/rest_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/rest
copying thingsboard_gateway/connectors/rest/rest_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/rest
copying thingsboard_gateway/connectors/rest/ssl_generator.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/rest
copying thingsboard_gateway/connectors/snmp/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/snmp
copying thingsboard_gateway/connectors/snmp/snmp_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/snmp
copying thingsboard_gateway/connectors/snmp/snmp_downlink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/snmp
copying thingsboard_gateway/connectors/snmp/snmp_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/snmp
copying thingsboard_gateway/connectors/socket/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/socket
copying thingsboard_gateway/connectors/socket/bytes_socket_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/socket
copying thingsboard_gateway/connectors/socket/socket_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/socket
copying thingsboard_gateway/connectors/socket/socket_decorators.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/socket
copying thingsboard_gateway/connectors/socket/socket_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/socket
copying thingsboard_gateway/connectors/xmpp/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/xmpp
copying thingsboard_gateway/connectors/xmpp/xmpp_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/xmpp
copying thingsboard_gateway/connectors/xmpp/xmpp_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/xmpp
copying thingsboard_gateway/connectors/xmpp/xmpp_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/connectors/xmpp
copying thingsboard_gateway/extensions/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions
copying thingsboard_gateway/extensions/bacnet/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/bacnet
copying thingsboard_gateway/extensions/ble/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/ble
copying thingsboard_gateway/extensions/can/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/can
copying thingsboard_gateway/extensions/ftp/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/ftp
copying thingsboard_gateway/extensions/modbus/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/modbus
copying thingsboard_gateway/extensions/mqtt/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/mqtt
copying thingsboard_gateway/extensions/mqtt/custom_mqtt_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/mqtt
copying thingsboard_gateway/extensions/ocpp/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/ocpp
copying thingsboard_gateway/extensions/odbc/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/odbc
copying thingsboard_gateway/extensions/opcua/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/opcua
copying thingsboard_gateway/extensions/opcua_asyncio/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/opcua_asyncio
copying thingsboard_gateway/extensions/request/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/request
copying thingsboard_gateway/extensions/request/custom_request_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/request
copying thingsboard_gateway/extensions/rest/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/rest
copying thingsboard_gateway/extensions/serial/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/serial
copying thingsboard_gateway/extensions/serial/custom_serial_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/serial
copying thingsboard_gateway/extensions/serial/custom_serial_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/serial
copying thingsboard_gateway/extensions/snmp/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/snmp
copying thingsboard_gateway/extensions/socket/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/socket
copying thingsboard_gateway/extensions/xmpp/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/extensions/xmpp
copying thingsboard_gateway/gateway/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/configuration_wizard.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/constant_enums.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/constants.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/device_filter.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/duplicate_detector.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/hot_reloader.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/statistics_service.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/tb_client.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/tb_gateway_service.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway
copying thingsboard_gateway/gateway/grpc_service/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/grpc_service
copying thingsboard_gateway/gateway/grpc_service/grpc_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/grpc_service
copying thingsboard_gateway/gateway/grpc_service/grpc_downlink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/grpc_service
copying thingsboard_gateway/gateway/grpc_service/grpc_uplink_converter.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/grpc_service
copying thingsboard_gateway/gateway/grpc_service/tb_grpc_manager.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/grpc_service
copying thingsboard_gateway/gateway/grpc_service/tb_grpc_server.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/grpc_service
copying thingsboard_gateway/gateway/proto/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/proto
copying thingsboard_gateway/gateway/proto/messages_pb2.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/proto
copying thingsboard_gateway/gateway/proto/messages_pb2_grpc.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/proto
copying thingsboard_gateway/gateway/shell/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/shell
copying thingsboard_gateway/gateway/shell/proxy.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/shell
copying thingsboard_gateway/gateway/shell/shell.py -> thingsboard-gateway-3.2/thingsboard_gateway/gateway/shell
copying thingsboard_gateway/storage/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage
copying thingsboard_gateway/storage/event_storage.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage
copying thingsboard_gateway/storage/file/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/event_storage_files.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/event_storage_reader.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/event_storage_reader_pointer.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/event_storage_writer.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/file_event_storage.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/file/file_event_storage_settings.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/file
copying thingsboard_gateway/storage/memory/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/memory
copying thingsboard_gateway/storage/memory/memory_event_storage.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/memory
copying thingsboard_gateway/storage/sqlite/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/database.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/database_action_type.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/database_connector.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/database_request.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/sqlite_event_storage.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/storage/sqlite/storage_settings.py -> thingsboard-gateway-3.2/thingsboard_gateway/storage/sqlite
copying thingsboard_gateway/tb_utility/__init__.py -> thingsboard-gateway-3.2/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/tb_gateway_remote_configurator.py -> thingsboard-gateway-3.2/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/tb_loader.py -> thingsboard-gateway-3.2/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/tb_logger.py -> thingsboard-gateway-3.2/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/tb_remote_shell.py -> thingsboard-gateway-3.2/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/tb_updater.py -> thingsboard-gateway-3.2/thingsboard_gateway/tb_utility
copying thingsboard_gateway/tb_utility/tb_utility.py -> thingsboard-gateway-3.2/thingsboard_gateway/tb_utility
Writing thingsboard-gateway-3.2/setup.cfg
Creating tar archive
removing 'thingsboard-gateway-3.2' (and everything under it)
CALLING dpkg-source -b thingsboard-gateway-3.2 thingsboard-gateway_3.2.orig.tar.gz (in dir deb_dist)
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building thingsboard-gateway using existing ./thingsboard-gateway_3.2.orig.tar.gz
dpkg-source: info: building thingsboard-gateway in thingsboard-gateway_3.2-1.debian.tar.xz
dpkg-source: info: building thingsboard-gateway in thingsboard-gateway_3.2-1.dsc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: info: source package thingsboard-gateway
dpkg-buildpackage: info: source version 3.2-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by ThingsBoard <info@thingsboard.io>
 dpkg-source --before-build .
 fakeroot debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:217: python3.8 setup.py clean 
tb-mqtt-client library not found - installing...
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f3ab3904220>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f3ab3904340>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f3ab3904670>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f3ab39047c0>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f3ab3904f10>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
ERROR: Could not find a version that satisfies the requirement tb-mqtt-client (from versions: none)
ERROR: No matching distribution found for tb-mqtt-client
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f123d8b3d90>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f123d8b3a90>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f123d8b3550>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f123d8b3190>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f123d8b3880>: Failed to establish a new connection: [Errno 111] Connection refused'))': /simple/tb-mqtt-client/
ERROR: Could not find a version that satisfies the requirement tb-mqtt-client (from versions: none)
ERROR: No matching distribution found for tb-mqtt-client
Traceback (most recent call last):
  File "/home/thingsboard_gateway/thingsboard-gateway/deb_dist/thingsboard-gateway-3.2/thingsboard_gateway/gateway/tb_client.py", line 28, in <module>
    from tb_gateway_mqtt import TBGatewayMqttClient, TBDeviceMqttClient
ModuleNotFoundError: No module named 'tb_gateway_mqtt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/thingsboard_gateway/thingsboard-gateway/deb_dist/thingsboard-gateway-3.2/thingsboard_gateway/tb_utility/tb_utility.py", line 146, in install_package
    result = check_call([executable, "-m", "pip", "install", package, "--upgrade", "--user"])
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3.8', '-m', 'pip', 'install', 'tb-mqtt-client', '--upgrade', '--user']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 20, in <module>
    from thingsboard_gateway.gateway.constants import VERSION
  File "/home/thingsboard_gateway/thingsboard-gateway/deb_dist/thingsboard-gateway-3.2/thingsboard_gateway/__init__.py", line 15, in <module>
    from thingsboard_gateway.gateway.tb_gateway_service import TBGatewayService
  File "/home/thingsboard_gateway/thingsboard-gateway/deb_dist/thingsboard-gateway-3.2/thingsboard_gateway/gateway/tb_gateway_service.py", line 42, in <module>
    from thingsboard_gateway.gateway.tb_client import TBClient
  File "/home/thingsboard_gateway/thingsboard-gateway/deb_dist/thingsboard-gateway-3.2/thingsboard_gateway/gateway/tb_client.py", line 31, in <module>
    TBUtility.install_package('tb-mqtt-client')
  File "/home/thingsboard_gateway/thingsboard-gateway/deb_dist/thingsboard-gateway-3.2/thingsboard_gateway/tb_utility/tb_utility.py", line 148, in install_package
    result = check_call([executable, "-m", "pip", "install", package, "--upgrade"])
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3.8', '-m', 'pip', 'install', 'tb-mqtt-client', '--upgrade']' returned non-zero exit status 1.
E: pybuild pybuild:341: clean: plugin distutils failed with: exit code=1: python3.8 setup.py clean 
dh_auto_clean: error: pybuild --clean -i python{version} -p 3.8 returned exit code 13
make: *** [debian/rules:7: clean] Error 13
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2
Traceback (most recent call last):
  File "setup.py", line 27, in <module>
    setup(
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 144, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/stdeb/command/bdist_deb.py", line 22, in run
    self.run_command('sdist_dsc')
  File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/stdeb/command/sdist_dsc.py", line 135, in run
    build_dsc(debinfo,
  File "/usr/lib/python3/dist-packages/stdeb/util.py", line 1397, in build_dsc
    dpkg_genchanges(cwd=fullpath_repackaged_dirname)
  File "/usr/lib/python3/dist-packages/stdeb/util.py", line 538, in dpkg_genchanges
    process_command(args,cwd=cwd)
  File "/usr/lib/python3/dist-packages/stdeb/util.py", line 183, in process_command
    check_call(args, cwd=cwd)
  File "/usr/lib/python3/dist-packages/stdeb/util.py", line 46, in check_call
    raise CalledProcessError(retcode)
stdeb.util.CalledProcessError: 2
Adding the files, scripts and permissions in the package
cp: cannot create directory 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway': No such file or directory
cp: cannot create directory 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway': No such file or directory
cp: cannot create directory 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway': No such file or directory
chown: cannot access 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway/': No such file or directory
chown: cannot access 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway/var/': No such file or directory
chmod: cannot access 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway/DEBIAN/preinst': No such file or directory
chmod: cannot access 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway/DEBIAN/postinst': No such file or directory
chown: cannot access 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway/DEBIAN/preinst': No such file or directory
sh: 1: cannot create deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway/DEBIAN/control: Directory nonexistent
dpkg-deb: error: failed to open package info file 'deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway//DEBIAN/control' for reading: No such file or directory
ar: ../deb_dist/thingsboard-gateway-/debian/python3-thingsboard-gateway.deb: No such file or directory
zstd: can't stat *.zst : No such file or directory -- ignored 
rm: cannot remove '*.zst': No such file or directory
xz: *.tar: No such file or directory
ar: creating ../python3-thingsboard-gateway.deb
ar: debian-binary: No such file or directory
thingsboard_gateway@DESKTOP-KOJPFOG:~/thingsboard-gateway$ 
imbeacon commented 1 year ago

Please try the version from the master branch.

ryan-2048 commented 1 year ago

Thanks. It worked, but there were a few mistakes at the end

dpkg-deb: building package 'python3-thingsboard-gateway' in '../python3-thingsboard-gateway_3.3-1_all.deb'.
 dpkg-genbuildinfo --build=binary
 dpkg-genchanges --build=binary >../thingsboard-gateway_3.3-1_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
Adding the files, scripts and permissions to the package
dpkg-deb: building package 'python3-thingsboard-gateway' in 'deb_dist/thingsboard-gateway-3.3/debian/python3-thingsboard-gateway.deb'.
zstd: can't stat *.zst : No such file or directory -- ignored
rm: cannot remove '*.zst': No such file or directory
xz: *.tar: No such file or directory
ryan-2048 commented 1 year ago

Run successfully! Executed after the installation is complete

sudo pip3 install --upgrade protobuf==3.20.0
samson0v commented 1 year ago

Hi @Kevin-ox, can we close the issue?

ryan-2048 commented 1 year ago

Of course. Thank you.