Hugo: Runtime Error in Hugo 0.59.0

Created on 23 Oct 2019  Â·  4Comments  Â·  Source: gohugoio/hugo

Hugo Version: Hugo Static Site Generator v0.59.0/extended darwin/amd64 BuildDate: unknown
OS: macOS Mojave 10.14.6

Issue:

Starting with this version I receive three errors when I generate my site. Nothing has change in my repository since the previous version of Hugo, so this is a new regression.

My site builds as expected (so far as I can tell), but Hugo produces three runtime errors.

Hugo output from terminal below. Please let me know what other information you might need.

Building sites … ERROR 2019/10/22 16:10:49 runtime error: index out of range [2] with length 2
ERROR 2019/10/22 16:10:49 runtime error: index out of range [2] with length 2
ERROR 2019/10/22 16:10:49 runtime error: index out of range [2] with length 2

                   |  EN   
+------------------+------+
  Pages            | 1159  
  Paginator pages  |   60  
  Non-page files   |    0  
  Static files     |   78  
  Processed images |    0  
  Aliases          |  591  
  Sitemaps         |    1  
  Cleaned          |    0  

Total in 626 ms
Bug Upstream

Most helpful comment

It's now fixed upstream in Chroma (that was impressively fast!), and I will try to find time to do a patch release later today.

All 4 comments

Please let me know what other information you might need.

While I agree that this is a bug, I would most likely need access to your project or a Hugo site with this error. If this is a private GitHub project you may consider sharing it with me for a short while so I can run it.

I sent you an invite to the site's repository. Thank you so much for giving it a look!

@marmanold thanks, I got it. It's a bug introduced in Chroma, the highlighter we use.

It's now fixed upstream in Chroma (that was impressively fast!), and I will try to find time to do a patch release later today.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MunifTanjim picture MunifTanjim  Â·  3Comments

sigma picture sigma  Â·  3Comments

crash-dive picture crash-dive  Â·  3Comments

tjamet picture tjamet  Â·  3Comments

nikolas picture nikolas  Â·  3Comments