Newbie - cannot run gjslint with a simple Javascript module

Skip to first unread message

Sep 5, 2013, 1:00:37 PM9/5/13
I have just installed python and installed linter.  However when I attempt to run gjslint on a small javascript module, I get a crash dump.

D:\****\Documents\Engage\www\js>gjslint cache.js
Traceback (most recent call last):
  File "D:\Python 33\Scripts\", line 9, in <module>
    load_entry_point('closure-linter==2.3.11', 'console_scripts', 'gjslint')()
  File "D:\Python 33\lib\site-packages\setuptools-1.1.1-py3.3.egg\", line 357, in load_entry_point
  File "D:\Python 33\lib\site-packages\setuptools-1.1.1-py3.3.egg\", line 2394, in load_entry_point
  File "D:\Python 33\lib\site-packages\setuptools-1.1.1-py3.3.egg\", line 2108, in load
  File "<frozen importlib._bootstrap>", line 1567, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1534, in _find_and_load_unlocked
  File "D:\Python 33\lib\site-packages\closure_linter-2.3.11-py3.3.egg\closure_linter\", line 168
    print '%s: %d' % (path, len(path_errors))
SyntaxError: invalid syntax

Does anybody have any idea on the probable cause?.  I am using the 64 bit version with Python configured to run on the D: drive.  Is there some module I'm missing as I've no experience of running Python and don't know where to start to investigate.  The trace stack hints that there may be a configuration error somewhere.

Tyler Breisacher

Sep 5, 2013, 1:35:16 PM9/5/13

I think this is because the linter will only work on Python 2.x and you're probably running Python 3.x

You received this message because you are subscribed to the Google Groups "Closure Linter Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit
Reply all
Reply to author
0 new messages