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

url = os.path.realpath(url) Bug

Open macmichael01 opened this issue 14 years ago • 4 comments

Compressor seems to break on line 67 of compressor.init.py which is this: url = os.path.realpath(url)

If I comment this line out, it works.

I am using python 2.6 with virtualenv + pip. I have some other projects that I am working on that aren't using virtualenv and I don't experience the above issue. Only with virtualenv.

macmichael01 avatar Nov 08 '10 05:11 macmichael01

That fixed my problem as well, same environment

dhirsch avatar Dec 17 '10 17:12 dhirsch

Yes, I also had to comment out that line... Adding print statements before and after that line gave me:

http://my.domain/static/sms/css/screen.css C:\my\project\dir\http:\pianos1st.localhost\static\sms\css\screen.css

I think that doesn't work under windows :-)

humphrey avatar Dec 23 '10 06:12 humphrey

Wow, thanks - that fixed my bug: https://github.com/dziegler/django-css/issues#issue/32

drozzy avatar Feb 09 '11 14:02 drozzy

Any chance of actually fixing this in source - so I don't have to hack it everytime I install it?

drozzy avatar Jun 30 '11 13:06 drozzy