Closed aranw closed 9 years ago
Any chance your sites files are in a public repo where I can take a look?
On Jul 28, 2015, at 5:30 PM, Aran Wilkinson notifications@github.com wrote:
When I run the deploy command I get the follow panic message.
My site is generated using hugo and generates clean urls
I've put the panic and stack trace below.
I believe whatever is parsing the CSS and JS files are not reading the URLs correctly. They are set to all start with a / but I think it is ignoring them and then looking in the relative path for them.
panic: open public/2015/02/09/static-sites-using-hugo/css/syntax.css: no such file or directory
goroutine 16 [running]: runtime.panic(0x35e1c0, 0xc2080b5710) /Users/zackbloom/g/1.3.1/src/pkg/runtime/panic.c:279 +0xf5 main.must(0x3cbf80, 0x0, 0x1010930, 0xc2080b5710, 0x0, 0x0) /Users/zackbloom/go/src/github.com/eagerio/stout/src/utils.go:82 +0x61 main.hashFile(0xc20803ea80, 0x38, 0x0, 0x0, 0x0) /Users/zackbloom/go/src/github.com/eagerio/stout/src/deploy.go:48 +0x15a main.hashFiles(0xc2080d8200, 0x14, 0x20, 0x0, 0x0) /Users/zackbloom/go/src/github.com/eagerio/stout/src/deploy.go:66 +0xfd main.Deploy(0x3db770, 0x1, 0x7fff5fbff7d6, 0x6, 0x3dbe30, 0x2, 0x3db170, 0x0, 0x3db170, 0x0, ...) /Users/zackbloom/go/src/github.com/eagerio/stout/src/deploy.go:552 +0x13bc main.deployCmd() /Users/zackbloom/go/src/github.com/eagerio/stout/src/deploy.go:605 +0xed main.main() /Users/zackbloom/go/src/github.com/eagerio/stout/src/cli.go:39 +0x117
goroutine 19 [finalizer wait]: runtime.park(0x21bb0, 0x624578, 0x623009) /Users/zackbloom/g/1.3.1/src/pkg/runtime/proc.c:1369 +0x89 runtime.parkunlock(0x624578, 0x623009) /Users/zackbloom/g/1.3.1/src/pkg/runtime/proc.c:1385 +0x3b runfinq() /Users/zackbloom/g/1.3.1/src/pkg/runtime/mgc0.c:2644 +0xcf runtime.goexit() /Users/zackbloom/g/1.3.1/src/pkg/runtime/proc.c:1445 — Reply to this email directly or view it on GitHub.
@zackbloom I've put the code here https://github.com/aranw/blog
@zackbloom Had a chance to look into this?
Just made a new release which fixes this issue. Thanks!
When I run the deploy command I get the follow panic message.
My site is generated using hugo and generates clean urls
I've put the panic and stack trace below.
I believe whatever is parsing the CSS and JS files are not reading the URLs correctly. They are set to all start with a
/
but I think it is ignoring them and then looking in the relative path for them.