jgarzik/python-bitcoinrpc

TypeError: getsockaddrarg: AF_INET address must be tuple, not int

Opened this issue · 4 comments

from bitcoinrpc.authproxy import AuthServiceProxy

access = AuthServiceProxy('http://users:passwrd@127.0.0.1:28332',timeout=120)

printme=access.getrawtransaction("000000000000001e2b28866e4d43c9f3ac6445e45c548ed041b59a8c89542839")

---> Error

from bitcoinrpc.authproxy import AuthServiceProxy

access = AuthServiceProxy('http://users:passwrd@127.0.0.1:28332',timeout=120)

printme=access.getrawtransaction("000000000000001e2b28866e4d43c9f3ac6445e45c548ed041b59a8c89542839")

---> Error

set up: python 3.6

Having the same problem, apparently this lib is not compatible with python 3, looking for a replacement right now.

have you solved this problem? i have the same error, 2 days ago everything worked....

I don't think so, but it's been 4+ years so I don't really remember.