[Bug 1586751] Re: Cannot launch yubioath - throws Python ImportError
This bug was fixed in the package yubioath-desktop - 2.3.0-1ubuntu0.1 --- yubioath-desktop (2.3.0-1ubuntu0.1) xenial; urgency=medium * Add missing dependencies (Fixes LP: #1586751) * Add dependency on python-pkg-resources, python-click and pcscd. * Drop recommends on pcscd. -- Hans Joachim Desserud Wed, 20 Sep 2017 18:13:12 +0200 ** Changed in: yubioath-desktop (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1586751 Title: Cannot launch yubioath - throws Python ImportError To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/yubioath-desktop/+bug/1586751/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1586751] Re: Cannot launch yubioath - throws Python ImportError
I've successfully verified the -proposed package on a 16.04 VM. While do not have an USB key so I'm a bit limited in my exploratory testing, the program starts without crashing and it is not possibly to remove the key dependencies without also removing yubioath-desktop. ** Tags removed: verification-needed verification-needed-xenial ** Tags added: verification-done verification-done-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1586751 Title: Cannot launch yubioath - throws Python ImportError To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/yubioath-desktop/+bug/1586751/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1586751] Re: Cannot launch yubioath - throws Python ImportError
Hello Schlomo, or anyone else affected, Accepted yubioath-desktop into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/yubioath- desktop/2.3.0-1ubuntu0.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: yubioath-desktop (Ubuntu Xenial) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1586751 Title: Cannot launch yubioath - throws Python ImportError To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/yubioath-desktop/+bug/1586751/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1586751] Re: Cannot launch yubioath - throws Python ImportError
Uploaded. ** Changed in: yubioath-desktop (Ubuntu Xenial) Importance: Undecided => Medium ** Changed in: yubioath-desktop (Ubuntu) Importance: Undecided => Medium ** Changed in: yubioath-desktop (Ubuntu Xenial) Status: New => In Progress ** Changed in: yubioath-desktop (Ubuntu Xenial) Assignee: (unassigned) => Hans Joachim Desserud (hjd) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1586751 Title: Cannot launch yubioath - throws Python ImportError To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/yubioath-desktop/+bug/1586751/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1586751 Title: Cannot launch yubioath - throws Python ImportError To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/yubioath-desktop/+bug/1586751/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1586751] Re: Cannot launch yubioath - throws Python ImportError
Attached debdiff for 16.04. (To be frank I don't know why the two other dependencies have been added in newer package versions, but I assume it might be due to similar issues) ** Patch added: "xenial.debdiff" https://bugs.launchpad.net/ubuntu/+source/yubioath-desktop/+bug/1586751/+attachment/4953894/+files/xenial.debdiff ** Changed in: yubioath-desktop (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1586751 Title: Cannot launch yubioath - throws Python ImportError To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/yubioath-desktop/+bug/1586751/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1586751] Re: Cannot launch yubioath - throws Python ImportError
** Description changed: + 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 - from pkg_resources import load_entry_point + File "/usr/bin/yubioath", line 5, in + from pkg_resources import load_entry_point ImportError: No module named pkg_resources I installed the package from universe: - $ apt show yubioath-desktop + $ apt show yubioath-desktop Package: yubioath-desktop Version: 2.3.0-1 Priority: optional Section: universe/utils Origin: Ubuntu Maintainer: Ubuntu Developers Original-Maintainer: Debian Authentication Maintainers 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. + 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) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1586751 Title: Cannot launch yubioath - throws Python ImportError To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/yubioath-desktop/+bug/1586751/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1586751] Re: Cannot launch yubioath - throws Python ImportError
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: yubioath-desktop (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1586751 Title: Cannot launch yubioath - throws Python ImportError To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/yubioath-desktop/+bug/1586751/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1586751] Re: Cannot launch yubioath - throws Python ImportError
Thanks for reporting. I (and the duplicate bug report) got the same error message when attempting to run the program without python-pkg-resources installed. Luckily, the version available in Ubuntu 17.04 and later have added the missing dependencies, see http://changelogs.ubuntu.com/changelogs/pool/universe/y/yubioath-desktop /yubioath-desktop_3.0.1-2/changelog (or compare https://packages.ubuntu.com/xenial/yubioath-desktop with the newer https://packages.ubuntu.com/zesty/yubioath-desktop). It is therefore fixed in newer releases, however, since Ubuntu 16.04 is still affected I'm preparing an SRU. In the meantime, people may install the missing dependencies: pcscd, python-pkg-resources and python-click manually. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1586751 Title: Cannot launch yubioath - throws Python ImportError To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/yubioath-desktop/+bug/1586751/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1586751] Re: Cannot launch yubioath - throws Python ImportError
I was able to solve this problem by installing the python-setuptools package which was missing for python 2.7. Please add this to the dependency -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1586751 Title: Cannot launch yubioath - throws Python ImportError To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/yubioath-desktop/+bug/1586751/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs