Skip to content

ipfshttpclient.exception raised when using ethpm list #100

@yogh333

Description

@yogh333

If this is a bug report, please fill in the following sections.
If this is a feature request, delete and describe what you would like with examples.

What was wrong?

Unable to use ethos client

Code that produced the error

ethpm list

Full error output

ethPM CLI: A command line tool for the Ethereum Package Manager. v0.2.0

Traceback (most recent call last):
  File "/usr/local/bin/ethpm", line 33, in <module>
    sys.exit(load_entry_point('ethpm-cli==0.2.0', 'console_scripts', 'ethpm')())
  File "/usr/local/Cellar/ethpm-cli/0.2.0/libexec/lib/python3.8/site-packages/ethpm_cli/main.py", line 16, in main
    args.func(args)
  File "/usr/local/Cellar/ethpm-cli/0.2.0/libexec/lib/python3.8/site-packages/ethpm_cli/parser.py", line 534, in list_action
    config = Config(args)
  File "/usr/local/Cellar/ethpm-cli/0.2.0/libexec/lib/python3.8/site-packages/ethpm_cli/config.py", line 47, in __init__
    self.ipfs_backend = get_ipfs_backend()
  File "/usr/local/Cellar/ethpm-cli/0.2.0/libexec/lib/python3.8/site-packages/ethpm_cli/_utils/ipfs.py", line 7, in get_ipfs_backend
    return InfuraIPFSBackend()
  File "/usr/local/Cellar/ethpm-cli/0.2.0/libexec/lib/python3.8/site-packages/ethpm/backends/ipfs.py", line 78, in __init__
    self.client = ipfshttpclient.connect(self.base_uri)
  File "/usr/local/Cellar/ethpm-cli/0.2.0/libexec/lib/python3.8/site-packages/ipfshttpclient/client/__init__.py", line 101, in connect
    assert_version(client.version()['Version'])
  File "/usr/local/Cellar/ethpm-cli/0.2.0/libexec/lib/python3.8/site-packages/ipfshttpclient/client/__init__.py", line 66, in assert_version
    raise exceptions.VersionMismatch(version, minimum, maximum)
ipfshttpclient.exceptions.VersionMismatch: Unsupported daemon version '[0, 5, 1]' (not in range: [0, 4, 3] – [0, 5, 0])

Environment

# run this:
$ python -m eth_utils

# then copy the output here:
/Users/jcaporossi/.pyenv/shims/python: line 21: /usr/local/Cellar/pyenv/1.2.19/libexec/pyenv: No such file or directory

How can it be fixed?

Fill this section in if you know how this could or should be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions