-
Notifications
You must be signed in to change notification settings - Fork 39
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
Update usage of Python ipfsapi module to use its new name #608
Comments
Swapping out for the updated name (from 0b9bb3e) and running in Python 3 produces an error:
Perhaps there was a change in the underline multiaddr implementation that prevent ipwb from using localhost on the |
A more fundamental example:
produces the same result:
Though we are planning on decoupling ipwb from the expectation of an IPFS instance (#349), localhost has served as a sane default to get up-and-running. Some other loopback address might be appropriate to remedy the issue of accessing the local IPFS daemon, e.g., 0.0.0.0. @ibnesayeed Your suggestion for an alternative to the above would be helpful here. |
Ok, simply Changes in Important changes from ipfsapi 0.4.x at https://github.com/ipfs/py-ipfs-api/ document this a little further:
This will be somewhat key to #349. |
should work as a solution for now. |
Fix client invocation per the new API module's docs. Fixes #608
That's a drastic change in the API. I hope they have a good reason to make such breaking changes. |
The Python version of the IPFSAPI has changed named from
ipfsapi
toipfshttpclient
. Attempting to runipwb
without parameters produces:...which could probably be displayed through another means. Regardless, we should update ipwb to use the newer name for the API module.
The text was updated successfully, but these errors were encountered: