mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #1573] Bug: ...geteuid() doesn't work in Windows #942
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#942
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 @GuyverMack on GitHub (Oct 27, 2024).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1573
Describe the bug
trying to run:
archivebox configin a Windows 11 Powershell terminal. Same goes for cmd.exe and including both as admin.Solution: https://stackoverflow.com/questions/75977215/attributeerror-module-os-has-no-attribute-geteuid
geteuid() is only available on unix-like systems
Steps to reproduce
trying to run:
archivebox configin Windows 11 terminal
Screenshots or log output
Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "C:\Program Files\Python312\Scripts\archivebox.exe\__main__.py", line 4, in <module> File "C:\Program Files\Python312\Lib\site-packages\archivebox\cli\__init__.py", line 11, in <module> from ..config import OUTPUT_DIR, check_data_folder, check_migrations File "C:\Program Files\Python312\Lib\site-packages\archivebox\config.py", line 82, in <module> 'PUID': {'type': int, 'default': os.getuid()}, ^^^^^^^^^ AttributeError: module 'os' has no attribute 'getuid'. Did you mean: 'getpid'?ArchiveBox version
0.7.1
I cannot even run
archivebox versionbecause it causes the same error as above.@pirate commented on GitHub (Oct 27, 2024):