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

Error Running Server #11

Open
MatthewMcD opened this issue Mar 29, 2018 · 3 comments
Open

Error Running Server #11

MatthewMcD opened this issue Mar 29, 2018 · 3 comments

Comments

@MatthewMcD
Copy link

Recently I now get "Error Running Server" when I try Hygofy: Start Server.

@autoferrit
Copy link

I get one as well. with a popup with this error:

ERROR 2018/08/08 17:06:44 Stack Trace:
goroutine 126 [running]:
github.com/gohugoio/hugo/hugolib.stackTrace(0x4b0, 0x55f30294bd1a, 0x17)
	/build/hugo/src/src/github.com/gohugoio/hugo/hugolib/page.go:280 +0x78
github.com/gohugoio/hugo/hugolib.(*Site).renderForLayouts.func1(0xc420af18a0, 0xc420266300)
	/build/hugo/src/src/github.com/gohugoio/hugo/hugolib/site.go:1742 +0x137
panic(0x55f302f8d700, 0x55f30353a0a0)
	/usr/lib/go/src/runtime/panic.go:502 +0x22d
text/template.errRecover(0xc420af1790)
	/usr/lib/go/src/text/template/exec.go:137 +0x1d6
panic(0x55f302f8d700, 0x55f30353a0a0)
	/usr/lib/go/src/runtime/panic.go:502 +0x22d
text/template.errRecover(0xc420af0b28)
	/usr/lib/go/src/text/template/exec.go:137 +0x1d6
panic(0x55f302f8d700, 0x55f30353a0a0)
	/usr/lib/go/src/runtime/panic.go:502 +0x22d
github.com/gohugoio/hugo/hugolib.(*Page).Permalink(0x0, 0x0, 0x0)
	/build/hugo/src/src/github.com/gohugoio/hugo/hugolib/page.go:1159 +0x5
reflect.Value.call(0x55f303071600, 0xc4205538e0, 0xce93, 0x55f3028fdf74, 0x4, 0x55f3035ca038, 0x0, 0x0, 0x55f30306be00, 0x1, ...)
	/usr/lib/go/src/reflect/value.go:447 +0x96b
reflect.Value.Call(0x55f303071600, 0xc4205538e0, 0xce93, 0x55f3035ca038, 0x0, 0x0, 0xc4208afc10, 0x13, 0x33)
	/usr/lib/go/sr

I have no errors running hugo in any way on the cli. I am starting vscode from the command line meaning it should be reading my env variables.

hugo version

❯ hugo version  
Hugo Static Site Generator v0.46 linux/amd64 BuildDate: 2018-08-02T22:40:09+0200

vscode version

❯ code -v    
1.25.1
1dfc5e557209371715f655691b1235b6b26a06be
x64

I also just saw i have another notification with:

Error getting hugo version, Make sure hugo is available in path.

hugo is in fact in my path

❯ which hugo    
/usr/bin/hugo

also this error

ERROR 2018/08/08 17:06:44 Failed to render "_default/single.html": runtime error: invalid memory address or nil pointer dereference

and

�[?25lBuilding sites …

@GLHApps
Copy link

GLHApps commented Dec 8, 2020

Did this issue ever get resolved? I presume it has - but as I am just getting started with hugo, (and am using hugofy) abd am getting this same error - thought I would ask. My guess is that it is something simple, but don't know where to look for an answer as yet. Thx.

@magnus919
Copy link

This is a duplicate of #9 but I think this project might be abandoned.

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

No branches or pull requests

4 participants