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
  • #1570
Closed
Open
Issue created Apr 20, 2022 by Administrator@rootContributor

SyntaxError: more than 255 arguments with python 3.6 on RHEL 8 and derivatives

Created by: rathann

Information

  • Solaar version (solaar --version or git describe --tags if cloned from this repository): 1.1.3rc2-2-g9ed76b2
  • Distribution: RHEL 8.5
  • Kernel version (ex. uname -srmo): Linux 4.18.0-348.20.1.el8_5.x86_64 x86_64 GNU/Linux
  • Output of solaar show:
solaar: error: Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/solaar/cli/__init__.py", line 196, in run
    c = list(_receivers(hidraw_path))
  File "/usr/lib/python3.6/site-packages/solaar/cli/__init__.py", line 101, in _receivers
    from logitech_receiver import Receiver
  File "/usr/lib/python3.6/site-packages/logitech_receiver/__init__.py", line 33, in <module>
    from . import listener, status  # noqa: F401
  File "/usr/lib/python3.6/site-packages/logitech_receiver/listener.py", line 25, in <module>
    from . import base as _base
  File "/usr/lib/python3.6/site-packages/logitech_receiver/base.py", line 34, in <module>
    from . import hidpp10 as _hidpp10
  File "/usr/lib/python3.6/site-packages/logitech_receiver/hidpp10.py", line 27, in <module>
    from .hidpp20 import BATTERY_STATUS, FIRMWARE_KIND
  File "/usr/lib/python3.6/site-packages/logitech_receiver/hidpp20.py", line 30, in <module>
    from . import special_keys
  File "/usr/lib/python3.6/site-packages/logitech_receiver/special_keys.py", line 27
    Volume_Up=0x0001,
    ^
SyntaxError: more than 255 arguments

Describe the bug After commit 0e1522aa , solaar no longer runs on RHEL 8 with the default python (3.6.8).

To Reproduce Steps to reproduce the behavior:

  1. Run solaar show
  2. See error

Screenshots N/A

Assignee
Assign to
Time tracking