---------------------------------------------------------------------------------------------
Python 3.7.3 (default, Jul 25 2020, 13:03:44)
[GCC 8.3.0]
IDAPython 64-bit v7.4.0 final (serial 0) (c) The IDAPython Team <idapython@googlegroups.com>
---------------------------------------------------------------------------------------------
Python>import revsync
Traceback (most recent call last):
File "/home/jibanes/.idapro/revsync/redis/connection.py", line 455, in connect
sock = self._connect()
File "/home/jibanes/.idapro/revsync/redis/connection.py", line 512, in _connect
raise err
File "/home/jibanes/.idapro/revsync/redis/connection.py", line 486, in _connect
sock = socket.socket(family, socktype, proto)
File "/usr/lib/python3.7/socket.py", line 151, in __init__
_socket.socket.__init__(self, family, type, proto, fileno)
OSError: [Errno 97] Address family not supported by protocol
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jibanes/.idapro/revsync/redis/client.py", line 665, in execute_command
connection.send_command(*args)
File "/home/jibanes/.idapro/revsync/redis/connection.py", line 581, in send_command
self.send_packed_command(self.pack_command(*args))
File "/home/jibanes/.idapro/revsync/redis/connection.py", line 556, in send_packed_command
self.connect()
File "/home/jibanes/.idapro/revsync/redis/connection.py", line 460, in connect
raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 97 connecting to localhost:6379. Address family not supported by protocol.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jibanes/.idapro/revsync/redis/connection.py", line 455, in connect
sock = self._connect()
File "/home/jibanes/.idapro/revsync/redis/connection.py", line 512, in _connect
raise err
File "/home/jibanes/.idapro/revsync/redis/connection.py", line 486, in _connect
sock = socket.socket(family, socktype, proto)
File "/usr/lib/python3.7/socket.py", line 151, in __init__
_socket.socket.__init__(self, family, type, proto, fileno)
OSError: [Errno 97] Address family not supported by protocol
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/jibanes/.idapro/revsync/__init__.py", line 44, in <module>
import ida_frontend
File "/home/jibanes/.idapro/revsync/ida_frontend.py", line 22, in <module>
client = Client(**config)
File "/home/jibanes/.idapro/revsync/client.py", line 54, in __init__
self.r.info()
File "/home/jibanes/.idapro/revsync/redis/client.py", line 758, in info
return self.execute_command('INFO')
File "/home/jibanes/.idapro/revsync/redis/client.py", line 671, in execute_command
connection.send_command(*args)
File "/home/jibanes/.idapro/revsync/redis/connection.py", line 581, in send_command
self.send_packed_command(self.pack_command(*args))
File "/home/jibanes/.idapro/revsync/redis/connection.py", line 556, in send_packed_command
self.connect()
File "/home/jibanes/.idapro/revsync/redis/connection.py", line 460, in connect
raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 97 connecting to localhost:6379. Address family not supported by protocol.
config.json: { "host": "localhost", "port": 6379, "password": "password", "nick": "changeme" }
"127.0.0.1" instead of localhost didn't change things.