Activity log for bug #1980234

Date Who What changed Old value New value Message
2022-06-29 12:08:01 stupid user bug added bug
2022-06-30 07:16:57 stupid user description Python bindings for Open Lighting Architecture has bug in module /usr/lib/python3/dist-packages/ola/OlaClient.py in method SendDmx of class OlaClient, at line 955: if sys.version >= '3.2': request.data = data.tobytes() else: request.data = data.tostring() Calling this method raises an exception: AttributeError: 'array.array' object has no attribute 'tostring' In latest module version (at https://github.com/OpenLightingProject/) line 955 looks like this: if sys.version_info >= (3, 2): and works correctly. Python bindings for Open Lighting Architecture has bug in module /usr/lib/python3/dist-packages/ola/OlaClient.py in method SendDmx of class OlaClient, at line 955:     if sys.version >= '3.2':       request.data = data.tobytes()     else:       request.data = data.tostring() Calling this method raises an exception:     AttributeError: 'array.array' object has no attribute 'tostring' because checking Python version by comparing strings returns the wrong result. In latest module version (at https://github.com /OpenLightingProject/) line 955 looks like this:     if sys.version_info >= (3, 2): and works correctly.