ola icon indicating copy to clipboard operation
ola copied to clipboard

Bug Report From RDM Tests

Open marknorton68 opened this issue 1 year ago • 1 comments

Error: can't concat str to bytes

Traceback (most recent call last): File "/usr/local/bin/rdm_test_server.py", line 283, in _RunTests tests, device = runner.RunTests(test_filter, False, self._UpdateStats) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dmx/ola/python/ola/testing/rdm/TestRunner.py", line 346, in RunTests test.Run() File "/home/dmx/ola/python/ola/testing/rdm/ResponderTest.py", line 321, in Run super(ResponderTestFixture, self).Run() File "/home/dmx/ola/python/ola/testing/rdm/ResponderTest.py", line 249, in Run self.Test() File "/home/dmx/ola/python/ola/testing/rdm/TestDefinitions.py", line 619, in Test data += chr(i) TypeError: can't concat str to bytes

marknorton68 avatar Jul 30 '24 15:07 marknorton68

DetermineMaxPacket size

marknorton68 avatar Jul 30 '24 15:07 marknorton68

Sorry for the slow reply!

Do you mean DetermineMaxPacketSize not GetMaxPacketSize? https://github.com/OpenLightingProject/ola/blob/b90866cd6742e68fa67e66217ec230cc1282f23e/tools/rdm/TestDefinitions.py#L619

What version of OLA and Python are you using?

peternewman avatar Feb 24 '25 17:02 peternewman

As per the auto-closure, this is now fixed in our master branch @marknorton68 . Let us know if you have any further issues with it.

peternewman avatar Mar 14 '25 20:03 peternewman