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

Some error #1

Closed
ragnraok opened this issue Aug 15, 2012 · 4 comments
Closed

Some error #1

ragnraok opened this issue Aug 15, 2012 · 4 comments

Comments

@ragnraok
Copy link

My Configuration is the same as the REAME you show, but after I run python manage.py collectstatic to collect the django admin site static files to the s3, then I enter the django admin site, it can't find all static files, the admin site just like the no css site....

@ragnraok
Copy link
Author

I know the reason, because my bucket region is Tokyo, after change to US Standard, It is OK now, the reason is http://www.sitefinity.com/devnet/forums/sitefinity-3-x/set-up-installation/amazon-s3---must-be-addressed-using-the-specified-endpoint.aspx

But I have another question, when I try to upload a image, it raise some error:

OSError at /admin/auth/user/1/
[Errno 13] Permission denied: '/media/avatar'
Request Method: POST
Request URL:    http://127.0.0.1:8000/admin/auth/user/1/
Django Version: 1.3.1
Exception Type: OSError
Exception Value:    
[Errno 13] Permission denied: '/media/avatar'
Exception Location: /home/ragnarok/Projects/drawshare/venv/lib/python2.7/os.py in makedirs, line 157
Python Executable:  /home/ragnarok/Projects/drawshare/venv/bin/python
Python Version: 2.7.3
Python Path:    
['/home/ragnarok/Projects/drawshare/drawShare',
 '/usr/lib/python2.7/site-packages/liquidluck-0.3-py2.7.egg',
 '/usr/lib/python2.7/site-packages/houdini.py-0.1.0-py2.7-linux-i686.egg',
 '/usr/lib/python2.7/site-packages/misaka-1.0.2-py2.7-linux-i686.egg',
 '/usr/lib/python2.7/site-packages/docutils-0.9.1-py2.7.egg',
 '/home/ragnarok/Projects/drawshare/venv/lib/python2.7/site-packages/distribute-0.6.27-py2.7.egg',
 '/home/ragnarok/Projects/drawshare/venv/lib/python2.7/site-packages/pip-1.1-py2.7.egg',
 '/home/ragnarok/Projects',
 '/usr/lib/python2.7/site-packages',
 '/home/ragnarok/Projects/drawshare/drawShare',
 '/usr/lib/python2.7/site-packages/PIL',
 '/usr/lib/python2.7/site-packages/gtk-2.0',
 '/usr/lib/python2.7/site-packages/setuptools-0.6c11.egg-info',
 '/home/ragnarok/Projects/drawshare/venv/lib/python27.zip',
 '/home/ragnarok/Projects/drawshare/venv/lib/python2.7',
 '/home/ragnarok/Projects/drawshare/venv/lib/python2.7/plat-linux2',
 '/home/ragnarok/Projects/drawshare/venv/lib/python2.7/lib-tk',
 '/home/ragnarok/Projects/drawshare/venv/lib/python2.7/lib-old',
 '/home/ragnarok/Projects/drawshare/venv/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/home/ragnarok/Projects/drawshare/venv/lib/python2.7/site-packages']

@jamstooks
Copy link
Owner

Hey ragnraok, sorry I didn't see this sooner. Are you still having an issue here? If so, I'll look into it. If not, could you let us know what the problem was?

@ragnraok
Copy link
Author

Yes...I still having this issue, sorry, I don't know how to solve this, so I finally used django-storages instead

@jamstooks
Copy link
Owner

This tool actually builds on django-storages. I'm glad you were able to get it working with that at least...

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

2 participants