Skip to content

Instantly share code, notes, and snippets.

@thypon
Created March 26, 2016 08:25
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 thypon/364f3cd991a1da092138 to your computer and use it in GitHub Desktop.
Save thypon/364f3cd991a1da092138 to your computer and use it in GitHub Desktop.
gogs panic
gogs * panic: template: admin/auth/list:37: function "DateFormat" not defined
gogs *
gogs * goroutine 1 [running]:
gogs * html/template.Must(0x0, 0x7f93f8300028, 0xc8204b9100, 0x0)
gogs * /usr/lib/go/src/html/template/template.go:330 +0x4b
gogs * gopkg.in/macaron%2ev1.compile(0xc82023d4c0, 0x13, 0xc820424bb0, 0x1, 0x1, 0x0, 0x0, 0xc82023d520, 0x2, 0x2, ...)
gogs * /tmp/go/src/gopkg.in/macaron.v1/render.go:281 +0x97e
gogs * gopkg.in/macaron%2ev1.(*templateSet).Set(0xc82022b680, 0x10a46a0, 0x7, 0xc820461ef0, 0x0)
gogs * /tmp/go/src/gopkg.in/macaron.v1/render.go:306 +0x4d
gogs * gopkg.in/macaron%2ev1.renderHandler(0xc82023d4c0, 0x13, 0xc820424bb0, 0x1, 0x1, 0x0, 0x0, 0xc82023d520, 0x2, 0x2, ...)
gogs * /tmp/go/src/gopkg.in/macaron.v1/render.go:373 +0x217
gogs * gopkg.in/macaron%2ev1.Renderer(0xc820474bf8, 0x1, 0x1, 0x0, 0x0)
gogs * /tmp/go/src/gopkg.in/macaron.v1/render.go:410 +0x1ee
gogs * github.com/gogits/gogs/cmd.newMacaron(0xc8202fd040)
gogs * /tmp/go/src/github.com/gogits/gogs/cmd/web.go:131 +0x892
gogs * github.com/gogits/gogs/cmd.runWeb(0xc8202fd040)
gogs * /tmp/go/src/github.com/gogits/gogs/cmd/web.go:185 +0xc2
gogs * github.com/codegangsta/cli.Command.Run(0x10b09b8, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x114a4b0, 0x15, 0x0, ...)
gogs * /tmp/go/src/github.com/codegangsta/cli/command.go:174 +0x1397
gogs * github.com/codegangsta/cli.(*App).Run(0xc8202fcdc0, 0xc82000a0a0, 0x2, 0x2, 0x0, 0x0)
gogs * /tmp/go/src/github.com/codegangsta/cli/app.go:187 +0x1135
gogs * main.main()
gogs * /tmp/go/src/github.com/gogits/gogs/gogs.go:40 +0x368
gogs *
gogs * goroutine 17 [syscall, locked to thread]:
gogs * runtime.goexit()
gogs * /usr/lib/go/src/runtime/asm_amd64.s:1721 +0x1
gogs *
gogs * goroutine 34 [select]:
gogs * github.com/gogits/gogs/modules/log.(*Logger).StartLogger(0xc82034fa00)
gogs * /tmp/go/src/github.com/gogits/gogs/modules/log/log.go:236 +0x3cf
gogs * created by github.com/gogits/gogs/modules/log.newLogger
gogs * /tmp/go/src/github.com/gogits/gogs/modules/log/log.go:162 +0x138
gogs *
gogs * goroutine 18 [select]:
gogs * github.com/gogits/gogs/modules/log.(*Logger).StartLogger(0xc82016a940)
gogs * /tmp/go/src/github.com/gogits/gogs/modules/log/log.go:236 +0x3cf
gogs * created by github.com/gogits/gogs/modules/log.newLogger
gogs * /tmp/go/src/github.com/gogits/gogs/modules/log/log.go:162 +0x138
gogs *
gogs * goroutine 29 [chan receive]:
gogs * database/sql.(*DB).connectionOpener(0xc8202faa00)
gogs * /usr/lib/go/src/database/sql/sql.go:634 +0x45
gogs * created by database/sql.Open
gogs * /usr/lib/go/src/database/sql/sql.go:481 +0x336
gogs *
gogs * goroutine 11 [select]:
gogs * github.com/gogits/cron.(*Cron).run(0xc8201b66c0)
gogs * /tmp/go/src/github.com/gogits/cron/cron.go:158 +0x9e8
gogs * created by github.com/gogits/cron.(*Cron).Start
gogs * /tmp/go/src/github.com/gogits/cron/cron.go:133 +0x40
gogs *
gogs * goroutine 12 [chan receive]:
gogs * github.com/gogits/gogs/models.DeliverHooks()
gogs * /tmp/go/src/github.com/gogits/gogs/models/webhook.go:617 +0x465
gogs * created by github.com/gogits/gogs/models.InitDeliverHooks
gogs * /tmp/go/src/github.com/gogits/gogs/models/webhook.go:637 +0x2b
gogs *
gogs * goroutine 13 [chan receive]:
gogs * github.com/gogits/gogs/models.TestPullRequests()
gogs * /tmp/go/src/github.com/gogits/gogs/models/pull.go:621 +0x1de
gogs * created by github.com/gogits/gogs/models.InitTestPullRequests
gogs * /tmp/go/src/github.com/gogits/gogs/models/pull.go:639 +0x2b
gogs *
gogs * goroutine 14 [select]:
gogs * github.com/gogits/gogs/modules/log.(*Logger).StartLogger(0xc82034f680)
gogs * /tmp/go/src/github.com/gogits/gogs/modules/log/log.go:236 +0x3cf
gogs * created by github.com/gogits/gogs/modules/log.newLogger
gogs * /tmp/go/src/github.com/gogits/gogs/modules/log/log.go:162 +0x138
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment