Skip to content
This repository has been archived by the owner on Aug 14, 2022. It is now read-only.

Error during install & use (Go 1.16.x) #10

Closed
sylvainDNS opened this issue Apr 18, 2021 · 2 comments
Closed

Error during install & use (Go 1.16.x) #10

sylvainDNS opened this issue Apr 18, 2021 · 2 comments

Comments

@sylvainDNS
Copy link

Hi Andrian, thanks for your work!

I have some problem with the use of this project.
When I tried to follow your doc, during setup I have an error:

$ go get -d github.com/retroplasma/flyover-reverse-engineering/...
$ cd "$(go env GOPATH)/src/github.com/retroplasma/flyover-reverse-engineering"
cd: no such file or directory: /home/sylvain/go/src/github.com/retroplasma/flyover-reverse-engineering

I discovered that it downloaded the project in this path : /home/sylvain/go/pkg/mod/github.com/retroplasma/flyover-reverse-engineering, but with the wrong rights:

$ ls -alh
drwxr-xr-x sylvain users 4.0 KB Sun Apr 18 12:56:40 2021  .
drwxr-xr-x sylvain users 4.0 KB Sun Apr 18 12:56:40 2021  ..
dr-xr-xr-x sylvain users 4.0 KB Sun Apr 18 12:56:40 2021  flyover-reverse-engineering@v0.0.0-20201222234948-1503c3517e05

So i tried to copy the project folder in the right directory, and change rights with chmod.
I continued to follow your documentation but I had an error during:

$ go run cmd/export-obj/main.go 34.007603 -118.499741 20 3 40
cmd/export-obj/main.go:16:2: no required module provides package github.com/retroplasma/flyover-reverse-engineering/pkg/fly: go.mod file not found in current directory or any parent directory; see 'go help modules'
cmd/export-obj/main.go:17:2: no required module provides package github.com/retroplasma/flyover-reverse-engineering/pkg/fly/c3m: go.mod file not found in current directory or any parent directory; see 'go help modules'
cmd/export-obj/main.go:18:2: no required module provides package github.com/retroplasma/flyover-reverse-engineering/pkg/fly/c3mm: go.mod file not found in current directory or any parent directory; see 'go help modules'
cmd/export-obj/main.go:19:2: no required module provides package github.com/retroplasma/flyover-reverse-engineering/pkg/fly/exp: go.mod file not found in current directory or any parent directory; see 'go help modules'
cmd/export-obj/main.go:20:2: no required module provides package github.com/retroplasma/flyover-reverse-engineering/pkg/mps: go.mod file not found in current directory or any parent directory; see 'go help modules'
cmd/export-obj/main.go:21:2: no required module provides package github.com/retroplasma/flyover-reverse-engineering/pkg/mps/config: go.mod file not found in current directory or any parent directory; see 'go help modules'
cmd/export-obj/main.go:22:2: no required module provides package github.com/retroplasma/flyover-reverse-engineering/pkg/mth: go.mod file not found in current directory or any parent directory; see 'go help modules'
cmd/export-obj/main.go:23:2: no required module provides package github.com/retroplasma/flyover-reverse-engineering/pkg/oth: go.mod file not found in current directory or any parent directory; see 'go help modules'
cmd/export-obj/main.go:24:2: no required module provides package github.com/retroplasma/flyover-reverse-engineering/pkg/web: go.mod file not found in current directory or any parent directory; see 'go help modules'

I tried to manually clone the project in an other directory, but I had exactly the same errors.

Tested on both Archlinux & Macos (BigSur), with go version go1.16.3 and GOPATH=/home/sylvain/go

@sylvainDNS sylvainDNS changed the title Error during install & use Error during install & use (Go 1.16.x) Apr 18, 2021
@sylvainDNS
Copy link
Author

Ok it seems that your script works with go 1.15.x. I keep this issue open for you, feel free to close or provide a support for Go > 1.15.
Thank you again!

@retroplasma
Copy link
Owner

Thank you, added 1.15.x to the readme

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants