[racket] Frog/Pygments build error

From: Joe Gibbs Politz (joe at cs.brown.edu)
Date: Sun Oct 20 19:53:56 EDT 2013

Trying to get set up with Frog, hit the following:

$ raco pkg install frog
$ mkdir scratch/frog-test
$ cd scratch/frog-test
$ raco frog --init
Frog 0.7
Configuration /home/joe/scratch/frog-test/.frogrc not found; using defaults.
Creating files in /home/joe/scratch/frog-test/:
/home/joe/scratch/frog-test/.frogrc
/home/joe/scratch/frog-test/_src/About.md
/home/joe/scratch/frog-test/_src/page-template.html
/home/joe/scratch/frog-test/_src/post-template.html
/home/joe/scratch/frog-test/_src/posts/2012-01-01-a-2012-blog-post.md
/home/joe/scratch/frog-test/css/
/home/joe/scratch/frog-test/js/
/home/joe/scratch/frog-test/img/
Project ready. Try `raco frog -bp` to build and preview.

All good up to here, then...

$ raco frog -b
Frog 0.7
Using configuration /home/joe/scratch/frog-test/.frogrc
Traceback (most recent call last):
  File "/home/joe/.racket/5.3.6/pkgs/installed/frog/frog/pipe.py",
line 44, in <module>
    lexer = get_lexer_by_name(line, encoding="guess")
  File "/usr/local/lib/python2.7/dist-packages/Pygments-1.5-py2.7.egg/pygments/lexers/__init__.py",
line 80, in get_lexer_by_name
    raise ClassNotFound('no lexer for alias %r found' % _alias)
pygments.util.ClassNotFound: no lexer for alias 'racket' found
Done generating files at 19:45


Is there some silly thing I've failed to do for setting up Pygments?
I had previously installed Pygments to use Jekyll for Github pages,
and I get the same message before and after a fresh

$ sudo easy_install Pygments

It could be my fault or some local install issue, but I figured I'd
see if anyone has hit this before.

Thanks!
Joe

Posted on the users mailing list.