#18573 closed defect (invalid)
error in python tor module
Reported by: | singhal | Owned by: | |
---|---|---|---|
Priority: | Very High | Milestone: | |
Component: | - Select a component | Version: | |
Severity: | Normal | Keywords: | python3, tor, pyhton3 tor module |
Cc: | Actual Points: | ||
Parent ID: | Points: | ||
Reviewer: | Sponsor: | None |
Description
Hello,
I'm facing some issue in python tor module version "torctl==0.2", error looks like:
Traceback (most recent call last):
File "ip-renew-1.py", line 1, in <module>
from TorCtl import TorCtl
File "/usr/local/lib/python3.4/dist-packages/TorCtl/TorCtl.py", line 129
except socket.error, exc:
SyntaxError: invalid syntax
can you please help me how to solve this issue.
Child Tickets
Attachments (1)
Change History (3)
Changed 4 years ago by
comment:1 Changed 4 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Hi singhal, TorCtl was deprecated years ago and is only used for Torflow nowadays. Try using Stem instead...
comment:2 Changed 4 years ago by
On a side note you're probably hitting that due to using python3 with TorCtl. TorCtl only supports python2 but Stem supports both.
Note: See
TracTickets for help on using
tickets.
error file