Skip to content
This repository was archived by the owner on Jun 28, 2018. It is now read-only.

Conversation

@takashi-osako
Copy link

Hi faruken,

There is a bug in the code.

How to reproduce:
I have multiple less files, and if this is my first time to generate css files, it's working okay. However, when I updated less file after css files were generated, LessCSS threw an exception:
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/lesscss-0.1.4-py3.3.egg/lesscss/init.py", line 71, in init
self.compile()
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/lesscss-0.1.4-py3.3.egg/lesscss/init.py", line 137, in compile
subprocess.call(command_opt, shell=False)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/subprocess.py", line 521, in call
with Popen(_popenargs, *_kwargs) as p:
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/subprocess.py", line 818, in init
restore_signals, start_new_session)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/subprocess.py", line 1416, in _execute_child
raise child_exception_type(errno_num, err_msg)
PermissionError: [Errno 13] Permission denied

Caused by:
It caused by deleting ['lessc', '-x']

Thank you,

Takashi

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant