chrippa/ds4drv

configparser.DuplicateOptionError: While reading from '/etc/ds4drv.conf'

Axis4s opened this issue · 3 comments

Axis4s commented

Traceback (most recent call last):
File "/usr/bin/ds4drv", line 33, in
sys.exit(load_entry_point('ds4drv==0.5.1', 'console_scripts', 'ds4drv')())
File "/usr/lib/python3.10/site-packages/ds4drv/main.py", line 132, in main
options = load_options()
File "/usr/lib/python3.10/site-packages/ds4drv/config.py", line 199, in load_options
config.load(path)
File "/usr/lib/python3.10/site-packages/ds4drv/config.py", line 74, in load
self.read([filename])
File "/usr/lib/python3.10/configparser.py", line 698, in read
self._read(fp, filename)
File "/usr/lib/python3.10/configparser.py", line 1097, in _read
raise DuplicateOptionError(sectname, optname,
configparser.DuplicateOptionError: While reading from '/etc/ds4drv.conf' [line 118]: option 'rel_wheelup' in section 'mapping:keyboard' already exists

Same error here. I have no idea what this option is or why it's in the config file by default :(

Same error here, installed from AUR

Fixed over 7 years ago. Get someone on the AUR to update the package with a fixed ds4drv.conf file.

cf20ed0