Bug 1663646

Summary: latest torbrower-launcher does not install PyQt5 and gpg
Product: [Fedora] Fedora Reporter: Harish Pillay <hpillay>
Component: torbrowser-launcherAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 29CC: 7d28c752, daniel, gwync, pj.pandit
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: torbrowser-launcher-0.3.1-3.fc29 torbrowser-launcher-0.3.1-3.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-14 01:57:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Harish Pillay 2019-01-06 01:06:11 UTC
Description of problem:
I was trying to launch torbrowser-launcher and it failed saying that PyQt5 was missing. Had to track it down and install it. Not sure why it was not installed with torbrowser-launcher

Version-Release number of selected component (if applicable):
the latest version of torbrowser-launcher-0.3.1-1-fc29.noarch

How reproducible:
Not entirely sure. As I've never had a problem with it before and when i wanted to run it, i got prompted with this error. possibly there was an update that missed out this dependency.

Steps to Reproduce:
1. run torbrowser-launch
2. if you see PyQt5 missing, install it
3. you might then face another errro, "gpg" missing. Install python-gpg

Solution:

I managed to fix the whole thing by:
a) dnf install PyQt5
b) dnf install python-gpg

Could this be a packaging bug?

Comment 1 Daniel 2019-01-07 15:19:17 UTC
Can confirm this. After just launching the tor browser I've got 

$ /usr/bin/torbrowser-launcher
Traceback (most recent call last):
  File "/usr/bin/torbrowser-launcher", line 29, in <module>
    import torbrowser_launcher
  File "/usr/lib/python2.7/site-packages/torbrowser_launcher/__init__.py", line 34, in <module>
    from PyQt5 import QtCore, QtWidgets
ImportError: No module named PyQt5

and after installing PyQt5 and python-gpg this was fixed and the browser started. There should be dependencies.

Comment 2 Fedora Update System 2019-01-08 14:42:37 UTC
torbrowser-launcher-0.3.1-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-2aedca2271

Comment 3 Fedora Update System 2019-01-08 14:42:43 UTC
torbrowser-launcher-0.3.1-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-1b608142eb

Comment 4 rugk 2019-01-08 20:48:46 UTC
For some reason, I cannot install the testing version using:

sudo dnf install --enablerepo=updates-testing --refresh torbrowser-launcher

It tells me, the update is already installed, but it is referring to v0.3.1-1.fc29…

Comment 5 Gwyn Ciesla 2019-01-08 21:07:40 UTC
The update has been submitted, but updates-testing has not yet been recomposed. If you'd like to upgrade before that, grab the package from koji directly: https://kojipkgs.fedoraproject.org//packages/torbrowser-launcher/0.3.1/2.fc29/noarch/torbrowser-launcher-0.3.1-2.fc29.noarch.rpm

Comment 6 rugk 2019-01-08 22:18:28 UTC
Hmm, but this does not really solve the dependency errors… well… I'll wait…

Also BTW, after a fresh reinstalltion I am also missing the "requests" module:

Traceback (most recent call last):
  File "/usr/bin/torbrowser-launcher", line 29, in <module>
    import torbrowser_launcher
  File "/usr/lib/python2.7/site-packages/torbrowser_launcher/__init__.py", line 38, in <module>
    from .launcher import Launcher
  File "/usr/lib/python2.7/site-packages/torbrowser_launcher/launcher.py", line 36, in <module>
    import requests
ImportError: No module named requests

Comment 7 Fedora Update System 2019-01-09 14:32:26 UTC
torbrowser-launcher-0.3.1-3.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-f50c407716

Comment 8 Fedora Update System 2019-01-09 14:32:33 UTC
torbrowser-launcher-0.3.1-3.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-e81e9cf680

Comment 9 Fedora Update System 2019-01-10 20:49:21 UTC
torbrowser-launcher-0.3.1-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-1b608142eb

Comment 10 Fedora Update System 2019-01-10 22:14:57 UTC
torbrowser-launcher-0.3.1-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-2aedca2271

Comment 11 Fedora Update System 2019-01-11 04:16:32 UTC
torbrowser-launcher-0.3.1-3.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-e81e9cf680

Comment 12 Fedora Update System 2019-01-11 05:42:33 UTC
torbrowser-launcher-0.3.1-3.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-f50c407716

Comment 13 Fedora Update System 2019-01-14 01:57:59 UTC
torbrowser-launcher-0.3.1-3.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2019-01-19 01:54:46 UTC
torbrowser-launcher-0.3.1-3.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.