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

Some problem #184

Open
vitacell opened this issue Feb 23, 2021 · 2 comments
Open

Some problem #184

vitacell opened this issue Feb 23, 2021 · 2 comments

Comments

@vitacell
Copy link

Looks like the normal python cancer:

bash-4.3$ ds4drv
Traceback (most recent call last):
File "/usr/bin/ds4drv", line 9, in
load_entry_point('ds4drv==0.5.0', 'console_scripts', 'ds4drv')()
File "/usr/lib64/python2.7/site-packages/ds4drv/main.py", line 355, in main
options = load_options()
File "/usr/lib64/python2.7/site-packages/ds4drv/main.py", line 334, in load_options
parse_uinput_mapping(name, mapping)
File "/usr/lib64/python2.7/site-packages/ds4drv/uinput.py", line 386, in parse_uinput_mapping
mouse=mouse, mouse_options=mouse_options)
File "/usr/lib64/python2.7/site-packages/ds4drv/uinput.py", line 41, in create_mapping
mouse = {getattr(ecodes, k): v for k,v in mouse.items()}
File "/usr/lib64/python2.7/site-packages/ds4drv/uinput.py", line 41, in
mouse = {getattr(ecodes, k): v for k,v in mouse.items()}
AttributeError: 'module' object has no attribute 'REL_WHEELDOWN'

bash-4.3$ ds4drv --hidraw
Traceback (most recent call last):
File "/usr/bin/ds4drv", line 9, in
load_entry_point('ds4drv==0.5.0', 'console_scripts', 'ds4drv')()
File "/usr/lib64/python2.7/site-packages/ds4drv/main.py", line 355, in main
options = load_options()
File "/usr/lib64/python2.7/site-packages/ds4drv/main.py", line 334, in load_options
parse_uinput_mapping(name, mapping)
File "/usr/lib64/python2.7/site-packages/ds4drv/uinput.py", line 386, in parse_uinput_mapping
mouse=mouse, mouse_options=mouse_options)
File "/usr/lib64/python2.7/site-packages/ds4drv/uinput.py", line 41, in create_mapping
mouse = {getattr(ecodes, k): v for k,v in mouse.items()}
File "/usr/lib64/python2.7/site-packages/ds4drv/uinput.py", line 41, in
mouse = {getattr(ecodes, k): v for k,v in mouse.items()}
AttributeError: 'module' object has no attribute 'REL_WHEELDOWN'

@DethByte64
Copy link

Execute like this:

python3 ds4drv

Its trying to execute in bash.

@albfan
Copy link

albfan commented Dec 16, 2021

Trace shows it is not running as bash, but as python.

ecodes is from evdev so probably this is an error with evdev module.

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

3 participants