tor

yeskendir

New Member
Joined
Oct 11, 2018
Messages
12
Reaction score
0
Credits
0
torbrowser-launcher doesn't work after installation
Code:
cap@debian:~$ torbrowser-launcher
Traceback (most recent call last):
  File "/usr/bin/torbrowser-launcher", line 29, in <module>
    import torbrowser_launcher
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/__init__.py", line 33, in <module>
    from .common import Common, SHARE
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/common.py", line 55, in <module>
    from twisted.internet import gtk2reactor
  File "/usr/lib/python2.7/dist-packages/twisted/internet/gtk2reactor.py", line 23, in <module>
    from twisted.internet import _glibbase
  File "/usr/lib/python2.7/dist-packages/twisted/internet/_glibbase.py", line 20, in <module>
    from twisted.internet import base, posixbase, selectreactor
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 27, in <module>
    from twisted.internet._resolver import (
  File "/usr/lib/python2.7/dist-packages/twisted/internet/_resolver.py", line 25, in <module>
    from twisted.internet.address import IPv4Address, IPv6Address
  File "/usr/lib/python2.7/dist-packages/twisted/internet/address.py", line 23, in <module>
    class IPv4Address(object):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/address.py", line 37, in IPv4Address
    type = attr.ib(validator=attr.validators.in_(["TCP", "UDP"]))
AttributeError: 'module' object has no attribute 'in_'
 


1) Are you using Stretch?
2) Have you got stretch-backports and have you got contrib and non-free added?
Code:
deb http://deb.debian.org/debian stretch-backports main contrib non-free
3) Update and upgrade.
4) Install torbrowser-launcher from stretch-backports
Code:
sudo apt install torbrowser-launcher -t stretch-backports
5) If successful Tor Browser should appear in your menu
 
Yes, I'm using Debian Stretch and I did everything what is said in this instruction, but after installation torbrowser-launcher doesn't open.
 
Mine opens. What error messages do you get now?
 
@yeskendir welcome to linux.org :)

If colleague @arochester 's last Post has produced no fruit (if it has please let us know) - can you give us the output from

Code:
apt-cache policy python3-twisted python3-attr

Thanks

Chris Turner
wizardfromoz
 
Code:
cap@debian:~$ apt-cache policy python3-twisted python3-attr
python3-twisted:
  Installed: (none)
  Candidate: 16.6.0-2
  Version table:
     18.7.0-2~bpo9+1 100
        100 http://deb.debian.org/debian stretch-backports/main amd64 Packages
        100 http://deb.debian.org/debian stretch-backports/main i386 Packages
     16.6.0-2 500
        500 http://mirror.neolabs.kz/debian stretch/main amd64 Packages
        500 http://mirror.neolabs.kz/debian stretch/main i386 Packages
python3-attr:
  Installed: (none)
  Candidate: 16.3.0-1
  Version table:
     17.4.0-2~bpo9+1 100
        100 http://deb.debian.org/debian stretch-backports/main amd64 Packages
        100 http://deb.debian.org/debian stretch-backports/main i386 Packages
     16.3.0-1 500
        500 http://mirror.neolabs.kz/debian stretch/main amd64 Packages
        500 http://mirror.neolabs.kz/debian stretch/main i386 Packages
 
@wizardfromoz Have you got the commands right? I have installed Tor but I don't have either
python3-twisted or python3-attr ....
 
@wizardfromoz Have you got the commands right? I have installed Tor but I don't have either
python3-twisted or python3-attr ....

Commands are correct, and the said packages are on my Debian Stretch. That being said, I know next to nothing about Python, nor Tor, so am flying by the seat of my wizardly pants :)

Do you have 2.7, @arochester ?

I am working on the basis of a Google search performed using the keywords

"AttributeError: 'module' object has no attribute 'in_' python" both with and without "python" to re-focus the search.

From that

https://github.com/infobyte/faraday/issues/283

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910056

and slightly less-related is

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893308

This last one featured in part the following

Hi Georg,

with 2.9.3 this works for me without the error you describe (tested on
stretch though).

Interestingly you seem to be using a newer version of python-twisted
(17.9.0-1) than me (16.6.0-2). This error might be due to this. Can you
still reproduce this and if yes with which version of python-twisted?

Cheers!

That, then, led me to versions.

The one from Debian themselves features, in part, this

Reported by: Stuart Prescott <[email protected]>

Date: Tue, 2 Oct 2018 04:48:02 UTC

Severity: serious

Found in version twisted/18.7.0-2


Fixed in version twisted/18.7.0-3


Done: Mattia Rizzolo <[email protected]>

My highlighting.

The OP (that's you, @yeskendir ) has reported output that indicates he is running with

18.7.0-2~bpo9+1

So it may be the case that if he updates to 18.7.0-3 the problem may be resolved. I also saw something about downgrading to 18.4, but one step at a time.

That's all I have to offer for now.

Cheers

Wizard
 
Sorry I was referring to Python3-twisted as opposed to Python 2.7-twisted

Wiz
 
Yes, so that is the one that the article was referring to, and allegedly fixed with 18.7.0-3 ?

Now obviously, you have a working Tor, so perhaps the problem is not widespread, although they ranked it as Serious.

I am just throwing in leads here that I have identified, in the hope that they can help. But my contributions are probably at an end.

Good luck !

Wizard
 
Nice find :)

@arochester may know, they will be files ending in .conf and likely having "tor" in their name/s.

Maybe it is quicker for you to join for free, Github, and ask their member

AqwelF

for his input? If you do, and it works for you, perhaps you could let us know?

Cheers

Wizard
 

Members online


Top