Package Details: pyload-ng 0.5.0b3.dev78-1

Git Clone URL: https://aur.archlinux.org/pyload-ng.git (read-only, click to copy)
Package Base: pyload-ng
Description: The free and open-source Download Manager written in pure Python
Upstream URL: https://pyload.net/
Licenses: AGPL3
Submitter: micwoj92
Maintainer: None
Last Packager: micwoj92
Votes: 6
Popularity: 0.24
First Submitted: 2021-12-14 00:56 (UTC)
Last Updated: 2024-01-21 22:00 (UTC)

Latest Comments

1 2 3 Next › Last »

micwoj92 commented on 2024-05-01 21:15 (UTC)

You need to rebuild all your python packages that are not in repos.

prestidigitonium commented on 2024-05-01 16:54 (UTC) (edited on 2024-05-01 16:58 (UTC) by prestidigitonium)

$ pyload
Traceback (most recent call last):
  File "/usr/bin/pyload", line 33, in <module>
    sys.exit(load_entry_point('pyload-ng==0.5.0b3', 'console_scripts', 'pyload')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/pyload", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3.12/site-packages/pyload/__init__.py", line 15, in <module>
    import pkg_resources
  File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 3324, in <module>
    @_call_aside
     ^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 3299, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 3337, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 631, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 968, in require
    needed = self.resolve(parse_requirements(requirements))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 829, in resolve
    dist = self._resolve_dist(
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'Flask-Session' distribution was not found and is required by pyload-ng

micwoj92 commented on 2023-10-22 00:26 (UTC)

This update requires manual intervention, you must first uninstall python-flask-session and then install python-flask-session2 as these conflict with each other.

Simple way is to sudo pacman -Rdd python-flask-session, then install the latter package in your preferred way and update pyload-ng afterwards.

JustinSB commented on 2023-07-31 06:40 (UTC)

Fixed. As you advised, I rebuilt all my AUR python packages using 3.11 and that fixed it all. Thank you for your time & patience

micwoj92 commented on 2023-07-24 16:44 (UTC)

If the package is built using python 3.11 and there are no files in "/usr/lib/python3.10" then I'm afraid I can't help you with this issue anymore.

JustinSB commented on 2023-07-24 07:46 (UTC)

Ahh. Apologies for the pyload start. Obviously not thinking clearly. The "pyload" command generates the same error as below regardless of the argument used

micwoj92 commented on 2023-07-22 09:16 (UTC)

Also what is "pyload start"? I start using "pyload --daemon" usually, when I tried pyload start I got

usage: pyload [-h] [-d] [-r] [--storagedir STORAGEDIR] [--userdir USERDIR]
              [--tempdir TEMPDIR] [--pidfile PIDFILE] [--dry-run] [--daemon]
              [--quit] [--status] [--version]
pyload: error: unrecognized arguments: start

micwoj92 commented on 2023-07-22 09:07 (UTC)

It seems like issue after updating your python interpreter. Make sure to rebuild all your python packages from AUR. You can check if you have any packages on older python version using pacman -Qoq /usr/lib/python3.10.

JustinSB commented on 2023-07-22 07:22 (UTC) (edited on 2023-07-22 07:25 (UTC) by JustinSB)

Arch Linux ARM running on a Raspberry Pi 4, fully updated

Python 3.11.3

Normally I start it as a systemd service, but using pyload start made it easier to copy the error

$ pyload start
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/pyload", line 33, in <module>
    sys.exit(load_entry_point('pyload-ng==0.5.0b3', 'console_scripts', 'pyload')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/pyload", 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 pyload-ng

micwoj92 commented on 2023-07-21 21:05 (UTC)

What OS are you using and what is your python version? Could you post entire error message?