Boa tarde pessoal. Estou tentando fazer funcionar o yowsup mas quando executo o comando esta gerando um erro com o python.
Alguém tem alguma ideia do que pode ser ?
Segue abaixo....
yowsup-cli registration -r sms --phone 554796095480 --cc 55 Traceback (most recent call last): File "/usr/bin/yowsup-cli", line 5, in <module> pkg_resources.run_script('yowsup2==2.4', 'yowsup-cli') File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 540, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1462, in run_script exec_(script_code, namespace, namespace) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 41, in exec_ exec("""exec code in globs, locs""") File "<string>", line 1, in <module> File "/usr/lib/python2.7/site-packages/yowsup2-2.4-py2.7.egg/EGG-INFO/scripts/yowsup-cli", line 323, in <module>
File "/usr/lib/python2.7/site-packages/yowsup2-2.4-py2.7.egg/EGG-INFO/scripts/yowsup-cli", line 158, in process
File "/usr/lib/python2.7/site-packages/yowsup2-2.4-py2.7.egg/EGG-INFO/scripts/yowsup-cli", line 176, in handleRequestCode
File "build/bdist.linux-x86_64/egg/yowsup/registration/coderequest.py", line 46, in send File "build/bdist.linux-x86_64/egg/yowsup/common/http/warequest.py", line 73, in send File "build/bdist.linux-x86_64/egg/yowsup/common/http/warequest.py", line 111, in sendGetRequest File "build/bdist.linux-x86_64/egg/yowsup/common/http/warequest.py", line 167, in sendRequest File "/usr/lib64/python2.7/httplib.py", line 973, in request self._send_request(method, url, body, headers) File "/usr/lib64/python2.7/httplib.py", line 1007, in _send_request self.endheaders(body) File "/usr/lib64/python2.7/httplib.py", line 969, in endheaders self._send_output(message_body) File "/usr/lib64/python2.7/httplib.py", line 829, in _send_output self.send(msg) File "/usr/lib64/python2.7/httplib.py", line 791, in send self.connect() File "/usr/lib64/python2.7/httplib.py", line 1172, in connect self.timeout, self.source_address) File "/usr/lib64/python2.7/socket.py", line 571, in create_connection raise err socket.error: [Errno 113] No route to host
Pergunta
brekler
Boa tarde pessoal. Estou tentando fazer funcionar o yowsup mas quando executo o comando esta gerando um erro com o python.
Alguém tem alguma ideia do que pode ser ?
Segue abaixo....
yowsup-cli registration -r sms --phone 554796095480 --cc 55
Traceback (most recent call last):
File "/usr/bin/yowsup-cli", line 5, in <module>
pkg_resources.run_script('yowsup2==2.4', 'yowsup-cli')
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 540, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1462, in run_script
exec_(script_code, namespace, namespace)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 41, in exec_
exec("""exec code in globs, locs""")
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/yowsup2-2.4-py2.7.egg/EGG-INFO/scripts/yowsup-cli", line 323, in <module>
File "/usr/lib/python2.7/site-packages/yowsup2-2.4-py2.7.egg/EGG-INFO/scripts/yowsup-cli", line 158, in process
File "/usr/lib/python2.7/site-packages/yowsup2-2.4-py2.7.egg/EGG-INFO/scripts/yowsup-cli", line 176, in handleRequestCode
File "build/bdist.linux-x86_64/egg/yowsup/registration/coderequest.py", line 46, in send
File "build/bdist.linux-x86_64/egg/yowsup/common/http/warequest.py", line 73, in send
File "build/bdist.linux-x86_64/egg/yowsup/common/http/warequest.py", line 111, in sendGetRequest
File "build/bdist.linux-x86_64/egg/yowsup/common/http/warequest.py", line 167, in sendRequest
File "/usr/lib64/python2.7/httplib.py", line 973, in request
self._send_request(method, url, body, headers)
File "/usr/lib64/python2.7/httplib.py", line 1007, in _send_request
self.endheaders(body)
File "/usr/lib64/python2.7/httplib.py", line 969, in endheaders
self._send_output(message_body)
File "/usr/lib64/python2.7/httplib.py", line 829, in _send_output
self.send(msg)
File "/usr/lib64/python2.7/httplib.py", line 791, in send
self.connect()
File "/usr/lib64/python2.7/httplib.py", line 1172, in connect
self.timeout, self.source_address)
File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
raise err
socket.error: [Errno 113] No route to host
Link para o comentário
Compartilhar em outros sites
0 respostass a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.