To get rid of the warning, I patched the file manually.

$ diff /usr/lib/python3/dist-packages/hachoir/parser/misc/pdf.py.ORG 
/usr/lib/python3/dist-packages/hachoir/parser/misc/pdf.py
395c395
<             raise ParserError("Can't find '%s' starting at %u"
---
>             raise ParserError("Can't find '%s' starting at %u" %

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161844

Title:
  hachoir: SyntaxWarning: 'str' object is not callable; perhaps you
  missed a comma?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hachoir/+bug/2161844/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to