Skip to content

Commit 9d1adee

Browse files
authored
Add documentation for docusign issue
1 parent 27497dc commit 9d1adee

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,4 @@ Here are the definitions:
101101
## Limitations / known issues
102102

103103
- A relatively big PDF will use up all your memory and cause the process to be killed (unless you use an output folder)
104+
- Sometimes fail read pdf signed using DocuSign, [Solution for DocuSign issue.](docs/installation.md)

docs/installation.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,17 @@ Poppler is the underlying project that does the magic in pdf2image. You can chec
3838
3. Move the extracted directory to the desired place on your system
3939
4. Add the `bin/` directory to your [PATH](https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/)
4040
5. Test that all went well by opening `cmd` and making sure that you can call `pdftoppm -h`
41+
42+
## Solution for DocuSign issue
43+
If you have this [error](https://stackoverflow.com/questions/66636441/pdf2image-library-failing-to-read-pdf-signed-using-docusign):
44+
```bash
45+
pdf2image.exceptions.PDFPageCountError: Unable to get page count.
46+
Syntax Error: Gen inside xref table too large (bigger than INT_MAX)
47+
Syntax Error: Invalid XRef entry 3
48+
Syntax Error: Top-level pages object is wrong type (null)
49+
Command Line Error: Wrong page range given: the first page (1) can not be after the last page (0).
50+
```
51+
52+
You are possibly using an old version of poppler. The solution is to update to the latest version. Similarly, if you are working with Docker (Debian 11 Image), maybe you can not update poppler because is not available. So, you have to use an image in ubuntu, install Python and then what you need.
53+
54+
More details [here](https://github.com/Belval/pdf2image/issues/234).

0 commit comments

Comments
 (0)