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
user@machine:~$ ds4drv
Traceback (most recent call last):
File "/usr/local/bin/ds4drv", line 5, in <module>
from ds4drv.__main__ import main
File "/usr/local/lib/python3.12/site-packages/ds4drv/__main__.py", line 5, in <module>
from .actions import ActionRegistry
File "/usr/local/lib/python3.12/site-packages/ds4drv/actions/__init__.py", line 1, in <module>
from ..action import ActionRegistry
File "/usr/local/lib/python3.12/site-packages/ds4drv/action.py", line 1, in <module>
from .config import add_controller_option
File "/usr/local/lib/python3.12/site-packages/ds4drv/config.py", line 72, in <module>
class Config(configparser.SafeConfigParser):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
Installed using sudo pip install ds4drv.
Fedora Workstation 39. Python Python 3.12.2.
The text was updated successfully, but these errors were encountered:
The solution to this is to navigate to /usr/local/lib/python3.12/site-packages/ds4drv/config.pyand modify lines 72 and 99 from SafeConfigParser to ConfigParser
Save and run again.
Also, on Fedora, you may run into an error regarding hcitools. If that's the case, then you need to install bluez-deprecated off the rpm, which includes hcitools.
ds4drv seems to be very old and has not been updated for modern versions of python or bluez, but should still work nonetheless.
Exception when trying to run.
Installed using
sudo pip install ds4drv
.Fedora Workstation 39. Python Python 3.12.2.
The text was updated successfully, but these errors were encountered: