akalongman / sublimetext-codeformatter

Code Formatter plugin for ST2/ST3
MIT License
770 stars 131 forks source link

Error when running for the first time #208

Open catsclaw opened 8 years ago

catsclaw commented 8 years ago

I get the following error when I run for the first time:

Traceback (most recent call last): File "C:\Program Files\Sublime Text 3\sublimeplugin.py", line 574, in run return self.run(edit) File "C:\Users\Chris\AppData\Roaming\Sublime Text 3\Packages\CodeFormatter\CodeFormatter.py", line 79, in run formatter = Formatter(self.view, file_name, syntax, saving) File "C:\Users\Chris\AppData\Roaming\Sublime Text 3\Packages\CodeFormatter\codeformatter\formatter.py", line 59, in init if ("syntaxes" in opts and opts["syntaxes"]): TypeError: argument of type 'NoneType' is not iterable

akalongman commented 8 years ago

I will check. Thank you for submitting

akalongman commented 8 years ago

Can you show me your CF settings?

catsclaw commented 8 years ago

I'm not by my home computer atm, so I can't send over my settings yet.

ticapix commented 8 years ago

this the content of CodeFormatter.sublime-settings http://pastebin.com/LnDgddVv

ticapix commented 8 years ago

solved by restarting Sublime. All good. (and re-verified by uninstalling/install it)

catsclaw commented 8 years ago

I tried restarting, but it didn't fix my problem.

On Thu, Mar 31, 2016 at 12:05 PM, ticapix notifications@github.com wrote:

solved by restarting Sublime. All good. (and re-verified by uninstalling/install it)

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/akalongman/sublimetext-codeformatter/issues/208#issuecomment-204001474

examinedliving commented 8 years ago

As @catsclaw, restarting didn't fix this for me. Windows 7 64bit