Description
Hi, when I'm executing the ds4drv, I've receive this error:
``
Traceback (most recent call last):
File "/home/user/.local/lib/python3.13/site-packages/ds4drv/main.py", line 29, in init
self.actions.append(cls(self)) # Pass the controller instance to the action
~~~^^^^^^
TypeError: NewBase() takes no arguments
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/ds4drv", line 33, in
sys.exit(load_entry_point('ds4drv==0.5.1', 'console_scripts', 'ds4drv')())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/home/user/.local/lib/python3.13/site-packages/ds4drv/main.py", line 173, in main
threads.append(create_controller_thread(index, controller_options))
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/lib/python3.13/site-packages/ds4drv/main.py", line 126, in create_controller_thread
controller = DS4Controller(index, controller_options, dynamic)
File "/home/user/.local/lib/python3.13/site-packages/ds4drv/main.py", line 31, in init
self.logger.error(f"Failed to initialize action {cls.name}: {err}")
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/lib/python3.13/site-packages/ds4drv/logger.py", line 66, in error
self._manager._log(self._module, "error", msg, *args, **kwargs)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/lib/python3.13/site-packages/ds4drv/logger.py", line 45, in _log
if self._level < level:
^^^^^^^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'int' and 'str'
``