Tag Archives: ValueError: not enough values to unpack (expected 2

[Solved] Pdfplumber Parsing PDF error: ValueError: not enough values to unpack (expected 2, got 1)

Question:

Environment: Ubuntu 18.04, electronic invoice PDF document

Cause: the cause of the problem is not clear. The error can only be determined after pdfminer recompiled and installed for Chinese fonts (if any God knows, please let us know)

Solution: modifying the source code is actually a layer of error filtering