mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[GH-ISSUE #308] json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: #1736
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#1736
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 @UmutAlihan on GitHub (Jan 4, 2020).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/308
Describe the bug
I use the environmental variables to output the script into a specific dir. But the env variables cause the archivebox break ant throw the error below:
Steps to reproduce
My command script is as below:
#!/bin/bash
OUTPUT_DIR="/home/path/to/backup-bookmarks-firefox"
ARCHIVE_DIR="/home/script/path/bookmark-archiver"
TIMEOUT=300
env OUTPUT_DIR=$OUT_DIR ONLY_NEW=False TIMEOUT=300 FETCH_MEDIA=False $ARCHIVE_DIR/archive $ARCHIVE_DIR/bookmarks/bookmarks_*.html
Screenshots or log output
Traceback (most recent call last):
File "/home/uad/bookmark-archiver/archive", line 136, in
main(*sys.argv)
File "/home/uad/bookmark-archiver/archive", line 98, in main
update_archive_data(import_path=import_path, resume=resume)
File "/home/uad/bookmark-archiver/archive", line 106, in update_archive_data
all_links, new_links = load_links_index(out_dir=OUTPUT_DIR, import_path=import_path)
File "/home/uad/bookmark-archiver/archivebox/index.py", line 61, in load_links_index
existing_links = parse_json_links_index(out_dir)
File "/home/uad/bookmark-archiver/archivebox/index.py", line 108, in parse_json_links_index
links = json.load(f)['links']
File "/usr/lib/python3.5/json/init.py", line 268, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib/python3.5/json/init.py", line 319, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.5/json/decoder.py", line 355, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 55066 column 25 (char 2745250)
Software versions
94dba22@UmutAlihan commented on GitHub (Mar 8, 2020):
issue still persists can't archive internet :/
@pirate commented on GitHub (Mar 11, 2020):
Closing this in favor of https://github.com/pirate/ArchiveBox/issues/234
@UmutAlihan commented on GitHub (May 9, 2020):
I have deleted my archive and re-downloaded all the bookmarks.
Currently I don't have any issue..