Public bug reported:

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)

** Affects: pympress (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1913878

Title:
  dependency on gir1.2-poppler-0.18 missing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pympress/+bug/1913878/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to