bithatch / snake

A stylised graphical tool for configuring and controlling Razer devices on Linux

Home Page:http://www.bithatch.co.uk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to initialize, setLowBatteryThreshold not a valid method

TheMenko opened this issue · comments

commented

Distribution

Arch Linux , Zen kernel 6.1.12
Device: Razer Mouse Deathadder v3 pro White edition
OpenRazer logs:
2023-02-23 16:56:52 | razer | INFO | Initialising Daemon (v3.5.1). Pid: 1650 2023-02-23 16:56:52 | razer.screensaver | INFO | Initialising DBus Screensaver Monitor 2023-02-23 16:56:52 | razer | INFO | Found device.0: 0003:1532:00B7.0001 2023-02-23 16:56:52 | razer.device0 | INFO | Initialising device.0 RazerDeathAdderV3ProWireless 2023-02-23 16:56:53 | razer | INFO | Serving DBus

Issue

Upon opening Snake, it displays updater and then immediately crashes with an error
Unknown method: setLowBatteryThreshold is not a valid method of interface razer.device.power

Stacktrace

Feb 23, 2023 5:05:54 PM uk.co.bithatch.snake.ui.App createMainScene SEVERE: Failed to initialize. org.freedesktop.dbus.errors.UnknownMethod: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/dbus/service.py", line 662, in _message_cb (candidate_method, parent_method) = _method_lookup(self, method_name, interface_name) File "/usr/lib/python3.10/site-packages/dbus/service.py", line 252, in _method_lookup raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface)) dbus.exceptions.UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: setLowBatteryThreshold is not a valid method of interface razer.device.power at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source) at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source) at app/org.freedesktop.dbus@4.0.0-SNAPSHOT/org.freedesktop.dbus.errors.Error.getException(Error.java:145) at app/org.freedesktop.dbus@4.0.0-SNAPSHOT/org.freedesktop.dbus.errors.Error.throwException(Error.java:175) at app/org.freedesktop.dbus@4.0.0-SNAPSHOT/org.freedesktop.dbus.RemoteInvocationHandler.executeRemoteMethod(RemoteInvocationHandler.java:152) at app/org.freedesktop.dbus@4.0.0-SNAPSHOT/org.freedesktop.dbus.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:216) at app/jdk.proxy1/jdk.proxy1.$Proxy13.setLowBatteryThreshold(Unknown Source) at app/uk.co.bithatch.snake.lib.backend.openrazer/uk.co.bithatch.snake.lib.backend.openrazer.NativeRazerDevice.<init>(NativeRazerDevice.java:1240) at app/uk.co.bithatch.snake.lib.backend.openrazer/uk.co.bithatch.snake.lib.backend.openrazer.OpenRazerBackend.getDevices(OpenRazerBackend.java:66) at app/uk.co.bithatch.snake.lib.backend.openrazer/uk.co.bithatch.snake.lib.backend.openrazer.OpenRazerBackend.init(OpenRazerBackend.java:151) at app/uk.co.bithatch.snake.ui/uk.co.bithatch.snake.ui.App.initBackend(App.java:601) at app/uk.co.bithatch.snake.ui/uk.co.bithatch.snake.ui.App.createMainScene(App.java:530) at app/uk.co.bithatch.snake.ui/uk.co.bithatch.snake.ui.App.start(App.java:458) at app/javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846) at app/javafx.graphics/com.sun.javafx.application.LauncherImpl$$Lambda$188/0x000000005802b2f8.run(Unknown Source) at app/javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455) at app/javafx.graphics/com.sun.javafx.application.PlatformImpl$$Lambda$184/0x0000000058029dd8.run(Unknown Source) at app/javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428) at app/javafx.graphics/com.sun.javafx.application.PlatformImpl$$Lambda$186/0x000000005802af28.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at app/javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427) at app/javafx.graphics/com.sun.javafx.application.PlatformImpl$$Lambda$185/0x000000005802a9a0.run(Unknown Source) at app/javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96) at app/javafx.graphics/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at app/javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277) at app/javafx.graphics/com.sun.glass.ui.gtk.GtkApplication$$Lambda$174/0x00000000840c30a0.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source)