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

Regression in 1.1.14: ModuleNotFoundError: No module named 'typing_extensions' #2790

Closed
netsandbox opened this issue Jan 29, 2025 · 4 comments

Comments

@netsandbox
Copy link

Information

  • Solaar version (solaar --version or git describe --tags if cloned from this repository): 1.1.14-1build1~ubuntu22.04.1
  • Distribution: Ubuntu 22.04.5
  • Kernel version (ex. uname -srmo): Linux 6.8.0-52-generic x86_64 GNU/Linux
  • Output of solaar show:
SOLAAR SHOW OUTPUT HERE
  • Contents of ~/.config/solaar/config.yaml (or ~/.config/solaar/config.json if ~/.config/solaar/config.yaml not present):
CONTENTS HERE
  • Errors or warrnings from Solaar:

Describe the bug
After uprading solaar from the stable Ubuntu ppa from 1.1.13 to 1.1.4 solaar don't start and shown s a traceback:

$ solaar show
Traceback (most recent call last):
  File "/usr/bin/solaar", line 53, in <module>
    import solaar.gtk
  File "/usr/share/solaar/lib/solaar/gtk.py", line 34, in <module>
    from solaar import cli
  File "/usr/share/solaar/lib/solaar/cli/__init__.py", line 26, in <module>
    from logitech_receiver import device
  File "/usr/share/solaar/lib/logitech_receiver/device.py", line 35, in <module>
    from . import hidpp10
  File "/usr/share/solaar/lib/logitech_receiver/hidpp10.py", line 22, in <module>
    from typing_extensions import Protocol
ModuleNotFoundError: No module named 'typing_extensions'

To Reproduce
Steps to reproduce the behavior:

  1. Install latest (1.1.14-1build1~ubuntu22.04.1) package from Ubuntu ppa on Ubuntu 22.04
  2. run solaar show
@netsandbox netsandbox added the bug label Jan 29, 2025
@pfps
Copy link
Collaborator

pfps commented Jan 29, 2025

The Ubuntu PPA needs to be updated. Problems with the PPA should be addressed to the team responsible for it.

@pfps
Copy link
Collaborator

pfps commented Jan 29, 2025

You can also install the module yourself, but the correct method may depend on your Linux distribution.

@harpogo
Copy link

harpogo commented Jan 29, 2025

Not sure it's a problem with the PPA itself. New in version 1.1.4 is the import from typing_extensions import Protocol. But in the PPA-package should python3-typing-extensions-package listed as dependency which is missing in the actual version. I've already reported to the solaar-ppa-team.

@netsandbox
Copy link
Author

Problem was fixed in the ppa package.

Thanks for your support.

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

No branches or pull requests

3 participants