all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Laura Lazzati <laura.lazzati.15@gmail.com>
To: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: IPFS trouble
Date: Tue, 18 Dec 2018 12:56:26 -0300	[thread overview]
Message-ID: <CAPNLzUNJWFYmSYdurfh4g+jowExMomzAUzz108tz83Ngy2eXLg@mail.gmail.com> (raw)
In-Reply-To: <CAPNLzUMSRQk1zHPW_WqDmJ36Ob8oojyxUcTG_+hxEKCzT8J+9g@mail.gmail.com>

Hi Björn - and guix -

Here is everything I tried

mkdir ipfsFiles
cd
cd videosWithoutTranslation/
cp audio-input-list3.txt /home/laura/ipfsFiles/
cp video-input-list3.txt /home/laura/ipfsFiles/
ipfs add -r ipfsFiles/
cd ipfsFiles
ipfs  init
initializing IPFS node at /home/laura/.ipfs
generating 2048-bit RSA keypair...done
peer identity: QmVJW3dAuoXaqeeHeVrsD7fJHhrAxoriR2JurtGNx3e8he
to get started, enter:

    ipfs cat /ipfs/QmS4ustL54uo8FzR9455qaxZwuMiUhyvMcX9Ba8nUH4uVv/readme
cd
ipfs add -r ipfsFiles/
added QmVmtcXockAvmA9ZorgksmwK4PiSV4AoRx7KpoLczg2AD9
ipfsFiles/audio-input-list3.txt
added QmTtutKMVDCWtinAC8m1Xft4u4P84uCjPhqJ9amVswCSAe
ipfsFiles/video-input-list3.txt
added Qmd2aRaa6rSEkwU95Lk3RGtHp7oBzJyM97oxgTk7ENrVaB ipfsFiles
 115 B / 115 B [=================================================================================================================]
100.00%

localhost:9090/ipfs/QmTtutKMVDCWtinAC8m1Xft4u4P84uCjPhqJ9amVswCSAe
 did not work either

ipfs config Addresses.Gateway /ip4/0.0.0.0/tcp/9090

https://ipfs.io/ipfs/QmTtutKMVDCWtinAC8m1Xft4u4P84uCjPhqJ9amVswCSAe
no one else has my hash

ipfs daemon
Initializing daemon...
go-ipfs version: 0.4.19-dev-
Repo version: 7
System version: amd64/linux
Golang version: go1.11.1
Successfully raised file descriptor limit to 2048.
Swarm listening on /ip4/10.0.2.15/tcp/4001
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip6/::1/tcp/4001
Swarm listening on /p2p-circuit
Swarm announcing /ip4/10.0.2.15/tcp/4001
Swarm announcing /ip4/127.0.0.1/tcp/4001
Swarm announcing /ip6/::1/tcp/4001
API server listening on /ip4/127.0.0.1/tcp/5001
Gateway (readonly) server listening on /ip4/0.0.0.0/tcp/9090
Daemon is ready

went to webui:
In explore tab, inserting the hash of a file

After I don't know how much time I waited (I did not count it, but the
response time was ubearable, it was not 5 min at all)

CIDQmVmtcXockAvmA9ZorgksmwK4PiSV4AoRx7KpoLczg2AD9

Size48 B
Links0
Data
Object {type: "file", data: Buffer[40], blockSizes: Array[0]}

type: "file"
data: Buffer[40]
blockSizes: Array[0]

Doing the same with my directory:

CIDQmd2aRaa6rSEkwU95Lk3RGtHp7oBzJyM97oxgTk7ENrVaB
Size261 B
Links2
Data

Object {type: "directory", data: undefined, blockSizes: Array[0]}
type: "directory"

data: undefined
blockSizes: Array[0]

Path
CID 0
audio-input-list3.txt QmVmtcXockAvmA9ZorgksmwK4PiSV4AoRx7KpoLczg2AD9
1 video-input-list3.txt QmTtutKMVDCWtinAC8m1Xft4u4P84uCjPhqJ9amVswCSAe

without problems

But if I go to the files tab, I cannot see the files. I only have the
option of add file, that was what I was trying to write yesterday

https://ipfs.io/ipfs/Qmd2aRaa6rSEkwU95Lk3RGtHp7oBzJyM97oxgTk7ENrVaB
Waits forever ends up with about: blank, it is impossible to see it

in my terminal: ipfs ls QmVmtcXockAvmA9ZorgksmwK4PiSV4AoRx7KpoLczg2AD9
nothing shown

ipfs ls Qmd2aRaa6rSEkwU95Lk3RGtHp7oBzJyM97oxgTk7ENrVaB
(istantly, daemon always running but not in background)
QmVmtcXockAvmA9ZorgksmwK4PiSV4AoRx7KpoLczg2AD9 48 audio-input-list3.txt
QmTtutKMVDCWtinAC8m1Xft4u4P84uCjPhqJ9amVswCSAe 83 video-input-list3.txt

ipfs cat
ipfs: Reading from /dev/stdin; send Ctrl-d to stop.
^C
Error: Post http://127.0.0.1:5001/api/v0/cat?encoding=json&stream-channels=true:
context canceled

Is it OK to share my ipfs id and that hash of my directory so that you
see  my files?

Regards!
Laura

  reply	other threads:[~2018-12-18 15:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-18 13:00 IPFS trouble Björn Höfling
2018-12-18 13:07 ` Laura Lazzati
2018-12-18 15:56   ` Laura Lazzati [this message]
2018-12-18 16:02   ` Ricardo Wurmus
2018-12-18 16:10   ` Hector Sanjuan
2018-12-19  8:37     ` Pierre Neidhardt
2018-12-19  9:57       ` Gábor Boskovits
2018-12-19 15:47         ` swedebugia
2018-12-19 15:08     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPNLzUNJWFYmSYdurfh4g+jowExMomzAUzz108tz83Ngy2eXLg@mail.gmail.com \
    --to=laura.lazzati.15@gmail.com \
    --cc=bjoern.hoefling@bjoernhoefling.de \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.