mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #1562] Bug: DEBUG mode broken on dev (ModuleNotFoundError: No module named 'django_autotyping') #3953
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#3953
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 @nguyenmp on GitHub (Oct 21, 2024).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1562
Describe the bug
When running archivebox:dev in debug mode, it crashes trying to use
django-autotypingandrequests-tracker.I think what's happening is these are defined as "dev-dependencies" in
pyproject.tomland aren't packaged in the server on docker builds, so when we run the server via docker, debug mode leads to crashes importing these two.Workaround: manually disable these two in
archivebox/core/settings.pywith something likeDEBUG_REQUESTS_TRACKER = False.For context, I wanted debug mode to figure out https://github.com/ArchiveBox/ArchiveBox/issues/1449#issuecomment-2427125470.
Steps to reproduce
docker run -p 8000:8000 archivebox/archivebox:dev --debugScreenshots or log output
ArchiveBox version
@pirate commented on GitHub (Oct 21, 2024):
Good catch, I'll add these to the production Dockerfile so
--debugis availble.