You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I previously opened this issue at polychromatic/polychromatic#287 but it was confirmed to be an issue with openrazer, and thus I am opening it here.
I am using the Razer Kraken Ultimate headset and pulled the latest commit 55c219f from the master branch. Steps to reproduce are as follows:
I set the Breath effect for my device using Single or Dual, and the headset colors work.
I then set the Triple color effect, and the headset colors also work and will cycle through all three colors.
I then go back and select either Single or Dual, which produces the stacktrace below. I've also noticed that any future selection of Single or Dual in the Breath effect, or even the single color from Static effect, will continue to produce this error. The only workaround is to unplug and replug in my device.
I've also noted when using polychromatic, that the Triple color effect is labeled undefined, which may be related. I also noticed that the stacktrace is in chroma_keyboard.py but that isn't one of the devices I am using.
Stacktrace below:
Traceback (most recent call last):
File "test-razer.py", line 12, in <module>
device.fx.breath_dual(255,255,255, 128,128,128) # Error happens
File "/usr/lib/python3.8/site-packages/openrazer/client/fx.py", line 277, in breath_dual
self._lighting_dbus.setBreathDual(red, green, blue, red2, green2, blue2)
File "/usr/lib64/python3.8/site-packages/dbus/proxies.py", line 141, in __call__
return self._connection.call_blocking(self._named_service,
File "/usr/lib64/python3.8/site-packages/dbus/connection.py", line 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
File "/usr/lib64/python3.8/site-packages/dbus/service.py", line 711, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/lib/python3.8/site-packages/openrazer_daemon/dbus_services/dbus_methods/chroma_keyboard.py", line 479, in set_breath_dual_effect
First byte is row, on firefly its always 1, on keyboard its 0-5
TypeError: 'tuple' object does not support item assignment
Distribution
Fedora 32, kernel 5.8.10-200.fc32.x86_64
Support
Reproduce Issue
I previously opened this issue at polychromatic/polychromatic#287 but it was confirmed to be an issue with openrazer, and thus I am opening it here.
I am using the Razer Kraken Ultimate headset and pulled the latest commit 55c219f from the master branch. Steps to reproduce are as follows:
I set the Breath effect for my device using Single or Dual, and the headset colors work.
I then set the Triple color effect, and the headset colors also work and will cycle through all three colors.
I then go back and select either Single or Dual, which produces the stacktrace below. I've also noticed that any future selection of Single or Dual in the Breath effect, or even the single color from Static effect, will continue to produce this error. The only workaround is to unplug and replug in my device.
I've also noted when using polychromatic, that the Triple color effect is labeled
undefined
, which may be related. I also noticed that the stacktrace is inchroma_keyboard.py
but that isn't one of the devices I am using.Stacktrace below:
In a python3 interpreter:
The text was updated successfully, but these errors were encountered: