Giter Club home page Giter Club logo

ipfs-crawl's People

Contributors

jhiesey avatar vyzo avatar whyrusleeping avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ipfs-crawl's Issues

How to extract a result

Just to be sure, is that a correct way to get how many peers are dialable or not ?

$ cat /tmp/ipfs-crawl.out | jq .status | sort | uniq -c
62 "ERROR"
37 "OK"

make fails on install stage

events.go:9:2: cannot find package "gx/ipfs/QmTG23dvpBCBjqQwyDxV8CQT6jmS4PSftNr1VqHhE3MLy7/go-log/writer" in any of:
        /usr/lib/golang/src/gx/ipfs/QmTG23dvpBCBjqQwyDxV8CQT6jmS4PSftNr1VqHhE3MLy7/go-log/writer (from $GOROOT)
                /root/go/src/gx/ipfs/QmTG23dvpBCBjqQwyDxV8CQT6jmS4PSftNr1VqHhE3MLy7/go-log/writer (from $GOPATH)
                make: *** [bin] Error 1

Errorf log spam from go-log

We do want those event logs (#2) but it results in this:

21:14:26.582 ERROR   eventlog: Over writting key: peerID, old: QmUsnD8Jyv9PUbCRhjZCPc1CLcnoZJNZyiWWwWQiKcS5Yv, new: QmUUVNiTz2K9zQSH9PxerKWXmN1p3DBo3oJXurvYziFzqh metadata.go:25
21:14:26.583 ERROR   eventlog: Over writting key: peerID, old: QmUsnD8Jyv9PUbCRhjZCPc1CLcnoZJNZyiWWwWQiKcS5Yv, new: QmUUVNiTz2K9zQSH9PxerKWXmN1p3DBo3oJXurvYziFzqh metadata.go:25
21:14:26.726 ERROR   eventlog: Over writting key: peerID, old: QmUsnD8Jyv9PUbCRhjZCPc1CLcnoZJNZyiWWwWQiKcS5Yv, new: QmfVriFBJ567y4mKwV4r1LzdZQwN7tmJQ1rMdHdaJbWKww metadata.go:25
21:14:26.726 ERROR   eventlog: Over writting key: peerID, old: QmUsnD8Jyv9PUbCRhjZCPc1CLcnoZJNZyiWWwWQiKcS5Yv, new: QmfVriFBJ567y4mKwV4r1LzdZQwN7tmJQ1rMdHdaJbWKww metadata.go:25
21:14:27.441 ERROR   eventlog: Over writting key: peerID, old: QmUsnD8Jyv9PUbCRhjZCPc1CLcnoZJNZyiWWwWQiKcS5Yv, new: QmUUVNiTz2K9zQSH9PxerKWXmN1p3DBo3oJXurvYziFzqh metadata.go:25
21:14:27.441 ERROR   eventlog: Over writting key: peerID, old: QmUsnD8Jyv9PUbCRhjZCPc1CLcnoZJNZyiWWwWQiKcS5Yv, new: QmUUVNiTz2K9zQSH9PxerKWXmN1p3DBo3oJXurvYziFzqh metadata.go:25
21:14:27.582 ERROR   eventlog: Over writting key: peerID, old: QmUsnD8Jyv9PUbCRhjZCPc1CLcnoZJNZyiWWwWQiKcS5Yv, new: QmfVriFBJ567y4mKwV4r1LzdZQwN7tmJQ1rMdHdaJbWKww metadata.go:25
21:14:27.583 ERROR   eventlog: Over writting key: peerID, old: QmUsnD8Jyv9PUbCRhjZCPc1CLcnoZJNZyiWWwWQiKcS5Yv, new: QmfVriFBJ567y4mKwV4r1LzdZQwN7tmJQ1rMdHdaJbWKww metadata.go:25

It can be grepped out, so it's not a blocker -- but it still gives a horrible user experience for the crawler.
Unfortunately it's not a simple matter of patching and making a new gx release for go-log, it will have to be propagated to upstream libp2p modules as well (or we'll end up using a different instance of the module).

Make fails when trying to install go-fx

I'm using go version 14.4 in Ubuntu 18.04.4

When I try to make I get the following error:

go get -u github.com/whyrusleeping/gx
go get -u github.com/whyrusleeping/gx-go
# github.com/whyrusleeping/gx-go
../go/src/github.com/whyrusleeping/gx-go/link.go:48:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
        cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
../go/src/github.com/whyrusleeping/gx-go/link.go:52:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
        cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
../go/src/github.com/whyrusleeping/gx-go/link.go:56:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
        cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
../go/src/github.com/whyrusleeping/gx-go/main.go:137:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
        cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
../go/src/github.com/whyrusleeping/gx-go/main.go:175:2: cannot use []cli.Command literal (type []cli.Command) as type []*cli.Command in field value
../go/src/github.com/whyrusleeping/gx-go/main.go:196:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
        cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
../go/src/github.com/whyrusleeping/gx-go/main.go:200:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
        cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
../go/src/github.com/whyrusleeping/gx-go/main.go:658:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
        cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
../go/src/github.com/whyrusleeping/gx-go/main.go:662:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
../go/src/github.com/whyrusleeping/gx-go/main.go:798:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
        cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
../go/src/github.com/whyrusleeping/gx-go/main.go:200:15: too many errors
Makefile:9: recipe for target 'gx' failed
make: *** [gx] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.