Just started getting a new error as of a few days ago:
Traceback (most recent call last):
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 397, 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/watson", line 33, in <module>
sys.exit(load_entry_point('td-watson==2.1.0', 'console_scripts', 'watson')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/watson", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 862, in distribution
return Distribution.from_name(distribution_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 399, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for td-watson
I installed watson with paru. I could fix the issue by doing the following things:
- Remove watson:
paru -R watson
- Delete cache:
rm -rf ~/.cache/paru/clone/watson
- Reinstall watson:
paru watson
Pinned Comments
loonies commented on 2019-12-08 22:14 (UTC) (edited on 2019-12-10 07:36 (UTC) by loonies)
Prior to flagging the package out-of-date or reporting build errors please:
Do not expect AUR packages to trigger rebuild or suggest bumping "pkgrel" number. This is expected behaviour and the way Arch packing is designed to work.
For more information read the official documentation and man pages.