ArchiveBox incompatible with Django versions below v3: Invalid template library specified error
See original GitHub issueDescribe 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
- Followed apt install steps for Debian
- created empty folder
- ran archivebox setup in it
- created user and super user following tutorial
- checked that all with fine with --version : no error reported
- launched server: archivebox server myip:8000
- Tried the myip:8000 in the browser and this is where I see the django error via SSH
ArchiveBox version
Cpython Linux Linux-4.19.0-16-amd64-x86_64-with-debian-10.9 x86_64
IN_DOCKER=False DEBUG=False IS_TTY=True TZ=UTC SEARCH_BACKEND_ENGINE=ripgrep
[i] Dependency versions:
√ ARCHIVEBOX_BINARY v0.6.2 valid /usr/bin/archivebox
√ PYTHON_BINARY v3.7.3 valid /usr/bin/python3.7
√ DJANGO_BINARY v2.0.10 valid /usr/local/lib/python3.7/dist-packages/django/bin/django-admin.py
√ CURL_BINARY v7.64.0 valid /usr/bin/curl
√ WGET_BINARY v1.20.1 valid /usr/bin/wget
√ NODE_BINARY v13.14.0 valid /usr/bin/node
√ SINGLEFILE_BINARY v0.3.17 valid ./node_modules/single-file/cli/single-file
√ READABILITY_BINARY v0.0.2 valid ./node_modules/readability-extractor/readability-extractor
√ MERCURY_BINARY v1.0.0 valid ./node_modules/@postlight/mercury-parser/cli.js
√ GIT_BINARY v2.20.1 valid /usr/bin/git
√ YOUTUBEDL_BINARY v2019.01.17 valid /usr/bin/youtube-dl
- CHROME_BINARY - disabled
√ RIPGREP_BINARY v0.10.0 valid /usr/bin/rg
[i] Source-code locations:
√ PACKAGE_DIR 23 files valid /usr/lib/python3/dist-packages/archivebox
√ TEMPLATES_DIR 3 files valid /usr/lib/python3/dist-packages/archivebox/templates
- CUSTOM_TEMPLATES_DIR - disabled
[i] Secrets locations:
- CHROME_USER_DATA_DIR - disabled
- COOKIES_FILE - disabled
[i] Data locations:
√ OUTPUT_DIR 6 files valid /home/<myuser>/archivebox
√ SOURCES_DIR 0 files valid ./sources
√ LOGS_DIR 1 files valid ./logs
√ ARCHIVE_DIR 0 files valid ./archive
√ CONFIG_FILE 81.0 Bytes valid ./ArchiveBox.conf
√ SQL_INDEX 204.0 KB valid ./index.sqlite3
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
django.template.library.InvalidTemplateLibrary: Invalid ...
InvalidTemplateLibrary : Invalid template library specified. ImportError raised when trying to load 'cms.templatetags.cms_admin': cannot import name get_varname ...
Read more >Invalid template library specified in Django3.2 - Stack Overflow
I'm getting this error, after i update django to 3.2! Any possible solutions would be helpful. Thanks in advance! python · python-3.x ·...
Read more >Release 0.4.18 - ArchiveBox
Just make sure you have a Docker version that's new enough to support version: 3 format: docker --version. Docker version 18.09.1, ...
Read more >Release 0.6.2 - ArchiveBox
that ArchiveBox isn't reporting any incompatibility with the versions you install. # install python3 and archivebox with your system package ...
Read more >Release 0.4.9 - ArchiveBox
Just make sure you have a Docker version that's new enough to support version: 3 format: docker --version. Docker version 18.09.1, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK, after upgrading to Django 3.1.8 the problem is gone away - thanks!
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: