Package Details: archivebox 0.7.2-4

Git Clone URL: https://aur.archlinux.org/archivebox.git (read-only, click to copy)
Package Base: archivebox
Description: Open source self-hosted web archiving
Upstream URL: https://github.com/ArchiveBox/ArchiveBox
Licenses: MIT
Submitter: imlonghao
Maintainer: carsme
Last Packager: carsme
Votes: 9
Popularity: 0.039465
First Submitted: 2020-07-29 15:48 (UTC)
Last Updated: 2024-03-05 08:19 (UTC)

Latest Comments

1 2 3 Next › Last »

semjon00 commented on 2024-02-20 22:11 (UTC)

Thank you, now (using the workaround below) it works 😊

semjon00 commented on 2024-02-19 18:46 (UTC)

mercury-parser is now removed, apparently postlight-parser replaces it. Also, an issue with verifying signatures:

Building archivebox... ==> Making package: archivebox 0.7.2-2 (Mon 19 Feb 2024 20:36:55 EET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating ArchiveBox git repo... -> Updating base32-crockford git repo... -> Updating django-taggit git repo... -> Updating pocket git repo... -> Updating python-atomicwrites git repo... -> Found django-3.1.14 -> Found django-extensions-3.1.5 ==> Validating source files with sha256sums... ArchiveBox ... Skipped base32-crockford ... Skipped django-taggit ... Skipped pocket ... Skipped python-atomicwrites ... Skipped django-3.1.14 ... Skipped django-extensions-3.1.5 ... Skipped ==> Verifying source file signatures with gpg... ArchiveBox git repo ... %s is unable to verify the signature. git ==> ERROR: One or more PGP signatures could not be verified! Failed to build archivebox

rien333 commented on 2024-01-17 11:41 (UTC) (edited on 2024-01-17 11:48 (UTC) by rien333)

Since archivebox now installs some dependencies (primarily an older django version) in /opt, users will need to update their PYTHONPATH variable to avoid ModuleNotFoundError: No module named 'archivebox' errors.

A quick workaround is to export the variable as such:

export PYTHONPATH=/opt/archivebox/lib/python3.11/site-packages/
archivebox init

According to python's documentation (and some StackOverflow answers), it might also be possible to put a .pth file referring to the /opt directory in python's default site-packages directory. This doesn't seem particularity harmful, but might cause breakages if a a newer of Django is also installed and intended to be used.

@carsme maybe the PKGBUILD could print a warning with recommendations/suggestions of this sort? Two other solutions include:

  1. Making bin/archivebox a wrapper script that calls the actual archivebox program with PYTHONPATH=/opt/archivebox/lib/python3.11/site-packages/ prepended. Downside is that this will unexpectly fail to work when archivebox is imported as a library from python. In fact, making a wrapper more or less hides the problem from the user.

  2. Installing a .pth file, as outlined above. Downside is that this might cause breakages with system packages (e.g. Django 3.2+), which AUR packages should avoid at all costs.

  3. Write a python-django-3.1 package. This actually seems preferable, but more work.

Thanks to carsme for stepping up as a maintainer, btw!

imlonghao commented on 2023-11-09 15:04 (UTC)

I'm going to disown this package since I'm no longer use it, playing with Linkwarden instead.

For anyone who want to own this package, I'm already written a new PKGBUILD[1] for v0.7.1

Something you need to know, the author shows no interested[2] in fixing the issue with the new version of Django, so it is not working at all without writing another python-django-3.1.x package

[1] https://pb.esd.cc/roof-spawn-emerge

[2] https://github.com/ArchiveBox/ArchiveBox/pull/740

Salt7816 commented on 2023-10-09 13:19 (UTC) (edited on 2023-10-09 13:19 (UTC) by Salt7816)

Please fix the dependencies
python-crontab-crontab should be python-python-crontab

yochananmarqos commented on 2023-03-03 22:38 (UTC)

Please depend on python-python-crontab instead of python-crontab. See [PRQ#40465] Merge Request for python-crontab

escorares commented on 2022-09-10 14:29 (UTC)

does the PKGBUILD need to be updated to have the readability-extractor-git version instead?

-> Could not find all required packages:
    readability-extractor (Wanted by: archivebox)

imlonghao commented on 2021-08-03 01:47 (UTC)

@snakestorm Sorry this package doesn't work anymore at this time, since archivebox doesn't work with Django 3.2.x. See https://github.com/ArchiveBox/ArchiveBox/pull/740

snakestorm commented on 2021-08-02 20:14 (UTC) (edited on 2021-08-02 20:15 (UTC) by snakestorm)

I seem to get some errors when i run "archivebox init", here is a pastebin link: https://pastebin.com/kq2wiVFh nothing is created in my empty directory that I created.

imlonghao commented on 2021-04-20 16:58 (UTC)

@AI5C I think ArchiveBox doesn't support Django 3.2 according to setup.py. Seems nothing I can do about it.