Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

url = os.path.realpath(url) Bug #24

Open
macmichael01 opened this issue Nov 8, 2010 · 4 comments
Open

url = os.path.realpath(url) Bug #24

macmichael01 opened this issue Nov 8, 2010 · 4 comments

Comments

@macmichael01
Copy link

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.

@dhirsch
Copy link

dhirsch commented Dec 17, 2010

That fixed my problem as well, same environment

@humphrey
Copy link

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 :-)

@drozzy
Copy link

drozzy commented Feb 9, 2011

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

@drozzy
Copy link

drozzy commented Jun 30, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants