aletheia-foundation / aletheia-app

Alethia peer to peer publishing platform
http://aletheia-foundation.io/
GNU General Public License v3.0
48 stars 11 forks source link

Mac osx npm run ipfs-local fails #59

Closed songproducer closed 6 years ago

songproducer commented 6 years ago

MacBook-Pro-2:aletheia-app leotreasure$ npm run ipfs-local

aletheia-app@1.0.0 ipfs-local /Users/leotreasure/aletheia-app ./scripts/ipfs-local.sh Initializing daemon... panic: sync: inconsistent mutex state goroutine 196 [running]: panic(0x890720, 0xc8220fd570) /home/whyrusleeping/go/src/runtime/panic.go:464 +0x3e6 sync.(Mutex).Lock(0xc82031757c) /home/whyrusleeping/go/src/sync/mutex.go:75 +0x16d gx/ipfs/QmeYJHEk8UjVVZ4XCRTZe6dFQrb8pGWD81LYCgeLp8CvMB/go-metrics.(StandardEWMA).Rate(0xc820317560, 0x0) /builds/distributions/dists/go-ipfs/gopath/src/gx/ipfs/QmeYJHEk8UjVVZ4XCRTZe6dFQrb8pGWD81LYCgeLp8CvMB/go-metrics/ewma.go:94 +0x3a gx/ipfs/QmeYJHEk8UjVVZ4XCRTZe6dFQrb8pGWD81LYCgeLp8CvMB/go-metrics.(StandardMeter).updateSnapshot(0xc8201b7580) /builds/distributions/dists/go-ipfs/gopath/src/gx/ipfs/QmeYJHEk8UjVVZ4XCRTZe6dFQrb8pGWD81LYCgeLp8CvMB/go-metrics/meter.go:216 +0xf2 gx/ipfs/QmeYJHEk8UjVVZ4XCRTZe6dFQrb8pGWD81LYCgeLp8CvMB/go-metrics.(StandardMeter).Mark(0xc8201b7580, 0x2c) /builds/distributions/dists/go-ipfs/gopath/src/gx/ipfs/QmeYJHEk8UjVVZ4XCRTZe6dFQrb8pGWD81LYCgeLp8CvMB/go-metrics/meter.go:159 +0x144 gx/ipfs/QmVL44QeoQDTYK8RVdpkyja7uYcK3WDNoBNHVLonf9YDtm/go-libp2p/p2p/metrics.(BandwidthCounter).LogRecvMessage(0xc82033d5c0, 0x2c) /builds/distributions/dists/go-ipfs/gopath/src/gx/ipfs/QmVL44QeoQDTYK8RVdpkyja7uYcK3WDNoBNHVLonf9YDtm/go-libp2p/p2p/metrics/bw_stats.go:39 +0x44 gx/ipfs/QmVL44QeoQDTYK8RVdpkyja7uYcK3WDNoBNHVLonf9YDtm/go-libp2p/p2p/metrics.(Reporter).LogRecvMessage-fm(0x2c) /builds/distributions/dists/go-ipfs/gopath/src/gx/ipfs/QmVL44QeoQDTYK8RVdpkyja7uYcK3WDNoBNHVLonf9YDtm/go-libp2p/p2p/metrics/conn/conn.go:16 +0x3c gx/ipfs/QmVL44QeoQDTYK8RVdpkyja7uYcK3WDNoBNHVLonf9YDtm/go-libp2p/p2p/metrics/conn.(MeteredConn).Read(0xc821d40060, 0xc822087000, 0x2c, 0x1000, 0x0, 0x0, 0x0) /builds/distributions/dists/go-ipfs/gopath/src/gx/ipfs/QmVL44QeoQDTYK8RVdpkyja7uYcK3WDNoBNHVLonf9YDtm/go-libp2p/p2p/metrics/conn/conn.go:30 +0xa5 gx/ipfs/QmVL44QeoQDTYK8RVdpkyja7uYcK3WDNoBNHVLonf9YDtm/go-libp2p/p2p/net/conn.(singleConn).Read(0xc821e5f600, 0xc822087000, 0x2c, 0x1000, 0x4, 0x0, 0x0) /builds/distributions/dists/go-ipfs/gopath/src/gx/ipfs/QmVL44QeoQDTYK8RVdpkyja7uYcK3WDNoBNHVLonf9YDtm/go-libp2p/p2p/net/conn/conn.go:123 +0x6b io.ReadAtLeast(0x1643038, 0xc821e5f600, 0xc822087000, 0x2c, 0x1000, 0x2c, 0x0, 0x0, 0x0) /home/whyrusleeping/go/src/io/io.go:297 +0xe6 io.ReadFull(0x1643038, 0xc821e5f600, 0xc822087000, 0x2c, 0x1000, 0x146bf48, 0x0, 0x0) /home/whyrusleeping/go/src/io/io.go:315 +0x62 gx/ipfs/QmRQhVisS8dmPbjBUthVkenn81pBxrx1GxE281csJhm2vL/go-msgio.(reader).Read(0xc821fac8c0, 0xc822087000, 0x2c, 0x1000, 0x0, 0x0, 0x0) /builds/distributions/dists/go-ipfs/gopath/src/gx/ipfs/QmRQhVisS8dmPbjBUthVkenn81pBxrx1GxE281csJhm2vL/go-msgio/msgio.go:186 +0x1af io.ReadAtLeast(0x146bf48, 0xc821fac8c0, 0xc822087000, 0x2c, 0x1000, 0x2c, 0x0, 0x0, 0x0) /home/whyrusleeping/go/src/io/io.go:297 +0xe6 io.ReadFull(0x146bf48, 0xc821fac8c0, 0xc822087000, 0x2c, 0x1000, 0x16cf78, 0x0, 0x0) /home/whyrusleeping/go/src/io/io.go:315 +0x62 gx/ipfs/QmbuSYB51KtX8izgab1fSyBgsyMH2hTuCfBtXm77PeXWca/go-libp2p-secio.(etmReader).Read(0xc821fc81b0, 0xc822087000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /builds/distributions/dists/go-ipfs/gopath/src/gx/ipfs/QmbuSYB51KtX8izgab1fSyBgsyMH2hTuCfBtXm77PeXWca/go-libp2p-secio/rw.go:182 +0x2e0 gx/ipfs/QmRQhVisS8dmPbjBUthVkenn81pBxrx1GxE281csJhm2vL/go-msgio.(readWriter).Read(0xc821fca0c0, 0xc822087000, 0x1000, 0x1000, 0x0, 0x0, 0x0)

:16 +0x80 gx/ipfs/QmVL44QeoQDTYK8RVdpkyja7uYcK3WDNoBNHVLonf9YDtm/go-libp2p/p2p/net/conn.(*secureConn).Read(0xc821f102e0, 0xc822087000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /builds/distributions/dists/go-ipfs/gopath/src/gx/ipfs/QmVL44QeoQDTYK8RVdpkyja7uYcK3WDNoBNHVLonf9YDtm/go-libp2p/p2p/net/conn/secure_conn.go:113 +0x90 bufio.(*Reader).fill(0xc822098600) /home/whyrusleeping/go/src/bufio/bufio.go:97 +0x1e9 bufio.(*Reader).Read(0xc822098600, 0xc821d35760, 0xc, 0xc, 0xc821d35762, 0x0, 0x0) /home/whyrusleeping/go/src/bufio/bufio.go:207 +0x260 io.ReadAtLeast(0x149f440, 0xc822098600, 0xc821d35760, 0xc, 0xc, 0xc, 0x0, 0x0, 0x0) /home/whyrusleeping/go/src/io/io.go:297 +0xe6 io.ReadFull(0x149f440, 0xc822098600, 0xc821d35760, 0xc, 0xc, 0xc, 0x0, 0x0) /home/whyrusleeping/go/src/io/io.go:315 +0x62 gx/ipfs/QmZ8MMKFwA95viWULoSYFZpA4kdFa8idmFSrP12YJwjjaL/yamux.(*Session).recvLoop(0xc822038790, 0x0, 0x0) /builds/distributions/dists/go-ipfs/gopath/src/gx/ipfs/QmZ8MMKFwA95viWULoSYFZpA4kdFa8idmFSrP12YJwjjaL/yamux/session.go:411 +0x117 gx/ipfs/QmZ8MMKFwA95viWULoSYFZpA4kdFa8idmFSrP12YJwjjaL/yamux.(*Session).recv(0xc822038790) /builds/distributions/dists/go-ipfs/gopath/src/gx/ipfs/QmZ8MMKFwA95viWULoSYFZpA4kdFa8idmFSrP12YJwjjaL/yamux/session.go:399 +0x21 created by gx/ipfs/QmZ8MMKFwA95viWULoSYFZpA4kdFa8idmFSrP12YJwjjaL/yamux.newSession /builds/distributions/dists/go-ipfs/gopath/src/gx/ipfs/QmZ8MMKFwA95viWULoSYFZpA4kdFa8idmFSrP12YJwjjaL/yamux/session.go:104 +0x4b4 npm ERR! Darwin 16.7.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "ipfs-local" npm ERR! node v6.9.1 npm ERR! npm v3.10.8 npm ERR! code ELIFECYCLE npm ERR! aletheia-app@1.0.0 ipfs-local: `./scripts/ipfs-local.sh` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the aletheia-app@1.0.0 ipfs-local script './scripts/ipfs-local.sh'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the aletheia-app package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! ./scripts/ipfs-local.sh npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs aletheia-app npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls aletheia-app npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /Users/leotreasure/aletheia-app/npm-debug.log

npm bugs aletheia-app

npm ERR! Darwin 16.7.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "bugs" "aletheia-app" npm ERR! node v6.9.1 npm ERR! npm v3.10.8 npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/aletheia-app npm ERR! 404 npm ERR! 404 'aletheia-app' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.

npm-debug.log: http://pasteall.org/502017

roo2 commented 6 years ago

Thanks for the repoirt again, I'll check this one out too, is this happening every time?

songproducer commented 6 years ago

Thanks! Yes, every time.

KadeMorton commented 6 years ago

@roo2 is this still occurring or has this now been fixed and I can close it?

roo2 commented 6 years ago

still open, I still haven't gotten around to debugging it on OSX

Yannael commented 6 years ago

For me the command works. @songproducer, what is your output of 'ipfs version --all' ?

songproducer commented 6 years ago

Hi Yannael,

ipfs version --all gives:

Error: Unrecognized option 'all'

songproducer commented 6 years ago

ipfs version gives: ipfs version 0.4.2

Yannael commented 6 years ago

Could you try

songproducer commented 6 years ago

Sorry for the delay. The first 2 steps worked. Thanks!

Yannael commented 6 years ago

Great!

On Sat, Nov 11, 2017 at 4:12 AM, songproducer notifications@github.com wrote:

Sorry for the delay. The first 2 steps worked. Thanks!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/aletheia-foundation/aletheia-app/issues/59#issuecomment-343636140, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7mHrA1LWo9SRxUpg7VNiRsmM9yRsjJks5s1RCcgaJpZM4OwRHE .

--

Yann-Aël Le Borgne Machine Learning Group Université Libre de Bruxelles

http://mlg.ulb.ac.be http://www.ulb.ac.be/di/map/yleborgn