mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #245] adding txt file with multiple links throws JSONDecodeError #1681
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#1681
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 @Strubbl on GitHub (May 26, 2019).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/245
Describe the bug
Archiving a list of links does not work anymore. The links.txt consists of many URLs, one URL per line. The file is just a link per line and no JSON at all.
I try to add multiple links according to documentation: https://github.com/pirate/ArchiveBox/wiki/Usage#import-a-single-url-or-list-of-urls-via-stdin
Screenshots or log output
Software versions
b109dd6@pirate commented on GitHub (May 27, 2019):
This looks like a corrupted index instead of a parsing error, can you post your redacted
index.jsonfile?@Strubbl commented on GitHub (May 27, 2019):
You are right. My index.json has the size of 0 bytes. I did not check that.
How can i recover from this situation? Deleting the json file?
@pirate commented on GitHub (May 31, 2019):
I thnik you hit this bug, you can follow the instructions on that ticket: https://github.com/pirate/ArchiveBox/issues/234