Bug 1282062 - [abrt] torbrowser-launcher: http.py:163:urlparse:TypeError: url must be bytes, not unicode
[abrt] torbrowser-launcher: http.py:163:urlparse:TypeError: url must be bytes...
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: torbrowser-launcher (Show other bugs)
23
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Robert Mayr
Fedora Extras Quality Assurance
https://retrace.fedoraproject.org/faf...
abrt_hash:a794d6ec90bc543dcced5008a15...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-14 13:18 EST by Steven Stern
Modified: 2015-11-23 18:19 EST (History)
4 users (show)

See Also:
Fixed In Version: torbrowser-launcher-0.2.2-1.fc23 torbrowser-launcher-0.2.2-1.fc22 torbrowser-launcher-0.2.2-1.fc21
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-11-23 15:54:43 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File: backtrace (1.71 KB, text/plain)
2015-11-14 13:18 EST, Steven Stern
no flags Details
File: dso_list (74 bytes, text/plain)
2015-11-14 13:18 EST, Steven Stern
no flags Details
File: environ (1.73 KB, text/plain)
2015-11-14 13:18 EST, Steven Stern
no flags Details

  None (edit)
Description Steven Stern 2015-11-14 13:18:13 EST
Description of problem:
started browser. it reported an error downloading updates then crashed

Version-Release number of selected component:
torbrowser-launcher-0.2.1-1.fc23

Additional info:
reporter:       libreport-2.6.3
cmdline:        /usr/bin/python2 /usr/bin/torbrowser-launcher
executable:     /usr/bin/torbrowser-launcher
kernel:         4.2.5-300.fc23.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
http.py:163:urlparse:TypeError: url must be bytes, not unicode

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/torbrowser_launcher/launcher.py", line 313, in start
    self.run_task()
  File "/usr/lib/python2.7/site-packages/torbrowser_launcher/launcher.py", line 358, in run_task
    self.start_over()
  File "/usr/lib/python2.7/site-packages/torbrowser_launcher/launcher.py", line 644, in start_over
    self.start(None)
  File "/usr/lib/python2.7/site-packages/torbrowser_launcher/launcher.py", line 313, in start
    self.run_task()
  File "/usr/lib/python2.7/site-packages/torbrowser_launcher/launcher.py", line 342, in run_task
    self.download('tarball', self.common.paths['tarball_url'], self.common.paths['tarball_file'])
  File "/usr/lib/python2.7/site-packages/torbrowser_launcher/launcher.py", line 485, in download
    None)
  File "/usr/lib64/python2.7/site-packages/twisted/web/client.py", line 1926, in request
    deferred = self._agent.request(method, uri, headers, bodyProducer)
  File "/usr/lib/python2.7/site-packages/txsocksx/http.py", line 43, in request
    return self._wrappedAgent.request(*a, **kw)
  File "/usr/lib64/python2.7/site-packages/twisted/web/client.py", line 1557, in request
    parsedURI = URI.fromBytes(uri)
  File "/usr/lib64/python2.7/site-packages/twisted/web/client.py", line 606, in fromBytes
    scheme, netloc, path, params, query, fragment = http.urlparse(uri)
  File "/usr/lib64/python2.7/site-packages/twisted/web/http.py", line 163, in urlparse
    raise TypeError("url must be bytes, not unicode")
TypeError: url must be bytes, not unicode

Local variables in innermost frame:
url: u'https://dist.torproject.org/torbrowser/5.0.4/tor-browser-linux64-5.0.4_en-US.tar.xz'
Comment 1 Steven Stern 2015-11-14 13:18:15 EST
Created attachment 1094104 [details]
File: backtrace
Comment 2 Steven Stern 2015-11-14 13:18:16 EST
Created attachment 1094105 [details]
File: dso_list
Comment 3 Steven Stern 2015-11-14 13:18:17 EST
Created attachment 1094106 [details]
File: environ
Comment 4 Fedora Update System 2015-11-15 10:10:42 EST
torbrowser-launcher-0.2.2-1.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-b1446d3a9f
Comment 5 Fedora Update System 2015-11-15 10:11:17 EST
torbrowser-launcher-0.2.2-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-7fcae013d4
Comment 6 Fedora Update System 2015-11-15 10:11:59 EST
torbrowser-launcher-0.2.2-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-d719cd6bfa
Comment 7 James Gallaher 2015-11-15 22:07:55 EST
Another user experienced a similar problem:

Updated torbrowser-launcher.noarch 0.2.1-1.fc23.noarch, launched the program, and get an error SIGNATURE VERICATION FAILED! with the option to start to exit. When I click on start it says Downloading tarball, but not nothing downloads. So when I click on the exit button, it doesn't do anything. So I have to click on the windowed X button to close it out.

reporter:       libreport-2.6.3
cmdline:        /usr/bin/python2 /usr/bin/torbrowser-launcher
dso_list:       python-twisted-15.1.0-2.fc23.x86_64
executable:     /usr/bin/torbrowser-launcher
kernel:         4.2.5-300.fc23.x86_64
package:        torbrowser-launcher-0.2.1-1.fc23
reason:         http.py:163:urlparse:TypeError: url must be bytes, not unicode
runlevel:       N 5
type:           Python
uid:            1000
Comment 8 Fedora Update System 2015-11-15 23:51:01 EST
torbrowser-launcher-0.2.2-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update torbrowser-launcher'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-7fcae013d4
Comment 9 Fedora Update System 2015-11-16 00:53:24 EST
torbrowser-launcher-0.2.2-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update torbrowser-launcher'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-d719cd6bfa
Comment 10 Fedora Update System 2015-11-16 01:52:08 EST
torbrowser-launcher-0.2.2-1.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update torbrowser-launcher'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-b1446d3a9f
Comment 11 Fedora Update System 2015-11-23 15:54:27 EST
torbrowser-launcher-0.2.2-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Comment 12 Fedora Update System 2015-11-23 17:49:38 EST
torbrowser-launcher-0.2.2-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
Comment 13 Fedora Update System 2015-11-23 18:19:25 EST
torbrowser-launcher-0.2.2-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.