tor2web / Tor2web

Tor2web is an HTTP proxy software that enables access to Tor Hidden Services by mean of common web browsers
https://www.tor2web.org
GNU Affero General Public License v3.0
700 stars 177 forks source link

ImportError: No module named twisted.spread #340

Open evilaliv3 opened 7 years ago

evilaliv3 commented 7 years ago

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!](https://www.bountysource.com/issues/49488445-importerror-no-module-named-twisted-spread?utm_campaign=plugin&utm_content=tracker%2F318575&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F318575&utm_medium=issues&utm_source=github).