Document.load(): argument 1 has unexpected type 'str'

Bug #1685189 reported by Doudz
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-poppler-qt5 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

python 3 popplerqt5 doesn't accept str as argument for load() method.

I'm using Ubuntu 17.04

Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170118] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import popplerqt5
>>> 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'
>>>

Revision history for this message
Doudz (sebastien-ramage) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python-poppler-qt5 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.