-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script indefinitely waits at "Trying to login" #5
Comments
I know the script is creating trouble, I'll fix it as soon as I get time.
|
I ran the script first using --setup and then using <mbl_no> "" but it got stuck at "Trying to login". I double checked my internet connection and also made sure I am not trying the script behind proxy etc. Finally when I pressed Ctrl+C, the script barfed the following Traceback:
Reading Authfile:/home/xxx/.sendsms.auth
Read!
Read zzzzz's number from the phonebook as #number#
The message will be sent to the following numbers:
'#number#'
Username:#my number#
No previous Authentication session
Sending to #number#, the following message:
testing testing
Trying to login
Caught an Exception URLError. Retrying...
Caught an Exception URLError. Retrying...
Caught an Exception URLError. Retrying...
Caught an Exception URLError. Retrying...
Caught an Exception URLError. Retrying...
Caught an Exception URLError. Retrying...
Caught an Exception URLError. Retrying...
^CTraceback (most recent call last):
File "./sendsms.py", line 236, in
if login(username,password):
File "./sendsms.py", line 213, in login
f = tryopen(o,confget('Auth','logincheck'),login_encode)
File "./sendsms.py", line 159, in tryopen
f = opener.open(url,data)
File "/usr/lib/python2.7/urllib2.py", line 391, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 409, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 369, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 1185, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1154, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/usr/lib/python2.7/httplib.py", line 955, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 989, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 951, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 811, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 773, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 754, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 562, in create_connection
sock.connect(sa)
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(_args)
KeyboardInterrupt
The text was updated successfully, but these errors were encountered: