mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #1391] Bug: AttributeError: 'PosixPath' object has no attribute 'split' / ImportError: attempted relative import beyond top-level package #3868
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#3868
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 @gerroon on GitHub (Mar 27, 2024).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1391
Hi
The Docker dev build is throwing an error which prevents it from starting the container. That is why I can't run the archivebox info command.
The version
image: archivebox/archiveboxruns fine.Then I go ahead and define Chrome user dir however now it throws another type of error.
- CHROME_USER_DATA_DIR=/data/chrome@Cinj216 commented on GitHub (Mar 27, 2024):
Same. Watchtower pulled latest last night and suddenly this container keeps dying with that error when it has been running for months with no issues with prior builds. I'm guessing now I'll have to go in and adjust some configuration to accommodate some change that was made for the sake of change. Many such cases!
@pirate commented on GitHub (Mar 28, 2024):
I assume ya'll were running on
:dev? Beware:devis unstable, if you need stability @Cinj216 you should usearchivebox/archivebox:mainorarchivebox/archivebox:0.7.2instead!We just pushed a big pre-release last night, and not just for the sake of change, it's a big new security update with the latest Django 4.2 version that we've been working towards upgrading to for years. It'll make a lot of longstanding issues go away, and we'll be able to finally use some of the newer Django Admin UI features that people have been requesting for a long time.
This latest
:devpush is exceptionally large, and is likely more unstable than any of our previous early alpha releases. I called this out in the pre-release notes as well: https://github.com/ArchiveBox/ArchiveBox/releases/tag/v0.8.0-rcThe fix for this particular issue should be up within the next few hours, but beware there will likely be other issues in this
alpha, so switch back to stable unless you're actually intending to use the unstable branch.@gerroon commented on GitHub (Mar 28, 2024):
@pirate Thanks for the update. I am willingly using the dev build to test it while in use. I take daily backups so that is fine. I was just reporting the issue.
@readtedium commented on GitHub (Mar 28, 2024):
I tried downgrading to stable as suggested and am still running into the issue. (I should note that some self-hosted application repositories are shipping with the dev version, which might be why this is coming up.)
EDIT: I ultimately fixed it by removing the
CHROME_USER_DATA_DIRfrom my Docker-compose file, which forced a rebuild.@blastrock commented on GitHub (Mar 31, 2024):
Hello,
Facing the same issue here, maybe the docker-compose example should be updated to use main insead:
github.com/ArchiveBox/ArchiveBox@1d49bee90b/docker-compose.yml (L16)I didn't even know I was using an unstable version (though I should have checked ^^)
@jimwins commented on GitHub (Apr 6, 2024):
I mentioned this elsewhere, but it's this commit that needs to be brought into the dev branch to fix the relative import problem.
@pirate commented on GitHub (Apr 10, 2024):
Ah whoops that was caused by a bad merge into
mainby accident. I just fixed the broken Docker tags::stable,:main,:0.7, and:0.7.2should now point to the working previous release again. Sorry for breaking those!I will also have this fix and a fix for the
CHROME_USER_DATA_DIRerror merged intodevbefore v0.8.0 is released.