Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!

tor

Discussion in 'General Linux' started by yeskendir, Oct 11, 2018.

  1. yeskendir

    yeskendir New Member

    Joined:
    Oct 11, 2018
    Messages:
    7
    Likes Received:
    0
    torbrowser-launcher doesn't work after installation
    Code:
     
    [email protected]:~$ 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_'



    (Log in to hide this advertisement)

     
  2. arochester

    arochester Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 25, 2017
    Messages:
    345
    Likes Received:
    429
    On what distro? On what computer?
     
  3. yeskendir

    yeskendir New Member

    Joined:
    Oct 11, 2018
    Messages:
    7
    Likes Received:
    0
    I use debian.
     
  4. arochester

    arochester Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 25, 2017
    Messages:
    345
    Likes Received:
    429
  5. yeskendir

    yeskendir New Member

    Joined:
    Oct 11, 2018
    Messages:
    7
    Likes Received:
    0
  6. arochester

    arochester Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 25, 2017
    Messages:
    345
    Likes Received:
    429
    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
     
  7. yeskendir

    yeskendir New Member

    Joined:
    Oct 11, 2018
    Messages:
    7
    Likes Received:
    0
    Yes, I'm using Debian Stretch and I did everything what is said in this instruction, but after installation torbrowser-launcher doesn't open.
     
  8. arochester

    arochester Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 25, 2017
    Messages:
    345
    Likes Received:
    429
    Mine opens. What error messages do you get now?
     
  9. yeskendir

    yeskendir New Member

    Joined:
    Oct 11, 2018
    Messages:
    7
    Likes Received:
    0
  10. arochester

    arochester Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 25, 2017
    Messages:
    345
    Likes Received:
    429
  11. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    1,862
    Likes Received:
    1,845
    @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
     
  12. yeskendir

    yeskendir New Member

    Joined:
    Oct 11, 2018
    Messages:
    7
    Likes Received:
    0
    Code:
    [email protected]:~$ 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
     
  13. arochester

    arochester Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 25, 2017
    Messages:
    345
    Likes Received:
    429
    @wizardfromoz Have you got the commands right? I have installed Tor but I don't have either
    python3-twisted or python3-attr ....
     
  14. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    1,862
    Likes Received:
    1,845
    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

    That, then, led me to versions.

    The one from Debian themselves features, in part, this

    My highlighting.

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

    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
     
  15. arochester

    arochester Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 25, 2017
    Messages:
    345
    Likes Received:
    429
    Is that Tor? I have Debian Stretch 0.2.9.16-1
     
  16. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    1,862
    Likes Received:
    1,845
    Sorry I was referring to Python3-twisted as opposed to Python 2.7-twisted

    Wiz
     
  17. arochester

    arochester Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 25, 2017
    Messages:
    345
    Likes Received:
    429
    I have python-twisted 18.7.0-2~bpo9+1
     
  18. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    1,862
    Likes Received:
    1,845
    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
     
  19. yeskendir

    yeskendir New Member

    Joined:
    Oct 11, 2018
    Messages:
    7
    Likes Received:
    0
  20. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    1,862
    Likes Received:
    1,845
    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
     

Share This Page