Skip to content

ImportError: No module named twisted.spread #340

Open
@evilaliv3

Description

@evilaliv3

Recent setups of Tor2web on xenial are failing due to the following exception ``` ImportError: No module
named twisted.spread''''

It follows the staketrace of a user setupping it in relation to letsencrypt:

Sep 05 17:18:57 xxx.xxx.xxx tor2web[5573]: Letsencrypt detected,
fixing permission for /etc/letsencrypt/{live,archive} for tor2web user
Sep 05 17:18:57 xxx.xxx.xxx tor2web[5573]:  * Enabling Tor2web
Apparmor Sandboxing...
Sep 05 17:18:57 xxx.xxx.xxx tor2web[5573]:  * Starting Tor2web
tor2web...
Sep 05 17:18:57 xxx.xxx.xxx tor2web[5573]:  * Starting tor daemon...
Sep 05 17:18:57 xxx.xxx.xxx tor2web[5573]:    ...done.
Sep 05 17:18:58 xxx.xxx.xxx tor2web[5573]: Traceback (most recent
call last):
Sep 05 17:18:58 xxx.xxx.xxx tor2web[5573]:   File
"/usr/lib/python2.7/dist-packages/tor2web/t2w.py", line 35, in <module>
Sep 05 17:18:58 xxx.xxx.xxx tor2web[5573]:     from twisted.spread
import pb
Sep 05 17:18:58 xxx.xxx.xxx tor2web[5573]: ImportError: No module
named twisted.spread
Sep 05 17:18:58 xxx.xxx.xxx tor2web[5573]: Traceback (most recent
call last):
Sep 05 17:18:58 xxx.xxx.xxx tor2web[5573]:   File
"/usr/lib/python2.7/dist-packages/tor2web/t2w.py", line 35, in <module>
Sep 05 17:18:58 xxx.xxx.xxx tor2web[5573]:     from twisted.spread
import pb
Sep 05 17:18:58 xxx.xxx.xxx tor2web[5573]: ImportError: No module
named twisted.spread
Sep 05 17:18:58 xxx.xxx.xxx tor2web[5573]:    ...fail!
Sep 05 17:18:58 xxx.xxx.xxx systemd[1]: tor2web.service: Control
process exited, code=exited status=1
Sep 05 17:18:58 xxx.xxx.xxx systemd[1]: Failed to start LSB: Start
the Tor2web proxy..
-- Subject: Unit tor2web.service has failed

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions