wadoadi / Google-Assistant-SkyHD-Box-Integration

Use Google Assistant to control your SkyHD via a Raspberry Pi
5 stars 5 forks source link

skyhdgooglecontrol.py error #3

Open mgarland1988 opened 4 years ago

mgarland1988 commented 4 years ago

I am getting some errors when running the following: python3 skyhdgooglecontrol.py

Here is the first error:

Traceback (most recent call last): File "skyhdgooglecontrol.py", line 4, in print(datetime.datetime.now() + "SkyHD Google Control script started") TypeError: unsupported operand type(s) for +: 'datetime.datetime' and 'str'

I removed the "(datetime.datetime.now()" to check the rest of the script.

I then had the following error:

_SkyHD Google Control script started path: /home/pi/Google-Assistant-SkyHD-Box-Integration Traceback (most recent call last): File "skyhdgooglecontrol.py", line 85, in channel.basic_consume(callback, queue=config['CloudAMQP']['queue'], no_ack=True) TypeError: basicconsume() got multiple values for argument 'queue'

I can confirm the following module versions: pika 1.1.0
pip 18.1

(I had a pika error initally, that seems to be fixed by installing pip/pika modules).

If you need further info, please let me know. I appreaciet your help.

Many thanks