[Pkg-privacy-maintainers] Bug#908706: torbrowser-launcher: error on torbrowser-launcher first install: exceptions.AttributeError: 'NoneType' object has no attribute 'bio_read'

stefan esterer stefan.esterer at gmail.com
Wed Sep 12 21:35:15 BST 2018


Package: torbrowser-launcher
Version: 0.2.9-3
Severity: important

Hi!

After installing the torbrowser-launcher package on my system I tried to
run it as a user it tries to download the tor browser but if fails with
an python exception:

Downloading and installing Tor Browser for the first time.
Downloading
https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/en-US
Latest version: 8.0
Downloading
https://dist.torproject.org/torbrowser/8.0/tor-browser-linux64-8.0_de.tar.xz.asc
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line
103, in callWithLogger
    return callWithContext({"system": lp}, func, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line
86, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py",
line 122, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py",
line 85, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py",
line 614, in _doReadOrWrite
    why = selectable.doRead()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line
243, in doRead
    return self._dataReceived(data)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line
249, in _dataReceived
    rval = self.protocol.dataReceived(data)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/endpoints.py",
line 125, in dataReceived
    return self._wrappedProtocol.dataReceived(data)
  File "/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line
330, in dataReceived
    self._flushReceiveBIO()
  File "/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line
300, in _flushReceiveBIO
    self._flushSendBIO()
  File "/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line
252, in _flushSendBIO
    bytes = self._tlsConnection.bio_read(2 ** 15)
exceptions.AttributeError: 'NoneType' object has no attribute 'bio_read'

Downloading
https://dist.torproject.org/torbrowser/8.0/tor-browser-linux64-8.0_de.tar.xz
Verifying Signature
Extracting tor-browser-linux64-8.0_de.tar.xz
Running
/home/stefan/.local/share/torbrowser/tbb/x86_64/tor-browser_de/start-tor-browser.desktop
Launching './Browser/start-tor-browser --detach'...
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line
103, in callWithLogger
    return callWithContext({"system": lp}, func, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line
86, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py",
line 122, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py",
line 85, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py",
line 614, in _doReadOrWrite
    why = selectable.doRead()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line
243, in doRead
    return self._dataReceived(data)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line
249, in _dataReceived
    rval = self.protocol.dataReceived(data)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/endpoints.py",
line 125, in dataReceived
    return self._wrappedProtocol.dataReceived(data)
  File "/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line
330, in dataReceived
    self._flushReceiveBIO()
  File "/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line
300, in _flushReceiveBIO
    self._flushSendBIO()
  File "/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line
252, in _flushSendBIO
    bytes = self._tlsConnection.bio_read(2 ** 15)
exceptions.AttributeError: 'NoneType' object has no attribute 'bio_read'

Is there any other information I can provider? Am I am making a mistake?

thx

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8),
LANGUAGE=de_AT:de (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages torbrowser-launcher depends on:
ii  ca-certificates   20170717
ii  gnupg             2.2.10-1
ii  libdbus-glib-1-2  0.110-3
ii  python            2.7.15-3
ii  python-gtk2       2.24.0-5.1+b1
ii  python-lzma       0.5.3-3.1
ii  python-parsley    1.2-1
ii  python-psutil     5.4.6-1+b1
ii  python-twisted    18.7.0-2
ii  python-txsocksx   1.15.0.2-1

Versions of packages torbrowser-launcher recommends:
ii  tor  0.3.3.9-1

Versions of packages torbrowser-launcher suggests:
ii  apparmor       2.13-8
pn  python-pygame  <none>

-- no debconf information



More information about the Pkg-privacy-maintainers mailing list