Closed thealphadollar closed 6 years ago
merge conflicts resolved, please check @ashishkg0022
I am currently not using net under proxy . please wait for a week , I will test it.
@ashishkg0022 please check this now?
Sorry for the delay. I have tested it and it is not working
File "ga-cli.py", line 98, in <module>
M = imaplib.IMAP4_SSL('imap.gmail.com')
File "/usr/lib/python2.7/imaplib.py", line 1166, in __init__
IMAP4.__init__(self, host, port)
File "/usr/lib/python2.7/imaplib.py", line 173, in __init__
self.open(host, port)
File "/usr/lib/python2.7/imaplib.py", line 1177, in open
self.sock = socket.create_connection((host, port))
File "/usr/lib/python2.7/socket.py", line 575, in create_connection
raise err
socket.error: [Errno 101] Network is unreachable
The error hasn't been resolved and I'm unable to rectify it.
3 I've added the code to ask the user if he wants to add a proxy (only in the terminal version not GUI), and those proxy settings are used for the incoming and outgoing traffic.
I'm currently not behind a proxy and hence was not able to test this but theoretically, it should work.