Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revel run in window Not Support ? #1479

Open
hewei-github opened this issue Dec 5, 2019 · 6 comments
Open

Revel run in window Not Support ? #1479

hewei-github opened this issue Dec 5, 2019 · 6 comments
Labels
effort-unknown Needs more planning to determine status-planning Active planning underway topic-windows type-bug
Projects

Comments

@hewei-github
Copy link

go version : go1.13.1 windows/amd64

revel version

Revel executing: displays the Revel Framework and Go version
WARN 17:02:15 version.go:71: Unable to extract version information from Revel library error,err=nil LOG15_ERROR="Normalized odd
number of arguments by adding nil"
Revel Framework : Unknown (0.21.0 remote master branch)
Revel Cmd : 0.21.1 (0.21.1 remote master branch)
Revel Modules : Unknown (0.21.0 remote master branch)

go version go1.13.1 windows/amd64

when run new project

C:\workpaces\envs\golib>revel run -v -a newApp
INFO 17:04:45 revel.go:94: Returned import path path=newApp buildpath=C:\workpaces\envs\golib
INFO 17:04:45 command_config.go:301: Seeking app package app=newApp
INFO 17:04:45 command_config.go:301: Seeking remote package remote=github.com/revel/revel using=newApp
INFO 17:04:45 command_config.go:301: Resolved called Seeking remote package using=newApp remote=github.com/revel/revel
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x642c5c]

goroutine 1 [running]:
github.com/revel/cmd/utils.FindSrcPaths(0xc00001c100, 0x6, 0x93d490, 0x16, 0x0, 0xc0000f4990, 0x0, 0x0, 0x4, 0x4, ...)
C:/workpaces/envs/goenv/pkg/mod/github.com/revel/cmd@v0.21.1/utils/file.go:358 +0x3dc
github.com/revel/cmd/model.(*CommandConfig).SetVersions(0xc0000021e0, 0x93bd72, 0x14)
C:/workpaces/envs/goenv/pkg/mod/github.com/revel/cmd@v0.21.1/model/command_config.go:301 +0xd1
github.com/revel/cmd/model.(*CommandConfig).UpdateImportPath(0xc0000021e0, 0x17, 0x3)
C:/workpaces/envs/goenv/pkg/mod/github.com/revel/cmd@v0.21.1/model/command_config.go:154 +0x5f5
main.main()
C:/workpaces/envs/goenv/pkg/mod/github.com/revel/cmd@v0.21.1/revel/revel.go:94 +0x16f

@hewei-github
Copy link
Author

create new project is ok , but can't run !

@hewei-github
Copy link
Author

Conf dir has not been modified

@hewei-github
Copy link
Author

hewei-github commented Dec 5, 2019

i try install revel/cmd 3 times

go get -u github.com/revel/cmd go: finding github.com/revel/cmd v0.21.1 go: downloading github.com/revel/cmd v0.21.1 go: extracting github.com/revel/cmd v0.21.1

@hewei-github
Copy link
Author

image

@hewei-github
Copy link
Author

if you revel framework version read in file or net error ! why not build in binary cmd ?

@brendensoares brendensoares added effort-unknown Needs more planning to determine status-planning Active planning underway topic-windows type-bug labels Feb 8, 2020
@brendensoares
Copy link
Member

Thanks @hewei-github!

This looks like a similar issue I've seen in another issue. I've labeled this so we can add it to our queue of issues. Currently, it looks like a bug in Revel.

@notzippy notzippy added this to In progress in Revel May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort-unknown Needs more planning to determine status-planning Active planning underway topic-windows type-bug
Projects
Revel
  
In progress
Development

No branches or pull requests

2 participants