Package Details: gallery-dl 1.28.5-1

Git Clone URL: https://aur.archlinux.org/gallery-dl.git (read-only, click to copy)
Package Base: gallery-dl
Description: Command-line program to download image-galleries and collections from several image hosting sites
Upstream URL: https://github.com/mikf/gallery-dl
Keywords: downloader gallery image python terminal
Licenses: GPL-2.0-or-later
Submitter: lll2yu
Maintainer: katt
Last Packager: katt
Votes: 74
Popularity: 4.29
First Submitted: 2018-03-29 17:35 (UTC)
Last Updated: 2025-01-28 16:14 (UTC)

Dependencies (17)

Sources (1)

Pinned Comments

lll2yu commented on 2018-04-21 02:57 (UTC)

Before running makepkg add Mike Fährmann's key

gpg --recv-keys 5680CA389D365A88

Latest Comments

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

katt commented on 2023-03-22 18:55 (UTC)

@thetestspecimen since it's a manjaro issue users facing this issue should seek out the manjaro support channels. I assume one of their python packages are kaput and that's obviously not something I can help with.

thetestspecimen commented on 2023-03-22 17:19 (UTC) (edited on 2023-03-22 17:28 (UTC) by thetestspecimen)

@katt I just wanted to mention that I also get the exact same build error as @TeaHour when trying to upgrade from 1.24.5-1 to 1.25.0-1. As with @TeaHour I am on Manjaro, not Arch.

It would therefore suggest this is a Manjaro problem.

If you want any specifics just let me know. As the error seems to revolve around python and setuptools --> My system uses Python 3.10 and setuptools is currently version 67.3.0.

TeaHour commented on 2023-03-17 11:39 (UTC)

@katt No worries, must be something on my system. I'm running Manjaro. By luck, an update for python-cloudscraper came up, and it throws the exact same error on build. Seems like something is broken with python/setuptools... on my system.

Still thank you for investigating.

katt commented on 2023-03-17 10:58 (UTC)

@TeaHour I'm really sorry but no matter what I try I cannot reproduce this error. I tried building with aurutils (chroot), extra-x86_64-build, testing-x86_64-build and with pure makepkg (using testing repos). All builds perfectly fine. Are you running on another distro than Arch Linux?

TeaHour commented on 2023-03-16 09:00 (UTC)

@katt Not veras, but the current version fails with the following python exception for me (cut out the middle part, can provide if necessary):

running egg_info
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
    main()
File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
[...]
    cmd_obj.ensure_finalized()
File "/usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
    self.finalize_options()
File "/usr/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 253, in finalize_options
    if pd is not None and pd.key == self.egg_name.lower():
AttributeError: 'PathDistribution' object has no attribute 'key'

katt commented on 2023-03-12 09:51 (UTC)

@veras What exact error do you get without it? I cannot reproduce this, both builds and runs perfectly without it.

veras commented on 2023-03-12 03:09 (UTC)

had to install python-pyparsing before it would build.

katt commented on 2023-01-09 21:58 (UTC)

@yochaigal Thanks for reporting, I've added a patch to fix this.

yochaigal commented on 2023-01-09 20:46 (UTC) (edited on 2023-01-09 20:48 (UTC) by yochaigal)

I am unable to build. ERROR: test_metadata_from_title (test_ytdl.Test_CommandlineArguments_YtDlp)

Traceback (most recent call last):
File "/tmp/yaytmp-1000/gallery-dl/src/gallery-dl/test/test_ytdl.py", line 264, in test_metadata_from_title
opts = self._(["--metadata-from-title", "%(artist)s - %(title)s"])
File "/tmp/yaytmp-1000/gallery-dl/src/gallery-dl/test/test_ytdl.py", line 229, in _ result = ytdl.parse_command_line(self.module, cmdline)
File "/tmp/yaytmp-1000/gallery-dl/src/gallery-dl/gallery_dl/ytdl.py", line 205, in parse_command_line
opts.parse_metadata.append("title:%s" % opts.metafromtitle)
AttributeError: 'dict' object has no attribute 'append'