Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1198080

Bug#1071534: Still problems with 'PyPDF2'

From "Joerg Schiermeier, Bielefeld/Germany" <devuan-bug@Schiermeier-IT.de>
Newsgroups linux.debian.bugs.dist
Subject Bug#1071534: Still problems with 'PyPDF2'
Date 2024-05-20 18:40 +0200
Message-ID <IGedj-eFiu-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: pdfposter
Version: 0.8.1-2
Severity: normal


Hello,

pdfposter gave me this error message:

---cite---
joerg@Archimedes ~/Downloads % pdfposter -m a4 -p 2x1a4 ${_OUTFOLDER}/${_FNBASE}.pdf ${_OUTFOLDER}/${_FNBASE}_${_PAGECOUNT}.pdf

Traceback (most recent call last):
  File "/usr/bin/pdfposter", line 33, in <module>
    sys.exit(load_entry_point('pdftools.pdfposter==0.8.1', 'console_scripts', 'pdfposter')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/pdfposter/pdftools/pdfposter/cmd.py", line 192, in run
    main(args, infilename=args.infilename, outfilename=args.outfilename)
  File "/usr/share/pdfposter/pdftools/pdfposter/__init__.py", line 354, in main
    outpdf.write(open(outfilename, 'wb'))
  File "/usr/lib/python3/dist-packages/PyPDF2/_writer.py", line 935, in write
    self.write_stream(stream)
  File "/usr/lib/python3/dist-packages/PyPDF2/_writer.py", line 910, in write_stream
    object_positions = self._write_header(stream)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/PyPDF2/_writer.py", line 961, in _write_header
    obj.write_to_stream(stream, key)
  File "/usr/lib/python3/dist-packages/PyPDF2/generic/_data_structures.py", line 203, in write_to_stream
    value.write_to_stream(stream, encryption_key)
  File "/usr/lib/python3/dist-packages/PyPDF2/generic/_data_structures.py", line 89, in write_to_stream
    data.write_to_stream(stream, encryption_key)
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'float' object has no attribute 'write_to_stream'

1 joerg@Archimedes ~/Downloads %
---/cite---

-- 

Yours sincerely
Joerg Schiermeier


-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 6 (excalibur/ceres)
Release:	6
Codename:	excalibur ceres
Architecture: x86_64

Kernel: Linux 6.8.9-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.utf-8, LC_CTYPE=de_DE.utf-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: OpenRC (via /run/openrc), PID 1: init
LSM: AppArmor: enabled

Versions of packages pdfposter depends on:
ii  libjs-jquery           3.6.1+dfsg+~3.5.14-1
ii  libjs-sphinxdoc        7.2.6-7
ii  libjs-underscore       1.13.4~dfsg+~1.11.4-3
ii  python3                3.11.8-1
ii  python3-pkg-resources  68.1.2-2
ii  python3-pypdf2         2.12.1-4

pdfposter recommends no packages.

pdfposter suggests no packages.

-- no debconf information

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1071534: Still problems with 'PyPDF2' "Joerg Schiermeier, Bielefeld/Germany" <devuan-bug@Schiermeier-IT.de> - 2024-05-20 18:40 +0200

csiph-web