JamesHarrison / openob

The Open Outside Broadcast project for radio contribution links and studio-transmitter links.
158 stars 34 forks source link

server does not connect #42

Closed endriuman closed 5 years ago

endriuman commented 5 years ago

This message always appears to me.

### redis.exceptions.DataError: Invalid input of type: 'bool'. Convert to a byte, string or number first.****

endriuman commented 5 years ago

Traceback (most recent call last): File "/usr/local/bin/openob", line 61, in link_config.set_from_argparse(opts) File "/usr/local/lib/python2.7/dist-packages/openob/link_config.py", line 89, in set_from_argparse self.set("multicast", opts.multicast) File "/usr/local/lib/python2.7/dist-packages/openob/link_config.py", line 51, in set self.redis.set(scoped_key, value) File "/usr/local/lib/python2.7/dist-packages/redis/client.py", line 1394, in set return self.execute_command('SET', pieces) File "/usr/local/lib/python2.7/dist-packages/redis/client.py", line 754, in execute_command connection.send_command(args) File "/usr/local/lib/python2.7/dist-packages/redis/connection.py", line 619, in send_command self.send_packed_command(self.pack_command(*args)) File "/usr/local/lib/python2.7/dist-packages/redis/connection.py", line 659, in pack_command for arg in imap(self.encoder.encode, args): File "/usr/local/lib/python2.7/dist-packages/redis/connection.py", line 113, in encode raise DataError("Invalid input of type: 'bool'. Convert to a " redis.exceptions.DataError: Invalid input of type: 'bool'. Convert to a byte, string or number first.

PeterPancorbo commented 5 years ago

Having same problem. Could you solve it?

Thanks!

djsakisd commented 5 years ago

@PeterPancorbo @endriuman Can you try to dowgrade the redis version using pip and try again.. It's an issue most probably with redis python library rather than openob code.

Had the same problem with a few machines when upgraded the redis python.

jonty-comp commented 5 years ago

It looks like this is due to a new check in redis > 3.0.0, released in November - I'll see what I can do.

PeterPancorbo commented 5 years ago

Thanks so much!! All working fine now.

JamesHarrison commented 5 years ago

Finally cut a new release so this should now be sorted.