dependency on gir1.2-poppler-0.18 missing

Bug #1913878 reported by Niklas Sombert
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pympress (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I installed pympress and it failed to start with the following exception:

Traceback (most recent call last):
  File "/usr/bin/pympress", line 11, in <module>
    load_entry_point('pympress==1.5.1', 'gui_scripts', 'pympress')()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 490, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2854, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2445, in load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2451, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3/dist-packages/pympress/__main__.py", line 81, in <module>
    from pympress import extras, document, ui
  File "/usr/lib/python3/dist-packages/pympress/extras.py", line 44, in <module>
    from pympress import document, builder, config
  File "/usr/lib/python3/dist-packages/pympress/document.py", line 49, in <module>
    gi.require_version('Poppler', '0.18')
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Poppler not available

Installing gir1.2-poppler-0.18 solved this problem.

Comparing this package to its Debian counterpart, some more dependencies may be missing.

$ lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04
$ env LANG=C apt-cache policy pympress
pympress:
  Installed: 1.5.1+dfsg-3build1
  Candidate: 1.5.1+dfsg-3build1
  Version table:
 *** 1.5.1+dfsg-3build1 500
        500 http://de.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        500 http://de.archive.ubuntu.com/ubuntu focal/universe i386 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: pympress 1.5.1+dfsg-3build1
ProcVersionSignature: Ubuntu 5.4.0-65.73-generic 5.4.78
Uname: Linux 5.4.0-65-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: KDE
Date: Sat Jan 30 14:47:37 2021
InstallationDate: Installed on 2011-11-29 (3349 days ago)
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
PackageArchitecture: all
SourcePackage: pympress
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Niklas Sombert (ytvwld) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in pympress (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.