You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test_split (staplelib.tests.TestStapler)
Make sure a file is properly split into pages. ... Traceback (most recent call last):
File "/home/pterjan/rpmbuild/BUILD/stapler-1.0.0rc1/staplelib/../stapler", line 15, in <module>
stapler.main()
File "/home/pterjan/rpmbuild/BUILD/stapler-1.0.0rc1/staplelib/stapler.py", line 116, in main
modes[mode](args)
File "/home/pterjan/rpmbuild/BUILD/stapler-1.0.0rc1/staplelib/commands.py", line 113, in split
iohelper.write_pdf(output, staplelib.OPTIONS.destdir +
File "/home/pterjan/rpmbuild/BUILD/stapler-1.0.0rc1/staplelib/iohelper.py", line 59, in write_pdf
pdf.write(outputStream)
File "/usr/lib/python3.10/site-packages/PyPDF2/pdf.py", line 475, in write
self._sweepIndirectReferences(externalReferenceMap, self._root)
File "/usr/lib/python3.10/site-packages/PyPDF2/pdf.py", line 566, in _sweepIndirectReferences
self._sweepIndirectReferences(externMap, realdata)
File "/usr/lib/python3.10/site-packages/PyPDF2/pdf.py", line 542, in _sweepIndirectReferences
value = self._sweepIndirectReferences(externMap, value)
File "/usr/lib/python3.10/site-packages/PyPDF2/pdf.py", line 566, in _sweepIndirectReferences
self._sweepIndirectReferences(externMap, realdata)
File "/usr/lib/python3.10/site-packages/PyPDF2/pdf.py", line 542, in _sweepIndirectReferences
value = self._sweepIndirectReferences(externMap, value)
File "/usr/lib/python3.10/site-packages/PyPDF2/pdf.py", line 551, in _sweepIndirectReferences
value = self._sweepIndirectReferences(externMap, data[i])
File "/usr/lib/python3.10/site-packages/PyPDF2/pdf.py", line 566, in _sweepIndirectReferences
self._sweepIndirectReferences(externMap, realdata)
File "/usr/lib/python3.10/site-packages/PyPDF2/pdf.py", line 542, in _sweepIndirectReferences
value = self._sweepIndirectReferences(externMap, value)
File "/usr/lib/python3.10/site-packages/PyPDF2/pdf.py", line 583, in _sweepIndirectReferences
newobj = self._sweepIndirectReferences(externMap, newobj)
File "/usr/lib/python3.10/site-packages/PyPDF2/pdf.py", line 542, in _sweepIndirectReferences
value = self._sweepIndirectReferences(externMap, value)
File "/usr/lib/python3.10/site-packages/PyPDF2/pdf.py", line 569, in _sweepIndirectReferences
if data.pdf.stream.closed:
AttributeError: 'PdfFileWriter' object has no attribute 'stream'
ERROR
test_zip (staplelib.tests.TestStapler)
The text was updated successfully, but these errors were encountered:
Trying to build for Mageia, the tests fail:
The text was updated successfully, but these errors were encountered: