Package Details: pyload-ng 0.5.0b3.dev87-3

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: matthewq337 (micwoj92)
Last Packager: micwoj92
Votes: 8
Popularity: 0.44
First Submitted: 2021-12-14 00:56 (UTC)
Last Updated: 2024-11-03 11:52 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

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?

JustinSB commented on 2023-07-21 19:50 (UTC)

importlib.metadata.PackageNotFoundError: No package metadata was found for pyload-ng pyload.service: Main process exited, code=exited, status=1/FAILURE

All latest updates installed, pyload-ng crashes on load. What do I need to do to fix it please? I tried reverting python-cachelib but it made no difference.

micwoj92 commented on 2023-05-16 22:43 (UTC) (edited on 2023-05-16 22:44 (UTC) by micwoj92)

This issue has been fixed now with python-flask-caching 2.0.2-3. There is now another one with python-flask-babel pkg_resources.DistributionNotFound: The 'pytz<2023.0,>=2022.7' distribution was not found and is required by Flask-Babel but it is fixed in latest version (3.1.0) so just need to wait for when it lands in repos.

micwoj92 commented on 2023-05-16 18:17 (UTC) (edited on 2023-05-16 18:17 (UTC) by micwoj92)

I didn't have time to look at this until now, this is because Arch ships uncompatible versions of cachelib, flask-caching https://bugs.archlinux.org/task/78533

micwoj92 commented on 2023-05-01 17:04 (UTC)

Hello, are you sure that it is cachelib? I can't see any breaking changes in that release in changelog https://cachelib.readthedocs.io/en/stable/changes

I hope that flask will be updated soon after python 3.11 lands in repos, until then I think I will withhold from updating this.

Funkin-Stoopid commented on 2023-05-01 16:19 (UTC)

Hello python-cachelib 0.10.2-1 breaks pyload-ng If we upgrade pyload-ng to 0.5.0b3.dev68, It fixes but a new dependency break it again. It needs python-flask 2.3.0 which is not available in repositories. So we have to downgrade to python-cachelib 0.9.0-1.

micwoj92 commented on 2023-03-06 22:11 (UTC) (edited on 2023-03-06 22:13 (UTC) by micwoj92)

Hello

how about creating a package using the develop branch of git?

Feel free to, but I have no plans to do this. Basically now (until first stable version will be released) this package is "git" package as every new pypi release is created on every commit, but on main branch. There used to be old pyload-git package but it was old python2 version and not updated. I submited deletion request for it and then uploaded this package shortly after.

I almost did a pull request for a bug already fixed in develop. I guess this program could benefit a lot from fast bug fixes.

If you have some commits/prs that you want me to add then feel free to post in comments, I can add these until new commits on main.

Also you should add provides/conflicts lines to your PKGBUILD.

Provides/conflicts on "pyload-ng" (itself) are pointless. I don't think I will add provides/conflicts on pyload. Do you know any program in AUR that has depends on pyload? In that case I could add it.

I modified your PKGBUILD to provide a pyload-ng-git-develop package as an example. But it's flawed (missing git as build requirement, not computing pkgver from git, and more?!).

Also name should be pyload-ng-develop-git. It is bad, because upstream doesn't add tags for this pyload-ng, so at best you could just use commit revisions (which I am not a big fan of personally) https://github.com/pyload/pyload/tags

Edit. you could also technically get pkgver from https://github.com/pyload/pyload/blob/main/VERSION and then append git rev or something, but also not ideal in my opinion.