#1140444 IndexError: list index out of range with `dumppdf -at`

Package:
python3-pdfminer
Source:
python3-pdfminer
Submitter:
Nikolas Nyby
Date:
2026-06-28 14:33:03 UTC
Severity:
normal
Tags:
#1140444#5
Date:
2026-06-20 16:05:01 UTC
From:
To:
Dear Maintainer,

Running `dumppdf -at` on the following PDF file:
https://github.com/user-attachments/files/29155207/allabout.pdf

emits this error:
```
  File "/usr/lib/python3/dist-packages/pdfminer/utils.py", line 215, in apply_png_predictor
    prior_x = int(line_above[j])
                  ~~~~~~~~~~^^^
IndexError: list index out of range
```

See full error here: https://github.com/pdfminer/pdfminer.six/issues/1269
There is a patch to fix this here: https://github.com/pdfminer/pdfminer.six/pull/1270

This is related to bug #1140397 for diffoscope.

#1140444#10
Date:
2026-06-26 16:17:59 UTC
From:
To:
There is a related patch here which resolves the issue at a different
level:
https://github.com/pdfminer/pdfminer.six/pull/1271

I think it would be good to apply both patches, for safety. We'll see
what upstream decides.