Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Axis4s opened this issue Feb 25, 2023 · 3 comments
Open

Comments

@Axis4s
Copy link

Axis4s commented Feb 25, 2023

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

@dhasial
Copy link

dhasial commented Aug 26, 2023

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

@softestpoly
Copy link

Same error here, installed from AUR

@Ryochan7
Copy link
Contributor

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

cf20ed0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants