Skip to content
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

pip python-bitcoinrpc is not up-to-date #62

Closed
pinheadmz opened this issue Jan 14, 2016 · 7 comments
Closed

pip python-bitcoinrpc is not up-to-date #62

pinheadmz opened this issue Jan 14, 2016 · 7 comments

Comments

@pinheadmz
Copy link

Specifically is missing this commit:

8c0114b

My experience:
sudo pip install python-bitcoinrpc

Then running this script:

from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException
rpc_connection = AuthServiceProxy("http://%s:%s@127.0.0.1:8332"%("USER","PW"))
print(rpc_connection.getinfo())

simply outputs:
None

After editing /usr/local/lib/python2.7/dist-packages/bitcoinrpc/authproxy.py manually removing the "else" in line 146, the same script produces better results:

{u'connections': 10, u'errors': u'', u'blocks': 393219, u'paytxfee': Decimal('0E-8'), u'keypoololdest': 1451977259, u'walletversion': 60000, u'difficulty': Decimal('113354299801.47113037'), u'testnet': False, u'version': 110000, u'proxy': u'', u'protocolversion': 70010, u'timeoffset': -1, u'balance': Decimal('0E-8'), u'unlocked_until': 0, u'relayfee': Decimal('0.00005000'), u'keypoolsize': 101}
@shivaenigma
Copy link

Can this be fixed. This is creating lot of confusion http://bitcoin.stackexchange.com/questions/42134/python-bitcoinrpc-only-debug-available

@ShawnKimble
Copy link

Bumping this for priority. Being out of the loop, its very confusing to resolve and identify the "NONE" issue as a repository bug.

sbellem added a commit to sbellem/transactions that referenced this issue Jun 2, 2016
sbellem added a commit to sbellem/transactions that referenced this issue Jun 2, 2016
sbellem added a commit to sbellem/transactions that referenced this issue Jun 2, 2016
sbellem added a commit to ascribe/transactions that referenced this issue Jun 2, 2016
* Add some fixtures

* Ignore build dir and .swn files

* Clean up, and support dependency links

mainly for python-bitcoinrpc fork because the PyPI package is outdated,
and has a bug

* Add tests

* Use fixed version of python-bitcoinrpc

see jgarzik/python-bitcoinrpc#62

* Process dependency links when using pip on travis

needed for python-bitcoinrpc lib, until PyPI is updated with newest

* Add python-bitcoinrpc to required pkgs for tests

* Add convenience function for jsonrpc

* Use fixtures
@nmarley
Copy link

nmarley commented Aug 21, 2016

I got this too -- is there any way to bump the version and update the PyPI repository?

What needs to be done to push this to the repo? @jgarzik ?

@jgarzik
Copy link
Owner

jgarzik commented Aug 21, 2016

I'm not the maintainer of the pip/PyPi repo - no linkage with this github.

Happy to bump the version in this repo, if that helps.

@nmarley
Copy link

nmarley commented Aug 22, 2016

Ok, thanks Jeff. Guess I'll have to dig thru there and see who that is then.

Can you please bump the version? I submitted a PR #68 to bump the version if that makes it easier for you, or however you wanna do it.

@jgarzik
Copy link
Owner

jgarzik commented Aug 22, 2016

Fixed in 76ced42

@jgarzik jgarzik closed this as completed Aug 22, 2016
@nmarley
Copy link

nmarley commented Aug 24, 2016

Emailed the maintainer and he pushed the latest version (1.0), so this is now resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants