Closed KARLSZP closed 3 years ago
Hmm it's hard to tell without knowing what PDF's caused the issue. Is it is possible to send me one that seemed to work and another that caused errors so I can further investigate? You may be right that the if data.pdf.stream.closed:
statement can be removed.
Closing this for now, feel free to reopen or submit a pull request
When I dump a pdf file using
PdfFileWriter.write(FILESTREAM)
like this:First time, it appeared to succeed but something went wrong when I tried to save more pdfs.
Here's the error stack:
I tried to modify the source code by removing the
if
phase:if data.pdf.stream.closed: ...
, everything seems to be fine.So is it a
BUG
or I was working incorrectly? Thanks in advance.