django-css icon indicating copy to clipboard operation
django-css copied to clipboard

Cleverss inserts an extra letter into path on windows

Open drozzy opened this issue 14 years ago • 1 comments

On windows, when I try to start my django project I get the following exception:

Caught Exception while rendering: Traceback (most recent call last): File "C:\Python27\Scripts\clevercss-script.py", line 8, in load_entry_point('CleverCSS==0.1.4', 'console_scripts', 'clevercss')() File "build\bdist.win-amd64\egg\clevercss.py", line 1590, in main IOError: [Errno 2] No such file or directory: 'C:\Users\blahblah\Projects\client\core\media\a\ccss\block.ccss'

NOTE that the actual path is: C:\Users\blahblah\Projects\client\core\media\ccss\block.ccss'

Note that this path does not have a letter "a" between "media" and "ccss".

Also, it uses double slashes \ on windows - but for some reason git-hub's parser removed them.

Sorry for the double ticket - I closed the other one by accident.

drozzy avatar Feb 09 '11 14:02 drozzy

Please see this: https://github.com/dziegler/django-css/issues/#issue/24

For some Reason (I have no idea why) - this fixes it.

drozzy avatar Feb 09 '11 14:02 drozzy