mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[GH-ISSUE #717] ArchiveBox incompatible with Django versions below v3: Invalid template library specified error #451
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#451
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ekianjo on GitHub (Apr 20, 2021).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/717
Describe the bug
Followed the install instructions on debian, and once I tried to run the server it works, but gives me a Django related template error when I try to hit the :8000 url:
"Invalid template library specified"
No module named 'django.contrib.admin.templatetags.base'
Steps to reproduce
ArchiveBox version
@lgwapnitsky commented on GitHub (Apr 20, 2021):
just verifying that you ran 'init'...
@ekianjo commented on GitHub (Apr 20, 2021):
do you need init ? From the install instructions it seemed that it was only needed when using existing folders with prior data?
@ekianjo commented on GitHub (Apr 20, 2021):
I just ran init and it did some additional checks without changing anything - then the error remains.
@pirate commented on GitHub (Apr 20, 2021):
You django version is waaaay too old (a long with a bunch of the other dependencies in that version output). I don't know how you managed to get such old versions from apt
(maybe Debian has super out-of-date packages pinned?), but you need at least Django version 3, if not 3.1.
pip3 install django==3.1.8.You should also try to upgrade some of the other dependencies. I recommend at a minimum: Python 3.8, Node 14, YoutubeDL 2021. If that sounds unappealing then you should switch to Docker, because you're gonna have a bad time trying to run it with such old versions of all the dependencies.
@lgwapnitsky commented on GitHub (Apr 20, 2021):
good catch. i missed that
Larry G. Wapnitsky
E: Larry@Wapnitsky.com
Web: Larry.Wapnitsky.com http://larry.wapnitsky.com/Twitter:
@LGWapnitsky
On Tue, Apr 20, 2021 at 5:07 PM Nick Sweeting @.***>
wrote:
@ekianjo commented on GitHub (Apr 20, 2021):
OK, after upgrading to Django 3.1.8 the problem is gone away - thanks!