Új hozzászólás Aktív témák

  • #68216320

    törölt tag

    Belefutottam egy frissítés utáni hibába. A "caffeine-ng" csomagban lévő caffeine nem indul.
    $ caffeine
    Traceback (most recent call last):
      File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 563, in from_name
        return next(cls.discover(name=name))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    StopIteration
    During handling of the above exception, another exception occurred:
    Traceback (most recent call last):
      File "/usr/bin/caffeine", line 33, in <module>
        sys.exit(load_entry_point('caffeine-ng==4.0.2', 'gui_scripts', 'caffeine')())
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/bin/caffeine", line 22, in importlib_load_entry_point
        for entry_point in distribution(dist_name).entry_points
                           ^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 981, in distribution
        return Distribution.from_name(distribution_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 565, in from_name
        raise PackageNotFoundError(name)
    importlib.metadata.PackageNotFoundError: No package metadata was found for caffeine-ng

    Próbáltam törölni, majd újra felrakni a csomagot. Ezek rendben lezajlottak, de nem indul.
    Egész pontosan mire utal ez a hiba? Illetve hogyan lehetne rendbetenni?

    Update:
    A repónál írnak egy ilyet:
    After an upgrade to Python 3.11, you need to rebuild this package (and all Python packages in the AUR).

    Hogyan kell újra build-elnem a python csomagokat?

Új hozzászólás Aktív témák

Hirdetés