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

sctipt fails to run #10

Open
Spudd86 opened this issue May 1, 2022 · 4 comments
Open

sctipt fails to run #10

Spudd86 opened this issue May 1, 2022 · 4 comments

Comments

@Spudd86
Copy link

Spudd86 commented May 1, 2022

Starting the script after installing it, it immediately crashes with the following output

Traceback (most recent call last):
  File "env/bin/m720-config", line 11, in <module>
    load_entry_point('m720-config', 'console_scripts', 'm720-config')()
  File "/home/thomasjones/packages/logitech-m720-config/m720_config/__init__.py", line 149, in main
    buttons = SpecialKeysMseButtons ()
  File "/home/thomasjones/packages/logitech-m720-config/m720_config/__init__.py", line 25, in __init__
    device_info = next (r for r in receivers () if r.product_id.lower() == "c52b")
StopIteration

I tried installing it as in the readme, and the uninstalling and doing it again with Ubuntu instructions and in a venv, same results

@fin-ger
Copy link
Owner

fin-ger commented May 1, 2022

Looks like the mouse is not connected or not a M720 Triathlon. I added a report of currently connected devices to the beginning of the script, so you can check.

@Spudd86
Copy link
Author

Spudd86 commented May 2, 2022

I had it connected over bluetooth, not the dongle. Is that why?

@tinnamchoi
Copy link

I seem to be having the same problem. I'm also using Bluetooth to connect rather than the Unifying dongle.

### CURRENTLY CONNECTED DEVICES ###
     path     vendor_id product_id serial release manufacturer product interface driver               bus_id isDevice
Report Descriptor not processed for BID 0018 VID 000004F3 PID 000030FD: Expecting 4 usages but got 2

Report Descriptor not processed for BID 0018 VID 000004F3 PID 000030FD: Expecting 4 usages but got 2
Traceback (most recent call last):
  File "/home/tmt/.local/bin/m720-config", line 8, in <module>
    sys.exit(main())
  File "/path/to/logitech-m720-config/m720_config/__init__.py", line 156, in main
    buttons = SpecialKeysMseButtons ()
  File "/path/to/logitech-m720-config/m720_config/__init__.py", line 33, in __init__
    device_info = next (r for r in receivers () if r.product_id.lower() == "c52b")
StopIteration

@lingium
Copy link

lingium commented Apr 6, 2024

我通过蓝牙连接它,而不是适配器。是因为这个吗?

yes, you have to change it to usb

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