Skip to content

Instantly share code, notes, and snippets.

@pztrn
Created March 29, 2015 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pztrn/eaa3a0a4fcc96b12e74f to your computer and use it in GitHub Desktop.
Save pztrn/eaa3a0a4fcc96b12e74f to your computer and use it in GitHub Desktop.
% ./gogs web
2015/03/29 19:04:46 [T] Custom path: /data/git/gogs/custom
2015/03/29 19:04:46 [T] Log path: /data/git/gogs/log
2015/03/29 19:04:46 [I] Gogs: Go Git Service 0.6.1.0325 Beta
2015/03/29 19:04:46 [I] Log Mode: File(Info)
2015/03/29 19:04:46 [I] Cache Service Enabled
2015/03/29 19:04:46 [I] Session Service Enabled
2015/03/29 19:04:46 [I] Oauth Service Enabled [GitHub Google]
2015/03/29 19:04:46 [I] Run Mode: Production
panic: template: org/settings/options:49: function "DisableGravatar" not defined
goroutine 16 [running]:
runtime.panic(0xb31f20, 0xc20836c220)
/usr/lib/go/src/pkg/runtime/panic.c:279 +0xf5
html/template.Must(0x0, 0x7f63e5ab82c0, 0xc20836c220, 0x0)
/usr/lib/go/src/pkg/html/template/template.go:296 +0x4f
github.com/Unknwon/macaron.compile(0xc2081a9ca0, 0x18, 0x0, 0x0, 0xc2081a9ce0, 0x2, 0x2, 0xc208142f20, 0x1, 0x1, ...)
/data/go/src/github.com/Unknwon/macaron/render.go:275 +0x3ff
github.com/Unknwon/macaron.(*templateSet).Set(0xc208215b30, 0xc39620, 0x7, 0xc2081b61c0, 0x0)
/data/go/src/github.com/Unknwon/macaron/render.go:300 +0x50
github.com/Unknwon/macaron.renderHandler(0xc2081a9ca0, 0x18, 0x0, 0x0, 0xc2081a9ce0, 0x2, 0x2, 0xc208142f20, 0x1, 0x1, ...)
/data/go/src/github.com/Unknwon/macaron/render.go:367 +0x1c0
github.com/Unknwon/macaron.Renderer(0xc2081e72a8, 0x1, 0x1, 0x0, 0x0)
/data/go/src/github.com/Unknwon/macaron/render.go:404 +0xec
github.com/gogits/gogs/cmd.newMacaron(0xc208058240)
/data/go/src/github.com/gogits/gogs/cmd/web.go:125 +0x5d1
github.com/gogits/gogs/cmd.runWeb(0xc208058240)
/data/go/src/github.com/gogits/gogs/cmd/web.go:175 +0xa2
github.com/codegangsta/cli.Command.Run(0xc61c00, 0x3, 0x0, 0x0, 0xcbd390, 0x15, 0xd85530, 0x64, 0x0, 0x0, ...)
/data/go/src/github.com/codegangsta/cli/command.go:116 +0xec6
github.com/codegangsta/cli.(*App).Run(0xc20808a000, 0xc20800e000, 0x2, 0x2, 0x0, 0x0)
/data/go/src/github.com/codegangsta/cli/app.go:172 +0xbb8
main.main()
/data/git/gogs/gogs.go:40 +0x2a5
goroutine 19 [finalizer wait]:
runtime.park(0x413880, 0x1138120, 0x1126f69)
/usr/lib/go/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0x1138120, 0x1126f69)
/usr/lib/go/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
/usr/lib/go/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1445
goroutine 20 [select]:
github.com/gogits/gogs/modules/log.(*Logger).StartLogger(0xc208057580)
/data/go/src/github.com/gogits/gogs/modules/log/log.go:231 +0x2d8
created by github.com/gogits/gogs/modules/log.newLogger
/data/go/src/github.com/gogits/gogs/modules/log/log.go:161 +0xc4
goroutine 32 [chan receive]:
github.com/gogits/gogs/modules/mailer.processMailQueue()
/data/go/src/github.com/gogits/gogs/modules/mailer/mailer.go:53 +0x68
created by github.com/gogits/gogs/modules/mailer.NewMailerContext
/data/go/src/github.com/gogits/gogs/modules/mailer/mailer.go:47 +0xdb
goroutine 33 [select]:
github.com/gogits/gogs/modules/log.(*Logger).StartLogger(0xc20814c080)
/data/go/src/github.com/gogits/gogs/modules/log/log.go:231 +0x2d8
created by github.com/gogits/gogs/modules/log.newLogger
/data/go/src/github.com/gogits/gogs/modules/log/log.go:161 +0xc4
goroutine 36 [chan receive]:
database/sql.(*DB).connectionOpener(0xc208046b00)
/usr/lib/go/src/pkg/database/sql/sql.go:583 +0x48
created by database/sql.Open
/usr/lib/go/src/pkg/database/sql/sql.go:442 +0x27c
goroutine 48 [select]:
github.com/gogits/gogs/modules/cron.(*Cron).run(0xc208154400)
/data/go/src/github.com/gogits/gogs/modules/cron/cron.go:162 +0x90b
created by github.com/gogits/gogs/modules/cron.(*Cron).Start
/data/go/src/github.com/gogits/gogs/modules/cron/cron.go:137 +0x3a
goroutine 49 [select]:
github.com/gogits/gogs/modules/log.(*Logger).StartLogger(0xc2081535c0)
/data/go/src/github.com/gogits/gogs/modules/log/log.go:231 +0x2d8
created by github.com/gogits/gogs/modules/log.newLogger
/data/go/src/github.com/gogits/gogs/modules/log/log.go:161 +0xc4
goroutine 99 [chan send]:
text/template/parse.lexRightDelim(0xc208260000, 0xdec268)
/usr/lib/go/src/pkg/text/template/parse/lex.go:263 +0xb3
text/template/parse.(*lexer).run(0xc208260000)
/usr/lib/go/src/pkg/text/template/parse/lex.go:198 +0x40
created by text/template/parse.lex
/usr/lib/go/src/pkg/text/template/parse/lex.go:191 +0x112
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment