Skip to content

it doesn't work at Sublime2.0.2 #63

@ayqy

Description

@ayqy

I have installed Sublime2.0.2 and the latest version of Node and CSSComb on Win7 & WinXp SP3, but both of them do not work at all.

There's an Error:

File ".\sublime_plugin.py", line 362, in run_
return self.run(edit)
File ".\CSScomb.py", line 35, in run
File ".\CSScomb.py", line 45, in comb
File ".\subprocess.py", line 633, in init
File ".\subprocess.py", line 842, in _execute_child
UnicodeEncodeError: 'ascii' codec can't encode characters in position 7491-7495: ordinal not in range(128)

I fixed it after inserting two lines as follows to exec.py:

reload(sys);
sys.setdefaultencoding(''gbk'');

Now, there's no error, but my css code is not combed by CSSComb as well. That is, running CSSComb has no effect on my code.

CSSComb is a pretty tool and I love it so much, please help me, thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions