Red Hat Bugzilla – Bug 1302440
Yubioath and yubioath-cli PySide not found
Last modified: 2016-02-22 13:44:32 EST
Description of problem:
yubioath and yubioath-cli fail to launch, complaining PySide is unavailable.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Execute yubioath or yubioath-cli
Traceback (most recent call last):
File "/usr/bin/yubioath", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3084, in <module>
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3097, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 651, in _build_master
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 952, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 839, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'PySide' distribution was not found and is required by yubioath-desktop
python-pyside.x86_64 1.2.2-4.fc23 package is installed as expected. Problem does not occur using the previous release, yubioath-desktop-2.2.1-1.fc23.
I just loaded a clean F23 Workstation install and was unable to reproduce this issue.
I did encounter this exact error during packaging and fixed it in the packaging with this patch:
Pulled from the upstream managed debian packaging
I made a request to get it into the upstream project and out of the packaging
But it hasn't gone anywhere afaict.
Can you confirm that the python-pyside package is actually installed? It is an install dependency of this package.
Just fyi, I was getting some ImportErrors for pyusb not being installed while I attempted to recreate your issue.
Resolving that here:
Pardon the delay. python-pyside is installed. I also was unable to reproduce on a clean F23 install, something must be fishy locally. You can close this. Thank you!