Unrecognized Import Path
I got an issue when trying to use this scraper.
package context: unrecognized import path "context" (import path does not begin with hostname)
This error repeats itself for what looks like every import used.
I get this when trying to install from source. My go version is go1.8.
I could upload the log if you like.
RetroPie-Setup version: 4.3.8 (be6128e)
It seems like this might have something to do with golang.
This scraper depends on golang being version 1.7 or greater. When I ran go version I got go1.3.3 even after trying to install this scraper which has a dependency on a newer go version. So it "should" run golang.sh (RetroPie-Setup/scriptmodules/supplementary/golang.sh) and install a newer version. So I don't know if the problem is in the scraper or the way retropie is handling installing go.
Sorry. Yeah so retropie does an install in a directory of its own and doesn't attempt to modify the systems version of Go. There is no danger in doing that since Go has a guarantee of always being able to run older code. So if you install from RetroPie it should compile fine but if you attempted to compile the source it would have issues since the local version is 1.3.3.
If you are getting this error from the RetroPie setup script, a full log would be helpful. I haven't run this in a while and maybe a bug was introduced.
If you want to compile it yourself, you can sudo apt-get remove golang and install from the go site. Download go1.9.2.linux-armv6l.tar.gz from https://golang.org/dl/ and follow the instructions at https://golang.org/doc/install
I am getting this error from the RetroPie Setup script. Here is the log. Like I said, it doesn't seem to be because of the scraper, it seems to me like it has something to do with golang.sh from retropie, but that's only with my limited knowledge of how this works.
Log started at: Fri Dec 22 15:56:36 EST 2017
RetroPie-Setup version: 4.3.8 (be6128e)
System: Linux retropie 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
= = = = = = = = = = = = = = = = = = = = =
Installing dependencies for 'scraper' : Scraper for EmulationStation by Steven Selph
= = = = = = = = = = = = = = = = = = = = =
= = = = = = = = = = = = = = = = = = = = =
Installing 'golang' : Golang binary install
= = = = = = = = = = = = = = = = = = = = =
Current Go version: go1.8
/home/pi/RetroPie-Setup/tmp/build/scraper /home/pi
= = = = = = = = = = = = = = = = = = = = =
Getting sources for 'scraper' : Scraper for EmulationStation by Steven Selph
= = = = = = = = = = = = = = = = = = = = =
package context: unrecognized import path "context" (import path does not begin with hostname)
package crypto/sha1: unrecognized import path "crypto/sha1" (import path does not begin with hostname)
package encoding/csv: unrecognized import path "encoding/csv" (import path does not begin with hostname)
package encoding/xml: unrecognized import path "encoding/xml" (import path does not begin with hostname)
package errors: unrecognized import path "errors" (import path does not begin with hostname)
package flag: unrecognized import path "flag" (import path does not begin with hostname)
package fmt: unrecognized import path "fmt" (import path does not begin with hostname)
package bytes: unrecognized import path "bytes" (import path does not begin with hostname)
package os: unrecognized import path "os" (import path does not begin with hostname)
package os/exec: unrecognized import path "os/exec" (import path does not begin with hostname)
package path/filepath: unrecognized import path "path/filepath" (import path does not begin with hostname)
package runtime: unrecognized import path "runtime" (import path does not begin with hostname)
package strconv: unrecognized import path "strconv" (import path does not begin with hostname)
package strings: unrecognized import path "strings" (import path does not begin with hostname)
package sync: unrecognized import path "sync" (import path does not begin with hostname)
package archive/zip: unrecognized import path "archive/zip" (import path does not begin with hostname)
package compress/gzip: unrecognized import path "compress/gzip" (import path does not begin with hostname)
package encoding/json: unrecognized import path "encoding/json" (import path does not begin with hostname)
package container/list: unrecognized import path "container/list" (import path does not begin with hostname)
package image: unrecognized import path "image" (import path does not begin with hostname)
package image/color: unrecognized import path "image/color" (import path does not begin with hostname)
package math: unrecognized import path "math" (import path does not begin with hostname)
package io/ioutil: unrecognized import path "io/ioutil" (import path does not begin with hostname)
package net/http: unrecognized import path "net/http" (import path does not begin with hostname)
package net/url: unrecognized import path "net/url" (import path does not begin with hostname)
package regexp: unrecognized import path "regexp" (import path does not begin with hostname)
package encoding/hex: unrecognized import path "encoding/hex" (import path does not begin with hostname)
package bufio: unrecognized import path "bufio" (import path does not begin with hostname)
package io: unrecognized import path "io" (import path does not begin with hostname)
package time: unrecognized import path "time" (import path does not begin with hostname)
package hash: unrecognized import path "hash" (import path does not begin with hostname)
package path: unrecognized import path "path" (import path does not begin with hostname)
package crypto/aes: unrecognized import path "crypto/aes" (import path does not begin with hostname)
package crypto/cipher: unrecognized import path "crypto/cipher" (import path does not begin with hostname)
package crypto/rand: unrecognized import path "crypto/rand" (import path does not begin with hostname)
package encoding/base64: unrecognized import path "encoding/base64" (import path does not begin with hostname)
package log: unrecognized import path "log" (import path does not begin with hostname)
package encoding/binary: unrecognized import path "encoding/binary" (import path does not begin with hostname)
package hash/crc32: unrecognized import path "hash/crc32" (import path does not begin with hostname)
package sync/atomic: unrecognized import path "sync/atomic" (import path does not begin with hostname)
package unsafe: unrecognized import path "unsafe" (import path does not begin with hostname)
package syscall: unrecognized import path "syscall" (import path does not begin with hostname)
package math/rand: unrecognized import path "math/rand" (import path does not begin with hostname)
package sort: unrecognized import path "sort" (import path does not begin with hostname)
package image/draw: unrecognized import path "image/draw" (import path does not begin with hostname)
package image/jpeg: unrecognized import path "image/jpeg" (import path does not begin with hostname)
package image/png: unrecognized import path "image/png" (import path does not begin with hostname)
package unicode: unrecognized import path "unicode" (import path does not begin with hostname)
package unicode/utf8: unrecognized import path "unicode/utf8" (import path does not begin with hostname)
package os/signal: unrecognized import path "os/signal" (import path does not begin with hostname)
/home/pi
/home/pi/RetroPie-Setup/tmp/build/scraper /home/pi
= = = = = = = = = = = = = = = = = = = = =
Building 'scraper' : Scraper for EmulationStation by Steven Selph
= = = = = = = = = = = = = = = = = = = = =
src/github.com/sselph/scraper/ds/mame.go:4:2: cannot find package "archive/zip" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/archive/zip (vendor tree)
/opt/retropie/supplementary/golang/src/archive/zip (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/archive/zip (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/kjk/lzmadec/lzmadec.go:4:2: cannot find package "bufio" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/bufio (vendor tree)
/opt/retropie/supplementary/golang/src/bufio (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/bufio (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/mitchellh/go-homedir/homedir.go:4:2: cannot find package "bytes" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/bytes (vendor tree)
/opt/retropie/supplementary/golang/src/bytes (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/bytes (from $GOPATH)
src/github.com/sselph/scraper/ds/ds.go:4:2: cannot find package "compress/gzip" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/compress/gzip (vendor tree)
/opt/retropie/supplementary/golang/src/compress/gzip (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/compress/gzip (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/hashicorp/golang-lru/simplelru/lru.go:4:2: cannot find package "container/list" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/container/list (vendor tree)
/opt/retropie/supplementary/golang/src/container/list (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/container/list (from $GOPATH)
src/github.com/sselph/scraper/scraper.go:4:2: cannot find package "context" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/context (vendor tree)
/opt/retropie/supplementary/golang/src/context (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/context (from $GOPATH)
src/github.com/sselph/scraper/ss/ss_key.go:4:2: cannot find package "crypto/aes" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/crypto/aes (vendor tree)
/opt/retropie/supplementary/golang/src/crypto/aes (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/crypto/aes (from $GOPATH)
src/github.com/sselph/scraper/ss/ss_key.go:5:2: cannot find package "crypto/cipher" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/crypto/cipher (vendor tree)
/opt/retropie/supplementary/golang/src/crypto/cipher (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/crypto/cipher (from $GOPATH)
src/github.com/sselph/scraper/ss/ss_key.go:6:2: cannot find package "crypto/rand" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/crypto/rand (vendor tree)
/opt/retropie/supplementary/golang/src/crypto/rand (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/crypto/rand (from $GOPATH)
src/github.com/sselph/scraper/scraper.go:5:2: cannot find package "crypto/sha1" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/crypto/sha1 (vendor tree)
/opt/retropie/supplementary/golang/src/crypto/sha1 (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/crypto/sha1 (from $GOPATH)
src/github.com/sselph/scraper/ss/ss_key.go:7:2: cannot find package "encoding/base64" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/encoding/base64 (vendor tree)
/opt/retropie/supplementary/golang/src/encoding/base64 (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/encoding/base64 (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/syndtr/goleveldb/leveldb/batch.go:10:2: cannot find package "encoding/binary" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/encoding/binary (vendor tree)
/opt/retropie/supplementary/golang/src/encoding/binary (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/encoding/binary (from $GOPATH)
src/github.com/sselph/scraper/scraper.go:6:2: cannot find package "encoding/csv" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/encoding/csv (vendor tree)
/opt/retropie/supplementary/golang/src/encoding/csv (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/encoding/csv (from $GOPATH)
src/github.com/sselph/scraper/rom/hash/hash.go:5:2: cannot find package "encoding/hex" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/encoding/hex (vendor tree)
/opt/retropie/supplementary/golang/src/encoding/hex (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/encoding/hex (from $GOPATH)
src/github.com/sselph/scraper/ds/ovgdb.go:6:2: cannot find package "encoding/json" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/encoding/json (vendor tree)
/opt/retropie/supplementary/golang/src/encoding/json (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/encoding/json (from $GOPATH)
src/github.com/sselph/scraper/scraper.go:7:2: cannot find package "encoding/xml" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/encoding/xml (vendor tree)
/opt/retropie/supplementary/golang/src/encoding/xml (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/encoding/xml (from $GOPATH)
src/github.com/sselph/scraper/scraper.go:8:2: cannot find package "errors" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/errors (vendor tree)
/opt/retropie/supplementary/golang/src/errors (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/errors (from $GOPATH)
src/github.com/sselph/scraper/scraper.go:9:2: cannot find package "flag" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/flag (vendor tree)
/opt/retropie/supplementary/golang/src/flag (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/flag (from $GOPATH)
src/github.com/sselph/scraper/scraper.go:10:2: cannot find package "fmt" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/fmt (vendor tree)
/opt/retropie/supplementary/golang/src/fmt (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/fmt (from $GOPATH)
src/github.com/sselph/scraper/rom/hash/hash.go:7:2: cannot find package "hash" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/hash (vendor tree)
/opt/retropie/supplementary/golang/src/hash (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/hash (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/syndtr/goleveldb/leveldb/util/crc32.go:9:2: cannot find package "hash/crc32" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/hash/crc32 (vendor tree)
/opt/retropie/supplementary/golang/src/hash/crc32 (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/hash/crc32 (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/nfnt/resize/converter.go:19:8: cannot find package "image" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/image (vendor tree)
/opt/retropie/supplementary/golang/src/image (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/image (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/nfnt/resize/ycc.go:21:2: cannot find package "image/color" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/image/color (vendor tree)
/opt/retropie/supplementary/golang/src/image/color (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/image/color (from $GOPATH)
src/github.com/sselph/scraper/ds/mix.go:8:2: cannot find package "image/draw" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/image/draw (vendor tree)
/opt/retropie/supplementary/golang/src/image/draw (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/image/draw (from $GOPATH)
src/github.com/sselph/scraper/ds/ds.go:10:2: cannot find package "image/jpeg" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/image/jpeg (vendor tree)
/opt/retropie/supplementary/golang/src/image/jpeg (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/image/jpeg (from $GOPATH)
src/github.com/sselph/scraper/ds/ds.go:11:2: cannot find package "image/png" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/image/png (vendor tree)
/opt/retropie/supplementary/golang/src/image/png (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/image/png (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/kjk/lzmadec/lzmadec.go:8:2: cannot find package "io" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/io (vendor tree)
/opt/retropie/supplementary/golang/src/io (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/io (from $GOPATH)
src/github.com/sselph/scraper/adb/adb.go:8:2: cannot find package "io/ioutil" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/io/ioutil (vendor tree)
/opt/retropie/supplementary/golang/src/io/ioutil (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/io/ioutil (from $GOPATH)
src/github.com/sselph/scraper/ss/ss.go:11:2: cannot find package "log" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/log (vendor tree)
/opt/retropie/supplementary/golang/src/log (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/log (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/nfnt/resize/filters.go:20:2: cannot find package "math" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/math (vendor tree)
/opt/retropie/supplementary/golang/src/math (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/math (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/syndtr/goleveldb/leveldb/memdb/memdb.go:11:2: cannot find package "math/rand" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/math/rand (vendor tree)
/opt/retropie/supplementary/golang/src/math/rand (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/math/rand (from $GOPATH)
src/github.com/sselph/scraper/adb/adb.go:9:2: cannot find package "net/http" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/net/http (vendor tree)
/opt/retropie/supplementary/golang/src/net/http (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/net/http (from $GOPATH)
src/github.com/sselph/scraper/adb/adb.go:10:2: cannot find package "net/url" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/net/url (vendor tree)
/opt/retropie/supplementary/golang/src/net/url (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/net/url (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/mitchellh/go-homedir/homedir.go:6:2: cannot find package "os" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/os (vendor tree)
/opt/retropie/supplementary/golang/src/os (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/os (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/mitchellh/go-homedir/homedir.go:7:2: cannot find package "os/exec" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/os/exec (vendor tree)
/opt/retropie/supplementary/golang/src/os/exec (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/os/exec (from $GOPATH)
src/github.com/sselph/scraper/scraper.go:14:2: cannot find package "os/signal" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/os/signal (vendor tree)
/opt/retropie/supplementary/golang/src/os/signal (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/os/signal (from $GOPATH)
src/github.com/sselph/scraper/rom/hash/hash.go:11:2: cannot find package "path" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/path (vendor tree)
/opt/retropie/supplementary/golang/src/path (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/path (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/mitchellh/go-homedir/homedir.go:8:2: cannot find package "path/filepath" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/path/filepath (vendor tree)
/opt/retropie/supplementary/golang/src/path/filepath (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/path/filepath (from $GOPATH)
src/github.com/sselph/scraper/mamedb/mamedb.go:19:2: cannot find package "regexp" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/regexp (vendor tree)
/opt/retropie/supplementary/golang/src/regexp (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/regexp (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/mitchellh/go-homedir/homedir.go:9:2: cannot find package "runtime" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/runtime (vendor tree)
/opt/retropie/supplementary/golang/src/runtime (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/runtime (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/syndtr/goleveldb/leveldb/table/reader.go:13:2: cannot find package "sort" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/sort (vendor tree)
/opt/retropie/supplementary/golang/src/sort (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/sort (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/mitchellh/go-homedir/homedir.go:10:2: cannot find package "strconv" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/strconv (vendor tree)
/opt/retropie/supplementary/golang/src/strconv (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/strconv (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/mitchellh/go-homedir/homedir.go:11:2: cannot find package "strings" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/strings (vendor tree)
/opt/retropie/supplementary/golang/src/strings (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/strings (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/mitchellh/go-homedir/homedir.go:12:2: cannot find package "sync" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/sync (vendor tree)
/opt/retropie/supplementary/golang/src/sync (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/sync (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:12:2: cannot find package "sync/atomic" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/sync/atomic (vendor tree)
/opt/retropie/supplementary/golang/src/sync/atomic (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/sync/atomic (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/syndtr/goleveldb/leveldb/storage/file_storage_unix.go:13:2: cannot find package "syscall" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/syscall (vendor tree)
/opt/retropie/supplementary/golang/src/syscall (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/syscall (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/kjk/lzmadec/lzmadec.go:14:2: cannot find package "time" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/time (vendor tree)
/opt/retropie/supplementary/golang/src/time (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/time (from $GOPATH)
src/github.com/sselph/scraper/rom/rom.go:15:2: cannot find package "unicode" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/unicode (vendor tree)
/opt/retropie/supplementary/golang/src/unicode (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/unicode (from $GOPATH)
src/github.com/sselph/scraper/rom/rom.go:16:2: cannot find package "unicode/utf8" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/unicode/utf8 (vendor tree)
/opt/retropie/supplementary/golang/src/unicode/utf8 (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/unicode/utf8 (from $GOPATH)
src/github.com/sselph/scraper/vendor/github.com/syndtr/goleveldb/leveldb/cache/cache.go:13:2: cannot find package "unsafe" in any of:
/home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/unsafe (vendor tree)
/opt/retropie/supplementary/golang/src/unsafe (from $GOROOT)
/home/pi/RetroPie-Setup/tmp/build/scraper/src/unsafe (from $GOPATH)
/home/pi
/home/pi/RetroPie-Setup/tmp/build/scraper /home/pi
= = = = = = = = = = = = = = = = = = = = =
Installing 'scraper' : Scraper for EmulationStation by Steven Selph
= = = = = = = = = = = = = = = = = = = = =
/home/pi
Could not successfully install Scraper for EmulationStation by Steven Selph (/home/pi/RetroPie-Setup/tmp/build/scraper/scraper not found).
Log ended at: Fri Dec 22 15:57:05 EST 2017
Total running time: 0 hours, 0 mins, 29 secs
Thanks. Yeah seems like it isn't pointing to the Go path correctly. I wrote the golang.sh code so maybe I did something odd and it is broken. I'll try and dig out my RetroPie and see if I can replicate it.
On Dec 22, 2017 4:08 PM, "Elton (Eddie) Hartman" [email protected] wrote:
I am getting this error from the RetroPie Setup script. Here is the log. Like I said, it doesn't seem to be because of the scraper, it seems to me like it has something to do with golang.sh from retropie, but that's only with my limited knowledge of how this works.
Log started at: Fri Dec 22 15:56:36 EST 2017
RetroPie-Setup version: 4.3.8 (be6128e) System: Linux retropie 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
= = = = = = = = = = = = = = = = = = = = = Installing dependencies for 'scraper' : Scraper for EmulationStation by Steven Selph = = = = = = = = = = = = = = = = = = = = =
= = = = = = = = = = = = = = = = = = = = = Installing 'golang' : Golang binary install = = = = = = = = = = = = = = = = = = = = =
Current Go version: go1.8 /home/pi/RetroPie-Setup/tmp/build/scraper /home/pi
= = = = = = = = = = = = = = = = = = = = = Getting sources for 'scraper' : Scraper for EmulationStation by Steven Selph = = = = = = = = = = = = = = = = = = = = =
package context: unrecognized import path "context" (import path does not begin with hostname) package crypto/sha1: unrecognized import path "crypto/sha1" (import path does not begin with hostname) package encoding/csv: unrecognized import path "encoding/csv" (import path does not begin with hostname) package encoding/xml: unrecognized import path "encoding/xml" (import path does not begin with hostname) package errors: unrecognized import path "errors" (import path does not begin with hostname) package flag: unrecognized import path "flag" (import path does not begin with hostname) package fmt: unrecognized import path "fmt" (import path does not begin with hostname) package bytes: unrecognized import path "bytes" (import path does not begin with hostname) package os: unrecognized import path "os" (import path does not begin with hostname) package os/exec: unrecognized import path "os/exec" (import path does not begin with hostname) package path/filepath: unrecognized import path "path/filepath" (import path does not begin with hostname) package runtime: unrecognized import path "runtime" (import path does not begin with hostname) package strconv: unrecognized import path "strconv" (import path does not begin with hostname) package strings: unrecognized import path "strings" (import path does not begin with hostname) package sync: unrecognized import path "sync" (import path does not begin with hostname) package archive/zip: unrecognized import path "archive/zip" (import path does not begin with hostname) package compress/gzip: unrecognized import path "compress/gzip" (import path does not begin with hostname) package encoding/json: unrecognized import path "encoding/json" (import path does not begin with hostname) package container/list: unrecognized import path "container/list" (import path does not begin with hostname) package image: unrecognized import path "image" (import path does not begin with hostname) package image/color: unrecognized import path "image/color" (import path does not begin with hostname) package math: unrecognized import path "math" (import path does not begin with hostname) package io/ioutil: unrecognized import path "io/ioutil" (import path does not begin with hostname) package net/http: unrecognized import path "net/http" (import path does not begin with hostname) package net/url: unrecognized import path "net/url" (import path does not begin with hostname) package regexp: unrecognized import path "regexp" (import path does not begin with hostname) package encoding/hex: unrecognized import path "encoding/hex" (import path does not begin with hostname) package bufio: unrecognized import path "bufio" (import path does not begin with hostname) package io: unrecognized import path "io" (import path does not begin with hostname) package time: unrecognized import path "time" (import path does not begin with hostname) package hash: unrecognized import path "hash" (import path does not begin with hostname) package path: unrecognized import path "path" (import path does not begin with hostname) package crypto/aes: unrecognized import path "crypto/aes" (import path does not begin with hostname) package crypto/cipher: unrecognized import path "crypto/cipher" (import path does not begin with hostname) package crypto/rand: unrecognized import path "crypto/rand" (import path does not begin with hostname) package encoding/base64: unrecognized import path "encoding/base64" (import path does not begin with hostname) package log: unrecognized import path "log" (import path does not begin with hostname) package encoding/binary: unrecognized import path "encoding/binary" (import path does not begin with hostname) package hash/crc32: unrecognized import path "hash/crc32" (import path does not begin with hostname) package sync/atomic: unrecognized import path "sync/atomic" (import path does not begin with hostname) package unsafe: unrecognized import path "unsafe" (import path does not begin with hostname) package syscall: unrecognized import path "syscall" (import path does not begin with hostname) package math/rand: unrecognized import path "math/rand" (import path does not begin with hostname) package sort: unrecognized import path "sort" (import path does not begin with hostname) package image/draw: unrecognized import path "image/draw" (import path does not begin with hostname) package image/jpeg: unrecognized import path "image/jpeg" (import path does not begin with hostname) package image/png: unrecognized import path "image/png" (import path does not begin with hostname) package unicode: unrecognized import path "unicode" (import path does not begin with hostname) package unicode/utf8: unrecognized import path "unicode/utf8" (import path does not begin with hostname) package os/signal: unrecognized import path "os/signal" (import path does not begin with hostname) /home/pi /home/pi/RetroPie-Setup/tmp/build/scraper /home/pi
= = = = = = = = = = = = = = = = = = = = = Building 'scraper' : Scraper for EmulationStation by Steven Selph = = = = = = = = = = = = = = = = = = = = =
src/github.com/sselph/scraper/ds/mame.go:4:2: cannot find package "archive/zip" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/archive/zip (vendor tree) /opt/retropie/supplementary/golang/src/archive/zip (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/archive/zip (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/kjk/lzmadec/lzmadec.go:4:2: cannot find package "bufio" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/bufio (vendor tree) /opt/retropie/supplementary/golang/src/bufio (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/bufio (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/mitchellh/go-homedir/homedir.go:4:2: cannot find package "bytes" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/bytes (vendor tree) /opt/retropie/supplementary/golang/src/bytes (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/bytes (from $GOPATH) src/github.com/sselph/scraper/ds/ds.go:4:2: cannot find package "compress/gzip" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/compress/gzip (vendor tree) /opt/retropie/supplementary/golang/src/compress/gzip (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/compress/gzip (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/hashicorp/golang-lru/simplelru/lru.go:4:2: cannot find package "container/list" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/container/list (vendor tree) /opt/retropie/supplementary/golang/src/container/list (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/container/list (from $GOPATH) src/github.com/sselph/scraper/scraper.go:4:2: cannot find package "context" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/context (vendor tree) /opt/retropie/supplementary/golang/src/context (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/context (from $GOPATH) src/github.com/sselph/scraper/ss/ss_key.go:4:2: cannot find package "crypto/aes" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/crypto/aes (vendor tree) /opt/retropie/supplementary/golang/src/crypto/aes (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/crypto/aes (from $GOPATH) src/github.com/sselph/scraper/ss/ss_key.go:5:2: cannot find package "crypto/cipher" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/crypto/cipher (vendor tree) /opt/retropie/supplementary/golang/src/crypto/cipher (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/crypto/cipher (from $GOPATH) src/github.com/sselph/scraper/ss/ss_key.go:6:2: cannot find package "crypto/rand" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/crypto/rand (vendor tree) /opt/retropie/supplementary/golang/src/crypto/rand (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/crypto/rand (from $GOPATH) src/github.com/sselph/scraper/scraper.go:5:2: cannot find package "crypto/sha1" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/crypto/sha1 (vendor tree) /opt/retropie/supplementary/golang/src/crypto/sha1 (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/crypto/sha1 (from $GOPATH) src/github.com/sselph/scraper/ss/ss_key.go:7:2: cannot find package "encoding/base64" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/encoding/base64 (vendor tree) /opt/retropie/supplementary/golang/src/encoding/base64 (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/encoding/base64 (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/syndtr/goleveldb/leveldb/batch.go:10:2: cannot find package "encoding/binary" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/encoding/binary (vendor tree) /opt/retropie/supplementary/golang/src/encoding/binary (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/encoding/binary (from $GOPATH) src/github.com/sselph/scraper/scraper.go:6:2: cannot find package "encoding/csv" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/encoding/csv (vendor tree) /opt/retropie/supplementary/golang/src/encoding/csv (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/encoding/csv (from $GOPATH) src/github.com/sselph/scraper/rom/hash/hash.go:5:2: cannot find package "encoding/hex" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/encoding/hex (vendor tree) /opt/retropie/supplementary/golang/src/encoding/hex (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/encoding/hex (from $GOPATH) src/github.com/sselph/scraper/ds/ovgdb.go:6:2: cannot find package "encoding/json" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/encoding/json (vendor tree) /opt/retropie/supplementary/golang/src/encoding/json (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/encoding/json (from $GOPATH) src/github.com/sselph/scraper/scraper.go:7:2: cannot find package "encoding/xml" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/encoding/xml (vendor tree) /opt/retropie/supplementary/golang/src/encoding/xml (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/encoding/xml (from $GOPATH) src/github.com/sselph/scraper/scraper.go:8:2: cannot find package "errors" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/errors (vendor tree) /opt/retropie/supplementary/golang/src/errors (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/errors (from $GOPATH) src/github.com/sselph/scraper/scraper.go:9:2: cannot find package "flag" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/flag (vendor tree) /opt/retropie/supplementary/golang/src/flag (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/flag (from $GOPATH) src/github.com/sselph/scraper/scraper.go:10:2: cannot find package "fmt" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/fmt (vendor tree) /opt/retropie/supplementary/golang/src/fmt (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/fmt (from $GOPATH) src/github.com/sselph/scraper/rom/hash/hash.go:7:2: cannot find package "hash" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/hash (vendor tree) /opt/retropie/supplementary/golang/src/hash (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/hash (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/syndtr/goleveldb/leveldb/util/crc32.go:9:2: cannot find package "hash/crc32" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/hash/crc32 (vendor tree) /opt/retropie/supplementary/golang/src/hash/crc32 (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/hash/crc32 (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/nfnt/resize/converter.go:19:8: cannot find package "image" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/image (vendor tree) /opt/retropie/supplementary/golang/src/image (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/image (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/nfnt/resize/ycc.go:21:2: cannot find package "image/color" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/image/color (vendor tree) /opt/retropie/supplementary/golang/src/image/color (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/image/color (from $GOPATH) src/github.com/sselph/scraper/ds/mix.go:8:2: cannot find package "image/draw" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/image/draw (vendor tree) /opt/retropie/supplementary/golang/src/image/draw (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/image/draw (from $GOPATH) src/github.com/sselph/scraper/ds/ds.go:10:2: cannot find package "image/jpeg" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/image/jpeg (vendor tree) /opt/retropie/supplementary/golang/src/image/jpeg (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/image/jpeg (from $GOPATH) src/github.com/sselph/scraper/ds/ds.go:11:2: cannot find package "image/png" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/image/png (vendor tree) /opt/retropie/supplementary/golang/src/image/png (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/image/png (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/kjk/lzmadec/lzmadec.go:8:2: cannot find package "io" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/io (vendor tree) /opt/retropie/supplementary/golang/src/io (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/io (from $GOPATH) src/github.com/sselph/scraper/adb/adb.go:8:2: cannot find package "io/ioutil" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/io/ioutil (vendor tree) /opt/retropie/supplementary/golang/src/io/ioutil (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/io/ioutil (from $GOPATH) src/github.com/sselph/scraper/ss/ss.go:11:2: cannot find package "log" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/log (vendor tree) /opt/retropie/supplementary/golang/src/log (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/log (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/nfnt/resize/filters.go:20:2: cannot find package "math" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/math (vendor tree) /opt/retropie/supplementary/golang/src/math (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/math (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/syndtr/goleveldb/leveldb/memdb/memdb.go:11:2: cannot find package "math/rand" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/math/rand (vendor tree) /opt/retropie/supplementary/golang/src/math/rand (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/math/rand (from $GOPATH) src/github.com/sselph/scraper/adb/adb.go:9:2: cannot find package "net/http" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/net/http (vendor tree) /opt/retropie/supplementary/golang/src/net/http (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/net/http (from $GOPATH) src/github.com/sselph/scraper/adb/adb.go:10:2: cannot find package "net/url" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/net/url (vendor tree) /opt/retropie/supplementary/golang/src/net/url (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/net/url (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/mitchellh/go-homedir/homedir.go:6:2: cannot find package "os" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/os (vendor tree) /opt/retropie/supplementary/golang/src/os (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/os (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/mitchellh/go-homedir/homedir.go:7:2: cannot find package "os/exec" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/os/exec (vendor tree) /opt/retropie/supplementary/golang/src/os/exec (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/os/exec (from $GOPATH) src/github.com/sselph/scraper/scraper.go:14:2: cannot find package "os/signal" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/os/signal (vendor tree) /opt/retropie/supplementary/golang/src/os/signal (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/os/signal (from $GOPATH) src/github.com/sselph/scraper/rom/hash/hash.go:11:2: cannot find package "path" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/path (vendor tree) /opt/retropie/supplementary/golang/src/path (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/path (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/mitchellh/go-homedir/homedir.go:8:2: cannot find package "path/filepath" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/path/filepath (vendor tree) /opt/retropie/supplementary/golang/src/path/filepath (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/path/filepath (from $GOPATH) src/github.com/sselph/scraper/mamedb/mamedb.go:19:2: cannot find package "regexp" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/regexp (vendor tree) /opt/retropie/supplementary/golang/src/regexp (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/regexp (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/mitchellh/go-homedir/homedir.go:9:2: cannot find package "runtime" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/runtime (vendor tree) /opt/retropie/supplementary/golang/src/runtime (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/runtime (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/syndtr/goleveldb/leveldb/table/reader.go:13:2: cannot find package "sort" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/sort (vendor tree) /opt/retropie/supplementary/golang/src/sort (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/sort (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/mitchellh/go-homedir/homedir.go:10:2: cannot find package "strconv" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/strconv (vendor tree) /opt/retropie/supplementary/golang/src/strconv (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/strconv (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/mitchellh/go-homedir/homedir.go:11:2: cannot find package "strings" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/strings (vendor tree) /opt/retropie/supplementary/golang/src/strings (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/strings (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/mitchellh/go-homedir/homedir.go:12:2: cannot find package "sync" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/sync (vendor tree) /opt/retropie/supplementary/golang/src/sync (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/sync (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:12:2: cannot find package "sync/atomic" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/sync/atomic (vendor tree) /opt/retropie/supplementary/golang/src/sync/atomic (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/sync/atomic (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/syndtr/goleveldb/leveldb/storage/file_storage_unix.go:13:2: cannot find package "syscall" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/syscall (vendor tree) /opt/retropie/supplementary/golang/src/syscall (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/syscall (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/kjk/lzmadec/lzmadec.go:14:2: cannot find package "time" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/time (vendor tree) /opt/retropie/supplementary/golang/src/time (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/time (from $GOPATH) src/github.com/sselph/scraper/rom/rom.go:15:2: cannot find package "unicode" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/unicode (vendor tree) /opt/retropie/supplementary/golang/src/unicode (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/unicode (from $GOPATH) src/github.com/sselph/scraper/rom/rom.go:16:2: cannot find package "unicode/utf8" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/unicode/utf8 (vendor tree) /opt/retropie/supplementary/golang/src/unicode/utf8 (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/unicode/utf8 (from $GOPATH) src/github.com/sselph/scraper/vendor/github.com/syndtr/goleveldb/leveldb/cache/cache.go:13:2: cannot find package "unsafe" in any of: /home/pi/RetroPie-Setup/tmp/build/scraper/src/github.com/sselph/scraper/vendor/unsafe (vendor tree) /opt/retropie/supplementary/golang/src/unsafe (from $GOROOT) /home/pi/RetroPie-Setup/tmp/build/scraper/src/unsafe (from $GOPATH) /home/pi /home/pi/RetroPie-Setup/tmp/build/scraper /home/pi
= = = = = = = = = = = = = = = = = = = = = Installing 'scraper' : Scraper for EmulationStation by Steven Selph = = = = = = = = = = = = = = = = = = = = =
/home/pi Could not successfully install Scraper for EmulationStation by Steven Selph (/home/pi/RetroPie-Setup/tmp/build/scraper/scraper not found).
Log ended at: Fri Dec 22 15:57:05 EST 2017 Total running time: 0 hours, 0 mins, 29 secs
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sselph/scraper/issues/200#issuecomment-353674840, or mute the thread https://github.com/notifications/unsubscribe-auth/AHwNVlgagHB0GERDA5N3jI-_Jr0iFNikks5tDBpPgaJpZM4RJatB .
Didn't have a chance to test it but some questions if you have time:
What is in the golang directory ie ls -lh /opt/retropie/supplementary/golang/ and ls -lh /opt/retropie/supplementary/golang/src/
Also have you tried going in to the golang option or in the scraper and removing it and trying it again. Go has installed but maybe it messed up enough that it can detect it and run commands but all the source files are missing.
It has the first directory, but it seems to be missing the src directory.
I haven't done much outside of the retropie script to try and get it working. I removed and tried again, but the same thing happened. If you'd like me to try something or whatever I'm here, I just need more detailed instructions. For example, I don't understand what "going in to the golang option" means.
I also just wanted to mention that I DID get this working on another, newer retropie and it worked great. This one is one that I've had set up for years. I made sure to update before I ran everything. I don't know how much of that is helpful, but it could explain why I have an older version of go installed.
Thanks that is definitely a problem. The src directory needs to be there. Going in to the retropie-setup script then going through the menu to find golang then choose the option to remove/uninstall it. Or just run sudo rm -rf /opt/retropie/supplementary/golang to remove it so it will start over trying to install it.
I could not find anything about golang in the retropie setup script options. I'm not sure where it should be located. It might just get lumped in with another package during installation.
I just removed the directory above and ran the basic install for retropie and rebooted.
I then installed the scraper and it seems to have installed fine. Was this a configuration issue or an actual bug? Did something use go and then not get cleaned up?
Probably some sort of bug. The golang.sh downloads its own copy of Go then extracts it then the scraper.sh uses it to download and build my code. The golang.sh determines it is installed by seeing if the /opt/retropie/supplementary/golang/bin/go file exists and is the correct version. So something happened and that was done correctly but the src directory didn't extract. So maybe it was interrupted or something. My golang.sh isn't the most robust.
Ok. Thanks. This can be closed if you like or left open if you want to investigate further. Thank you for your help and this scraper is great. One last question, does the retropie script version support MAME video scrapes? I know you can scrape arcade titles using the command line, but using the script I was only able to get images and not videos.
It should work. Make sure to use Arcadeitalia or Screenscraper as the MAME/Arcade Source. If one doesn't work maybe the other will.
Thank you very much.
Hey I just wanted to mention that for Arcade titles (MAME, Neo-Geo, etc.) the scraper will get video files that aren't compatible with OMX hardware accelerated video player for retropie. I had this enabled because if it is disabled videos for other consoles will look bad and/or not run smoothly. With it on, videos for other consoles will play smoothly, but for arcade titles they will not play. I found others having this issue as well. It's not necessarily the scraper's fault, but it's worth mentioning for visibility and potentially a fix in the future. It is possible to manually fix the images by converting the codecs to something the OMX player can use. Link for reference
Ah oops. I forgot to mention that the scraper won't download videos it has already downloaded. So if you deleted them then switched the source to screenscraper it might work. The default arcade source is arcadeitalia and that might have different encodings than the default console source which is screenscraper.
In the scraper we have a setting -convert_videos and if you have ffmepg installed it should convert the videos to something the pi can play but doing that on the pi may slow it down considerably but I haven't played with it.
This worked beautifully. Thank you. I had two that even after re-scraping did not work, but I'm ok with that compared to having none working. I was going to (whenever I felt like it) just put all of the videos onto my computer and convert them, but this saved me a lot of work. Perhaps consider changing screenscraper to the default source if it is comparable in quality to arcadeitalia. Either way I'm very happy with the results. It looks beautiful.
Great! As an FYI my scraper was actually designed to be run separate from the pi. It is one of the reasons the flags are so crazy. My intention was that people would run the scraper on their rom directory from a powerful machine then copy it to the pi. So the defaults all work out that way. Everything is placed in the rom directory and it is portable and contained in the rom directory.
I agree. I was skeptical of the Screenscraper, but over the years it has proven to be pretty awesome. Arcadeitalia seems like the gold standard but I may switch the retropie default if the video works from screenscraper without issue.
Hello,
As this issue is still opened, I'll add my comment.
package context: unrecognized import path "context": import path does not begin with hostname [...]
57 occurences of this error.
Using Kali on WSL, Go1.15.2 linux/amd64
My .profile
export GOPATH="$HOME/go_projects"
export GOBIN="$GOPATH/bin"
export GOROOT=$HOME/go
export PATH=$PATH:$GOROOT/bin``