Re: cloud bikeshed just went down?

Ok, it was my file that caused cloud bikeshed to crash. 

I had this..

   <pre class="example" highlight="cddl">

..in it, and bikeshed apparently could not find an appropriate class to deal with "cddl" and so simply fell over.

So I switched to highlight="json" and it is happier and once again doing my bidding. 

fyi/fwiw, CDDL is here https://tools.ietf.org/html/draft-ietf-cbor-cddl

HTH,

=JeffH
 
###
On 12/21/17, 10:24 AM, "Hodges, Jeff" <jeff.hodges@paypal.com> wrote:

was using api.csswg.org/bikeshed just a few min ago, but now here's what it spits back: 

curl https://api.csswg.org/bikeshed/ -F file=@index.bs -F force=1 -F output=err
Error running preprocessor, returned code: 1.
Traceback (most recent call last):
  File "/sites/api.csswg.org/bikeshed/bikeshed.py", line 5, in 
    bikeshed.main()
  File "/sites/api.csswg.org/bikeshed/bikeshed/cli.py", line 202, in main
    doc.preprocess()
  File "/sites/api.csswg.org/bikeshed/bikeshed/Spec.py", line 189, in preprocess
    highlight.addSyntaxHighlighting(self)
  File "/sites/api.csswg.org/bikeshed/bikeshed/highlight.py", line 34, in addSyntaxHighlighting
    highlightEl(el, lang)
  File "/sites/api.csswg.org/bikeshed/bikeshed/highlight.py", line 134, in highlightEl
    coloredText = highlightWithPygments(text, lang, el=el)
  File "/sites/api.csswg.org/bikeshed/bikeshed/highlight.py", line 169, in highlightWithPygments
    lexer = lexerFromLang(lang)
  File "/sites/api.csswg.org/bikeshed/bikeshed/highlight.py", line 357, in lexerFromLang
    except pyg.util.ClassNotFound:
NameError: global name 'pyg' is not defined

Received on Thursday, 21 December 2017 23:29:21 UTC