mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-26 01:26:00 +03:00
[GH-ISSUE #1165] Bug: Setting up via pip on Windows 10 results in strange behavior, calls to os.getpgid, failure to add page to archive #723
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#723
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 @pineapplemachine on GitHub (Jun 24, 2023).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1165
Describe the bug
I newly installed archivebox on Windows 10 IoT Enterprise LTSC 21H2 using pip and python 3.
See below for log output, including python, pip, and archivebox version information.
After installing the pip package and running
archivebox initin an empty directory,archivebox add https://archivebox.io/logged platform-related errors, with some extractors attempting to callos.getpgidwhich is not available on Windows.I tried running
archivebox server 0.0.0.0:8001and then attempted to view the archived page in Firefox. A link to the archived page was visible athttp://localhost:8001/public/, but when I clicked the link I was shown this error:The archivebox homepage suggests that archivebox can be installed via pip on Windows:
Steps to reproduce
See above.
ArchiveBox version
See below.
Screenshots or log output
Here is a complete CLI log of installing the pip package, setting up archivebox, and attempting to add and access an archived page. See the end of the log for version information for python, pip, and archivebox.
Update: I also tried running
archivebox setup. This also produced an unusual error. Runningarchivebox update https://archivebox.io/afterwards produced the sameos.getpgidrelated errors.@pirate commented on GitHub (Jun 28, 2023):
Sorry pip on windows is not "fully" supported, some people have gotten it working which is why it's listed on the site, but I really only recommend/support Docker on Windows, especially as of the most recent versions it's gotten harder for me to support native Windows.
Check out WebRecorder.net's options or Polarized or some of the other software on our community Wiki list of alternatives if you need an easy Windows solution: https://github.com/ArchiveBox/ArchiveBox/wiki/Web-Archiving-Community#Web-Archiving-Projects
@pineapplemachine commented on GitHub (Jun 28, 2023):
Can I please suggest tweaking the homepage a bit to make it clearer that Windows is not officially supported?
Ctrl+F on the homepage first finds:
Then Windows mentioned in various setup options, including pip.
It wasn't until I was already well down the rabbit hole of trying to figure out why it wasn't working out-of-the-box on Windows before I finally spotted the following mention of Windows, much further down the page:
It might save people thinking of setting up on Windows a little time and headache if this was more clear. As for me, I had seen that and just thought I'd be able to set archivebox up quickly and experiment and see how it worked locally on my Windows desktop before setting it up on my Ubuntu server... It ended up just taking a lot more time and I didn't even quite get there in the end. (I almost did, with WSL, but then ran into an issue where archivebox did not like my chromium install and wanted a snap installation instead.)