Open dnoesgaard opened 3 weeks ago
oof, that's a bug.
In your export there's a Tombstone
comment for the book "Piranesi":
{
"id": "https://books.theunseen.city/user/daniel/comment/50874",
"type": "Tombstone",
"@context": "https://www.w3.org/ns/activitystreams",
"progress": null,
"progress_mode": "PG"
}
Because it's a Tombstone
, it can't be attributed to any user, so it doesn't have an attributedTo
key or value, hence the loop fails with a KeyError
.
There really needs to be some more robust exception checking in the user account import process generally but in this case we just need to skip this section and import the comment as-is.
I'm trying to import an account, but the import fails. Only 60 out of ~500 books are imported and see this in the logs:
I'm attaching archive.json from the export tarball archive.json
Any idea what might be the reason?