jgarzik / python-bitcoinrpc

Python interface to bitcoin's JSON-RPC API
GNU Lesser General Public License v2.1
642 stars 307 forks source link

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

Open helios97 opened 6 years ago

helios97 commented 6 years ago

from bitcoinrpc.authproxy import AuthServiceProxy

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

printme=access.getrawtransaction("000000000000001e2b28866e4d43c9f3ac6445e45c548ed041b59a8c89542839")

---> Error

helios97 commented 6 years ago

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

juanformoso commented 5 years ago

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

PahanLL commented 11 months ago

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

juanformoso commented 11 months ago

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