ArchiveLabs / ArchiveLabs/archive.org

IA Upload Generates Errors When Uploading Some PDFS

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Even though a PDF can be opened and viewed with a PDF reader, the IA Upload command sometimes rejects them. I was able to get some of the files uploaded after running pdftk on them as recommended. But in some cases I had to print the files to a new PDF to have a successful upload. I think many of the problems arise from pdfs that are secured against copy/paste, but that is fairly common in my domain (government finance documents). I am attaching a couple of examples of problematic files.

[CT State of Connecticut 2008.pdf](https://github.com/ArchiveLabs/archive.org/files/1464240/CT.State.of.Connecticut.2008.pdf)
[TX State of Texas 2007.pdf](https://github.com/ArchiveLabs/archive.org/files/1464241/TX.State.of.Texas.2007.pdf)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the IA Upload command with the two attached PDFs and compare the failures with files processed through pdftk or reprinted as PDFs. Trace the upload validation or error path to determine why readable, secured PDFs are rejected; done means the reported examples upload successfully without those workarounds.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.