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

安装过程一直的都没有问题,在启动leanote的时候就出错 #787

Open
webhxx opened this Issue Jun 7, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@webhxx

webhxx commented Jun 7, 2018

安装过程一直的都没有问题,安装的是源码版的 ,在启动leanote的时候就出错了。

C:\Users\Administrator>go install github.com\revel\cmd\revel

C:\Users\Administrator>revel run github.com\leanote\leanote
�[36mDEBUG�[0m 14:16:43 revel server.go:27: RegisterServerEngine: Registered e
ngine �[36msection�[0m=server �[36mname�[0m=go
~
~ revel! http://revel.github.io
~
Trying to build with github.com\leanote\leanote (0x0,0x0)
�[36mDEBUG�[0m 14:16:43 revel module.go:145: Sorted keys
�[36msection�[0m=module �[36mkeys�[0m=module.static
�[36mDEBUG�[0m 14:16:43 revel module.go:145: Sorted keys
�[36msection�[0m=module �[36mkeys�[0m=module.testrunner
�[36mDEBUG�[0m 14:16:43 revel module.go:190: Loaded module
�[36msection�[0m=module
�[32mINFO �[0m 14:16:43 revel revel.go:204: Initialized Revel
�[32mVersion�[0m=0.18.0 �[32mBuildDate�[0m=2017-10-30 �[32mMinimumGoVers
ion�[0m=">= go1.6"
�[32mINFO �[0m 14:16:43 revel run.go:124: Running leanote (github.com\leano
te\leanote) in dev mode

�[36mDEBUG�[0m 14:16:43 revel run.go:125: Base path:
�[36mpath�[0m=D:\Go\src\github.com\leanote\leanote
�[36mDEBUG�[0m 14:16:43 revel run.go:129: Running in watched mode.

�[36mDEBUG�[0m 14:16:43 revel template.go:116: Refresh: Refreshing templates fr
om �[36msection�[0m=template �[36mpath�[0m=[D:\Go\src\github.com\lean
ote\leanote\vendor\github.com\revel\revel\templates]
�[36mDEBUG�[0m 14:16:43 revel template_engine.go:65: CreateTemplateEngine: init
templates �[36msection�[0m=template �[36mname�[0m=go
�[36mDEBUG�[0m 14:16:43 revel template.go:144: Refresh: Refreshing templates fr
om �[36msection�[0m=template �[36mpath�[0m=[D:\Go\src\github.com\lean
ote\leanote\vendor\github.com\revel\revel\templates]
�[36mDEBUG�[0m 14:16:43 revel template.go:330: loadIntoEngine:Engine 'go' compi
led D:\Go\src\github.com\leanote\leanote\vendor\github.com\revel\revel\templates
\errors\403.html �[36msection�[0m=template
�[36mDEBUG�[0m 14:16:43 revel template.go:330: loadIntoEngine:Engine 'go' compi
led D:\Go\src\github.com\leanote\leanote\vendor\github.com\revel\revel\templates
\errors\403.json �[36msection�[0m=template
�[36mDEBUG�[0m 14:16:43 revel template.go:330: loadIntoEngine:Engine 'go' compi
led D:\Go\src\github.com\leanote\leanote\vendor\github.com\revel\revel\templates
\errors\403.txt �[36msection�[0m=template
�[36mDEBUG�[0m 14:16:43 revel template.go:330: loadIntoEngine:Engine 'go' compi
led D:\Go\src\github.com\leanote\leanote\vendor\github.com\revel\revel\templates
\errors\403.xml �[36msection�[0m=template
�[36mDEBUG�[0m 14:16:43 revel template.go:330: loadIntoEngine:Engine 'go' compi
led D:\Go\src\github.com\leanote\leanote\vendor\github.com\revel\revel\templates
\errors\404-dev.html �[36msection�[0m=template
�[36mDEBUG�[0m 14:16:43 revel template.go:330: loadIntoEngine:Engine 'go' compi
led D:\Go\src\github.com\leanote\leanote\vendor\github.com\revel\revel\templates
\errors\404.html �[36msection�[0m=template
�[36mDEBUG�[0m 14:16:43 revel template.go:330: loadIntoEngine:Engine 'go' compi
led D:\Go\src\github.com\leanote\leanote\vendor\github.com\revel\revel\templates
\errors\404.json �[36msection�[0m=template
�[36mDEBUG�[0m 14:16:43 revel template.go:330: loadIntoEngine:Engine 'go' compi
led D:\Go\src\github.com\leanote\leanote\vendor\github.com\revel\revel\templates
\errors\404.txt �[36msection�[0m=template
�[36mDEBUG�[0m 14:16:43 revel template.go:330: loadIntoEngine:Engine 'go' compi
led D:\Go\src\github.com\leanote\leanote\vendor\github.com\revel\revel\templates
\errors\404.xml �[36msection�[0m=template
�[36mDEBUG�[0m 14:16:43 revel template.go:330: loadIntoEngine:Engine 'go' compi
led D:\Go\src\github.com\leanote\leanote\vendor\github.com\revel\revel\templates
\errors\405.html �[36msection�[0m=template
�[36mDEBUG�[0m 14:16:43 revel template.go:330: loadIntoEngine:Engine 'go' compi
led D:\Go\src\github.com\leanote\leanote\vendor\github.com\revel\revel\templates
\errors\405.json �[36msection�[0m=template
�[36mDEBUG�[0m 14:16:43 revel template.go:330: loadIntoEngine:Engine 'go' compi
led D:\Go\src\github.com\leanote\leanote\vendor\github.com\revel\revel\templates
\errors\405.txt �[36msection�[0m=template
�[36mDEBUG�[0m 14:16:43 revel template.go:330: loadIntoEngine:Engine 'go' compi
led D:\Go\src\github.com\leanote\leanote\vendor\github.com\revel\revel\templates
\errors\405.xml �[36msection�[0m=template
�[36mDEBUG�[0m 14:16:43 revel template.go:330: loadIntoEngine:Engine 'go' compi
led D:\Go\src\github.com\leanote\leanote\vendor\github.com\revel\revel\templates
\errors\500-dev.html �[36msection�[0m=template
�[36mDEBUG�[0m 14:16:43 revel template.go:330: loadIntoEngine:Engine 'go' compi
led D:\Go\src\github.com\leanote\leanote\vendor\github.com\revel\revel\templates
\errors\500.html �[36msection�[0m=template
�[36mDEBUG�[0m 14:16:43 revel template.go:330: loadIntoEngine:Engine 'go' compi
led D:\Go\src\github.com\leanote\leanote\vendor\github.com\revel\revel\templates
\errors\500.json �[36msection�[0m=template
�[36mDEBUG�[0m 14:16:43 revel template.go:330: loadIntoEngine:Engine 'go' compi
led D:\Go\src\github.com\leanote\leanote\vendor\github.com\revel\revel\templates
\errors\500.txt �[36msection�[0m=template
�[36mDEBUG�[0m 14:16:43 revel template.go:330: loadIntoEngine:Engine 'go' compi
led D:\Go\src\github.com\leanote\leanote\vendor\github.com\revel\revel\templates
\errors\500.xml �[36msection�[0m=template
�[36mDEBUG�[0m 14:16:43 revel harness.go:146: Rebuild Called

�[32mINFO �[0m 14:16:43 revel build.go:235: Cleaning dir tmp

�[32mINFO �[0m 14:16:43 revel build.go:235: Cleaning dir routes

�[31mERROR�[0m 14:16:43 revel reflect.go:841: Unexpected! Code path is not in G
OPATH: �[31mpath�[0m=D:\Go\src\github.com\leanote\leanote\app
�[33mWARN �[0m 14:16:43 revel reflect.go:101: Skipping empty code path
�[33mpath�[0m=D:\Go\src\github.com\leanote\leanote\app
�[31mERROR�[0m 14:16:43 revel reflect.go:841: Unexpected! Code path is not in G
OPATH: �[31mpath�[0m=D:\Go\src\github.com\leanote\leanote\vendor\github
.com\revel\modules\static\app
�[33mWARN �[0m 14:16:43 revel reflect.go:101: Skipping empty code path
�[33mpath�[0m=D:\Go\src\github.com\leanote\leanote\vendor\github
.com\revel\modules\static\app
panic: runtime error: invalid memory address or nil pointer dereference [recover
ed]
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x38 pc=0x7fe42d]

goroutine 1 [running]:
main.main.func2()
D:/Go/src/github.com/revel/cmd/revel/rev.go:86 +0x72
panic(0x88f360, 0xb8e5f0)
D:/Go/src/runtime/panic.go:491 +0x291
github.com/revel/cmd/harness.(*SourceInfo).ControllerSpecs(0x0, 0x9182b5, 0x9, 0
x0)
D:/Go/src/github.com/revel/cmd/harness/reflect.go:735 +0x2d
github.com/revel/cmd/harness.Build(0x0, 0x0, 0x0, 0x0, 0x0)
D:/Go/src/github.com/revel/cmd/harness/build.go:47 +0x154
github.com/revel/cmd/harness.(*Harness).Refresh(0xc042037300, 0x0)
D:/Go/src/github.com/revel/cmd/harness/harness.go:147 +0xe9
github.com/revel/revel.(*Watcher).Notify(0xc042286af0, 0x0)
D:/Go/src/github.com/revel/revel/watcher.go:178 +0x27b
github.com/revel/cmd/harness.(*Harness).Run(0xc042037300)
D:/Go/src/github.com/revel/cmd/harness/harness.go:186 +0x197
main.runApp(0xc04204a0a0, 0x1, 0x2)
D:/Go/src/github.com/revel/cmd/revel/run.go:131 +0x482
main.main()
D:/Go/src/github.com/revel/cmd/revel/rev.go:94 +0x3d7

C:\Users\Administrator>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment