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

Failure to run with Python 1.13 on Arch Linux #675

Closed
Thalley opened this issue Jan 13, 2025 · 3 comments
Closed

Failure to run with Python 1.13 on Arch Linux #675

Thalley opened this issue Jan 13, 2025 · 3 comments
Labels

Comments

@Thalley
Copy link

Thalley commented Jan 13, 2025

Describe the bug
Version 2.2.2-3 from https://aur.archlinux.org/packages/safeeyes no longer works. Not sure if this is related to Arch, Python 3.13 or both.

To Reproduce
Simply running safeeyes gives the following

$ safeeyes 
Traceback (most recent call last):
  File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 407, in from_name
    return next(iter(cls.discover(name=name)))
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/safeeyes", line 33, in <module>
    sys.exit(load_entry_point('safeeyes==2.2.2', 'console_scripts', 'safeeyes')())
             ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/safeeyes", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
                       ~~~~~~~~~~~~^^^^^^^^^^^
  File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 960, in distribution
    return Distribution.from_name(distribution_name)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 409, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for safeeyes

Expected behavior
Expect it to run as usual.

Desktop (please complete the following information):

  • OS: [e.g. Ubuntu 20.04, Manjaro]: Arch
  • Desktop Env [e.g. Gnome, KDE]: XFCE
  • Version [e.g. 2.0.3]: 2.2.2-3

Debug Log
Running with safeeyes --debug stops with the above issue before a log can be created.

Screenshots
N/A

@Thalley Thalley added the bug label Jan 13, 2025
@UZziell
Copy link

UZziell commented Feb 6, 2025

I had the same issue. Apparently /usr/lib/python3.13/site-packages/safeeyes-2.2.2-py3.13.egg-info was missing for some reason.
Reinstalling safeeyes with

yay -Rns safeeyes && yay -S safeeyes

solved it for me.

@Thalley
Copy link
Author

Thalley commented Feb 6, 2025

I had the same issue. Apparently /usr/lib/python3.13/site-packages/safeeyes-2.2.2-py3.13.egg-info was missing for some reason. Reinstalling safeeyes with

yay -Rns safeeyes && yay -S safeeyes

solved it for me.

This works for me too. Don't know if this needs to be fixed in an update, or if this issue can be closed

@archisman-panigrahi
Copy link
Collaborator

In Arch Linux, a lot of python apps need to be rebuilt after a major python version upgrade.

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

No branches or pull requests

3 participants