dmartinpro/RFLinkGateway

Error received: unsupported operand type

Opened this issue · 7 comments

Hi,

I might be doing something wrong, but cant figure it out.
When i launch it i get;

2019-02-08 15:22:24,656 - RFLinkGW.SerialProcessing - connect - INFO - Connecting to Serial
2019-02-08 15:22:36,521 - RFLinkGW.SerialProcessing - run - ERROR - Error received: unsupported operand type(s) for +: 'int' and 'str'
2019-02-08 15:22:36,523 - RFLinkGW.SerialProcessing - connect - INFO - Connecting to Serial

What am i doing wrong?

Greetz, Kris

What version of Python are you using?

Version 3

Could you please change the verbosity of logs to DEBUG and post them here?

I've committed a possible fix. Could you give it a try? (SerialProcessing file is the only file updated).

Let me know if it works.

Hi dmartinpro,

Thanks for your help, I'm going to test this soon. I'll let you know :)

Hi dmartinpro,

It does not seem to send any data, this is the last line;
2019-02-13 14:07:05,836 - RFLinkGW.MQTTClient - _on_connect - INFO - Connected to broker. Return code: Connection Accepted.

Could you please describe what you are trying to do.
Connection to the broker seems OK.
Are you trying to send a command to something or listening to an MQTT message?
In both cases, could you please describe a little bit more?
Did you modify log verbosity to DEBUG (see README.md)?