question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unsupported daemon version '0.12.2' (not in range: 0.4.3 \u2264 � < 0.5.0)

See original GitHub issue

Hi i am new to IPFS and Python and while trying out to store data on ipfs i ran into some errors, please help me

here is my code:

import ipfshttpclient
client = ipfshttpclient.connect('/ip4/127.0.0.1/tcp/8080)  # Connects to: /dns/localhost/tcp/5001/http
res = client.add('test.txt')

Here is the error: ipfshttpclient.exceptions.VersionMismatch: Unsupported daemon version '0.8.0' (not in range: 0.4.18 \u2264 � < 0.5.0)

go-ipfs version: 0.12.2 Repo version: 12 Platform: Windows10

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:13

github_iconTop GitHub Comments

4reactions
BobBorgescommented, May 13, 2022

@jay0x5 I’ve seen similar comments in other places too – problem is, I just hate javascript. I went into my package files and changed the VERSION_MAXIMUM variable to “0.13.0”, line 19 in client/__init__.py. After that it allows me to connect and add(). I haven’t fully explored the consequence of this hack (I’m still trying to wrap my head around IPFS in general) – but I suppose if it would be so simple someone else would have done this already.

1reaction
veqtorcommented, Aug 3, 2022

It’s absolutely absurd that ipfs doesn’t have a working client in python

Read more comments on GitHub >

github_iconTop Results From Across the Web

I'm using a ipfs library that's still not updated to IPFS 0.9.0. Can ...
The library in question is python ipfs-http-client . My intention is to upload files from a python script. Of course, when using the...
Read more >
What do I need to install to use fwupd to update my computer's ...
The solution is to either run: fwupd.fwupdmgr get-devices. if you have both the snap and deb versions installed on your machine,.
Read more >
py-ipfs-http-client - bytemeta
VersionMismatch: Unsupported daemon version '0.13.0' (not in range: 0.4.23 ≤ ... Unsupported daemon version '0.12.2' (not in range: 0.4.3 \u2264 < 0.5.0).
Read more >
ipfs-daemon - npm
JavaScript implementation of the IPFS specification. Latest version: 0.15.0, last published: 2 months ago. Start using ipfs-daemon in your ...
Read more >
unresolved import `lambda_attributes` when compiling with default ...
Worse, the customer might not discover the downsides of the #[lambda] API ... Unsupported daemon version '0.12.2' (not in range: 0.4.3 \u2264 <...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found