-
Notifications
You must be signed in to change notification settings - Fork 23
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
TypeError while opening Links/ #279
Comments
I have no bandwidth to dig into this, but if someone wants to pick this up, comments by @rvagg in ipld/specs#297 sound relevant. I suspect the current JS implementation expects |
I'm trying to understand this but finding I don't have nearly enough background in how all of these components work. I'm poking around in js-ipfs to no avail but maybe I'm not even looking in the right place. The work in the specs repo are for a newer implementation of dag-pb that this shouldn't impact. I don't believe there's been any major changes that should impact this in a while, this was probably the biggest thing (aside from Buffer -> Uint8Array): ipld/js-ipld-dag-pb#184 I'm pretty sure that there will always be a
(there is no Can you tell me how |
Ah, I think I have it! extracting It should now be |
oh, and this: |
This comment has been minimized.
This comment has been minimized.
Cannot assign me to this issue, I will try @rvagg 's suggestions |
I tried this, but I had no success. Looking at what actually the object contains, it seems that the previous code is correct, we iterate over this type of objects:
I found a potential solution, that I will PR shortly |
For what its worth, we have a bunch of technical debt in this repo (was created way before we had proper IPLD in js-ipfs) and in go-ipfs (it still does not use ipld-prime). There may not be an easy fix that works with goth js-ipfs and js-ipfs-http-client in webui – I feel a bigger refactor is needed after ipld prime work lands everywhere. |
I believe this is fixed on my branch where i'm fixing #359 |
Explorer returns an error while traversing some DAGs.
Steps to reproduce:
QmWYmE8fzNRYg48E5PaDhMfHqfbPjyQVmUjGQfgAsa4NYq
Links/0
, you will be moved toQmY4HSz1oVGdUzb8poVYPLsoqBZjH6LZrtgnme9wWn2Qko
Links/0
again, you will see error looking similar to this:Demo: https://webui.ipfs.io/#/explore/QmWYmE8fzNRYg48E5PaDhMfHqfbPjyQVmUjGQfgAsa4NYq/Links/0
Additional notes:
The text was updated successfully, but these errors were encountered: