← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1586751] Re: Cannot launch yubioath - throws Python ImportError

 

** Also affects: yubioath-desktop (Ubuntu Xenial)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1586751

Title:
  Cannot launch yubioath - throws Python ImportError

Status in yubioath-desktop package in Ubuntu:
  Fix Released
Status in yubioath-desktop source package in Xenial:
  New

Bug description:
  SRU:
  [Impact]
  The program lacks neccessary dependencies in order to start.
  The SRU adss these dependencies.

  [Test case]
  1. Install yubioath-desktop
  2. (Verify that python-pkg-resources is installed)
  3. Attempt to run yubioath from a terminal
  With python-pkg-resources in place, the program should start as expected.
  (Note that due to the nature of the program, it will almost immediately check for an USB key,  which it won't find if none is inserted.)
  4. Attempt to remove python-pkg-resources. Verify that this cannot be removed without also marking yubioath-desktop for removal.

  [Regression potential]
  Low. Dependencies are only added. These are the same ones used by newer versions of the package in for instance 17.04.


  Original report:

  Found on Ubuntu 16.04 Xenial Xerus amd64 running on Dell Latitude
  E6420

  Launching yubioath does not start the application but aborts with the
  following error:

  $ yubioath
  Traceback (most recent call last):
    File "/usr/bin/yubioath", line 5, in <module>
      from pkg_resources import load_entry_point
  ImportError: No module named pkg_resources

  I installed the package from universe:

  $ apt show yubioath-desktop
  Package: yubioath-desktop
  Version: 2.3.0-1
  Priority: optional
  Section: universe/utils
  Origin: Ubuntu
  Maintainer: Ubuntu Developers <ubuntu-devel-discuss@xxxxxxxxxxxxxxxx>
  Original-Maintainer: Debian Authentication Maintainers <pkg-auth-maintainers@xxxxxxxxxxxxxxxxxxxxxxx>
  Bugs: https://bugs.launchpad.net/ubuntu/+filebug
  Installed-Size: 385 kB
  Depends: libykpers-1-1 (>= 1.11), python-pyside.qtgui, python-pyside.qtnetwork, python (>= 2.7), python (<< 2.8), python-pyscard, python-crypto
  Recommends: pcscd
  Homepage: https://developers.yubico.com/yubioath-desktop/
  Download-Size: 98,1 kB
  APT-Manual-Installed: yes
  APT-Sources: http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
  Description: Graphical interface for displaying OATH codes with a Yubikey
   The Yubico Authenticator is a graphical desktop tool for generating Open
   AuTHentication (OATH) event-based HOTP and time-based TOTP one-time password
   codes, with the help of a Yubikey that protects the shared secrets.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: yubioath-desktop 2.3.0-1
  ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
  Uname: Linux 4.4.0-22-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sun May 29 12:04:30 2016
  InstallationDate: Installed on 2016-05-25 (3 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
  PackageArchitecture: all
  SourcePackage: yubioath-desktop
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/yubioath-desktop/+bug/1586751/+subscriptions