woefe / ytcc

Command line tool to keep track of your favorite playlists on YouTube and many other places.
GNU General Public License v3.0
178 stars 20 forks source link

broken YTCC after Archlinux update #116

Closed Gohub007 closed 1 year ago

Gohub007 commented 1 year ago

after a major update on Archlinux we have a broken YTCC command. We downgraded the corresponding dependencies of YTCC but python error remains.

To Reproduce Steps to reproduce the behavior: ytcc update

Expected behavior A clear and concise description of what you expected to happen.

Environment, configuration and version information Archlinux Gnome 43.5 Wayland YTCC Version : 2.6.1-1

Add the output of ytcc bug-report here

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/ytcc", line 33, in sys.exit(load_entry_point('ytcc==2.6.1', 'console_scripts', 'ytcc')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/bin/ytcc", 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 ytcc


**Debug log (optional)**
Enable the debug logging and run buggy command again. Note, that this can print sensitive information!

ytcc --loglevel debug



**Additional context**
Add any other context about the problem here.
Gohub007 commented 1 year ago

we installed the Archlinux ytcc-git r447.8893bc9-1 the problem is solved

Gohub007 commented 1 year ago

change from aur/ytcc to aur/ytcc-git solved the issue

woefe commented 1 year ago

Reinstalling the stable package should also have solved the issue. This is normal whenever there is a bigger Python update in Arch. Thanks for bringing this up. I was late on my Arch updates this time and did not notice.

Bumped the stable package pkgrel. You should be able to install the non git package again.