Package: python3-poppler-qt5 Version: 0.24.2-1+b2 Severity: grave Justification: renders package unusable
Dear Maintainer, I appear to be unable to use the popplerqt5 module. Whenever I try to load a PDF file by file name, a TypeError is raised, indicating that the file name may not be given as a string: $ python3 Python 3.5.2+ (default, Sep 10 2016, 10:24:58) [GCC 6.2.0 20160901] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import popplerqt5 >>> = popplerqt5.Poppler.Document.load('test.pdf') File "<stdin>", line 1 = popplerqt5.Poppler.Document.load('test.pdf') ^ SyntaxError: invalid syntax >>> popplerqt5.Poppler.Document.load('test.pdf') Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: Document.load(): argument 1 has unexpected type 'str' >>> However, the Qt4 version works fine: $ python3 Python 3.5.2+ (default, Sep 10 2016, 10:24:58) [GCC 6.2.0 20160901] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import popplerqt4 >>> popplerqt4.Poppler.Document.load('/tmp/screen.pdf') <popplerqt4.Document object at 0x7fafae2b0828> >>> Since I haven't come across any API change to be aware of, I suppose this is a bug. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python3-poppler-qt5 depends on: ii libc6 2.23-5 ii libgcc1 1:6.1.1-11 ii libpoppler-qt5-1 0.44.0-3 ii libstdc++6 6.1.1-11 ii python3 3.5.1-4 ii python3-pyqt5 5.7+dfsg-2 ii python3-sip [sip-py3api-11.2] 4.18.1+dfsg-1 python3-poppler-qt5 recommends no packages. python3-poppler-qt5 suggests no packages. -- no debconf information