victorporof / Sublime-JSHint

JSHint Gutter for Sublime Text 2 and 3 via node.js
https://github.com/victorporof/Sublime-JSHint
682 stars 71 forks source link

AttributeError: 'module' object has no attribute 'DRAW_NO_OUTLINE' #38

Open norfish opened 11 years ago

norfish commented 11 years ago

Can someone tell me what's wrong with it? Is caused by my python setting?

view.run_command("jshint") Saving buffer to: D:\Program Files\Sublime3\Data\Packages\Sublime-JSHint/.temp Plugin folder is: D:\Program Files\Sublime3\Data\Packages\Sublime-JSHint Traceback (most recent call last): File "D:\Program Files\Sublime3\sublimeplugin.py", line 382, in run return self.run(edit) File "D:\Program Files\Sublime3\Data\Packages\Sublime-JSHint\JSHint.py", line 110, in run self.add_regions(regions) File "D:\Program Files\Sublime3\Data\Packages\Sublime-JSHint\JSHint.py", line 123, in add_regions sublime.DRAW_SQUIGGLY_UNDERLINE | AttributeError: 'module' object has no attribute 'DRAW_NO_OUTLINE'

victorporof commented 11 years ago

This looks like a Sublime bug. What version are you using?

norfish commented 11 years ago

Sublime text 3,and my python version is 2.7 when the python in Sublime is 3.3