Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S Solaar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pwr-Solaar
  • Solaar
  • Issues
  • #1288
Closed
Open
Issue created Oct 11, 2021 by Administrator@rootContributor

add_device(): tray.py:372:_add_device:IndexError: list index out of range

Created by: rathann

Information

  • Solaar version (solaar --version or git describe --tags if cloned from this repository): 1.0.6
  • Distribution: Fedora 34
  • Kernel version (ex. uname -srmo): 5.13.14-200.fc34.x86_64
  • Output of solaar show: N/A

Describe the bug This is a forwarded bug report from Fedora bug tracker. User was fiddling with solaar in order to change the default behaviour of the multimedia keys on a TK820 keyboard. Apparently they also had a G900 Gaming Mouse

To Reproduce Steps to reproduce the behavior: N/A

Screenshots If applicable, add screenshots to help explain your problem.

Additional context

Truncated backtrace:
tray.py:372:_add_device:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/solaar/ui/__init__.py", line 177, in _status_changed
    tray.update(device)
  File "/usr/lib/python3.9/site-packages/solaar/ui/tray.py", line 535, in update
    index = _add_device(device)
  File "/usr/lib/python3.9/site-packages/solaar/ui/tray.py", line 372, in _add_device
    path, number, _ignore, _ignore = _devices_info[index]
IndexError: list index out of range

Local variables in innermost frame:
device: <Device(1,4053,G900 Chaos Spectrum Gaming Mouse,B2194B48)>
receiver_path: '/dev/hidraw7'
index: 0
Assignee
Assign to
Time tracking