Re: IOError, Permission Denied using Amazon s3 w/ django-storage?

2012-12-10 Thread easypie
This is on Ubuntu. I am using Mezzanine framework built on top of Django. 
'pip install mezzanine' helps grab all the dependencies like Pillow (PIL). 
I'm not sure if this is what's causing the problem but thank you. I'll take 
a look at this.

On Monday, December 10, 2012 1:35:02 PM UTC-8, somecallitblues wrote:
>
> I suspect you're on a Mac and your jpglib is not compiled properly. If you 
> are on Mac make sure you look into that.
>
> Cheers,
>
> mario
> www.zenbookings.com
> On 10 Dec, 2012 4:20 PM, "easypie"  
> wrote:
>
>> Yeah. It's uploaded and by using django-filebrowser I can upload image, 
>> create folder and move them around but I am not able to use those image in 
>> posts. I am using Mezzanine btw. I put up a post over at their user group: 
>> https://groups.google.com/forum/?fromgroups=#!topic/mezzanine-users/SMHtMX1YgBY
>>
>> On Sunday, December 9, 2012 3:50:45 PM UTC-8, Chris Cogdon wrote:
>>>
>>> If you're using ImageField, that by default verifies that what you've 
>>> uploaded is in fact an image. It uses PIL (python image library, aka 
>>> python-imaging) to do that. make sure you have PIL installed and it is 
>>> working.
>>>
>>> On Sunday, December 9, 2012 12:40:22 AM UTC-8, easypie wrote:

 I got it working by granting 775 permission for that fold and its 
 sub-folder where the files had to be created and lacked enough privilege 
 to 
 do so. Now everything works! ...I just need to figure out why the uploads 
 won't accept .jpg files =\

 On Saturday, December 8, 2012 11:18:25 PM UTC-8, easypie wrote:
>
> I encountered an error where whenever I go to upload a file, it tells 
> me that a folder doesn't have enough permission. What kind of permission 
> do 
> we give these folders? I use Apache server. Do I change the whole project 
> folder to group www-data? Then set chmod to 775 to the project folder and 
> all files in the project recursively? Here is my traceback error log: 
> http://dpaste.org/5KUMf/!
>
  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/django-users/-/Drz7gK3Zxz8J.
>> To post to this group, send email to django...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to 
>> django-users...@googlegroups.com .
>> For more options, visit this group at 
>> http://groups.google.com/group/django-users?hl=en.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/V5NQ660_A0sJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: IOError, Permission Denied using Amazon s3 w/ django-storage?

2012-12-10 Thread Mario Gudelj
I suspect you're on a Mac and your jpglib is not compiled properly. If you
are on Mac make sure you look into that.

Cheers,

mario
www.zenbookings.com
On 10 Dec, 2012 4:20 PM, "easypie"  wrote:

> Yeah. It's uploaded and by using django-filebrowser I can upload image,
> create folder and move them around but I am not able to use those image in
> posts. I am using Mezzanine btw. I put up a post over at their user group:
> https://groups.google.com/forum/?fromgroups=#!topic/mezzanine-users/SMHtMX1YgBY
>
> On Sunday, December 9, 2012 3:50:45 PM UTC-8, Chris Cogdon wrote:
>>
>> If you're using ImageField, that by default verifies that what you've
>> uploaded is in fact an image. It uses PIL (python image library, aka
>> python-imaging) to do that. make sure you have PIL installed and it is
>> working.
>>
>> On Sunday, December 9, 2012 12:40:22 AM UTC-8, easypie wrote:
>>>
>>> I got it working by granting 775 permission for that fold and its
>>> sub-folder where the files had to be created and lacked enough privilege to
>>> do so. Now everything works! ...I just need to figure out why the uploads
>>> won't accept .jpg files =\
>>>
>>> On Saturday, December 8, 2012 11:18:25 PM UTC-8, easypie wrote:

 I encountered an error where whenever I go to upload a file, it tells
 me that a folder doesn't have enough permission. What kind of permission do
 we give these folders? I use Apache server. Do I change the whole project
 folder to group www-data? Then set chmod to 775 to the project folder and
 all files in the project recursively? Here is my traceback error log:
 http://dpaste.org/5KUMf/!

>>>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/Drz7gK3Zxz8J.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: IOError, Permission Denied using Amazon s3 w/ django-storage?

2012-12-09 Thread easypie
Yeah. It's uploaded and by using django-filebrowser I can upload image, 
create folder and move them around but I am not able to use those image in 
posts. I am using Mezzanine btw. I put up a post over at their user group: 
https://groups.google.com/forum/?fromgroups=#!topic/mezzanine-users/SMHtMX1YgBY

On Sunday, December 9, 2012 3:50:45 PM UTC-8, Chris Cogdon wrote:
>
> If you're using ImageField, that by default verifies that what you've 
> uploaded is in fact an image. It uses PIL (python image library, aka 
> python-imaging) to do that. make sure you have PIL installed and it is 
> working.
>
> On Sunday, December 9, 2012 12:40:22 AM UTC-8, easypie wrote:
>>
>> I got it working by granting 775 permission for that fold and its 
>> sub-folder where the files had to be created and lacked enough privilege to 
>> do so. Now everything works! ...I just need to figure out why the uploads 
>> won't accept .jpg files =\
>>
>> On Saturday, December 8, 2012 11:18:25 PM UTC-8, easypie wrote:
>>>
>>> I encountered an error where whenever I go to upload a file, it tells me 
>>> that a folder doesn't have enough permission. What kind of permission do we 
>>> give these folders? I use Apache server. Do I change the whole project 
>>> folder to group www-data? Then set chmod to 775 to the project folder and 
>>> all files in the project recursively? Here is my traceback error log: 
>>> http://dpaste.org/5KUMf/!
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/Drz7gK3Zxz8J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: IOError, Permission Denied using Amazon s3 w/ django-storage?

2012-12-09 Thread Chris Cogdon
If you're using ImageField, that by default verifies that what you've 
uploaded is in fact an image. It uses PIL (python image library, aka 
python-imaging) to do that. make sure you have PIL installed and it is 
working.

On Sunday, December 9, 2012 12:40:22 AM UTC-8, easypie wrote:
>
> I got it working by granting 775 permission for that fold and its 
> sub-folder where the files had to be created and lacked enough privilege to 
> do so. Now everything works! ...I just need to figure out why the uploads 
> won't accept .jpg files =\
>
> On Saturday, December 8, 2012 11:18:25 PM UTC-8, easypie wrote:
>>
>> I encountered an error where whenever I go to upload a file, it tells me 
>> that a folder doesn't have enough permission. What kind of permission do we 
>> give these folders? I use Apache server. Do I change the whole project 
>> folder to group www-data? Then set chmod to 775 to the project folder and 
>> all files in the project recursively? Here is my traceback error log: 
>> http://dpaste.org/5KUMf/!
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/sbjdG2q_mFIJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: IOError, Permission Denied using Amazon s3 w/ django-storage?

2012-12-09 Thread easypie
I got it working by granting 775 permission for that fold and its 
sub-folder where the files had to be created and lacked enough privilege to 
do so. Now everything works! ...I just need to figure out why the uploads 
won't accept .jpg files =\

On Saturday, December 8, 2012 11:18:25 PM UTC-8, easypie wrote:
>
> I encountered an error where whenever I go to upload a file, it tells me 
> that a folder doesn't have enough permission. What kind of permission do we 
> give these folders? I use Apache server. Do I change the whole project 
> folder to group www-data? Then set chmod to 775 to the project folder and 
> all files in the project recursively? Here is my traceback error log: 
> http://dpaste.org/5KUMf/!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/BF5Aj0d61awJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



IOError, Permission Denied using Amazon s3 w/ django-storage?

2012-12-08 Thread easypie
I encountered an error where whenever I go to upload a file, it tells me 
that a folder doesn't have enough permission. What kind of permission do we 
give these folders? I use Apache server. Do I change the whole project 
folder to group www-data? Then set chmod to 775 to the project folder and 
all files in the project recursively? Here is my traceback error log: 
http://dpaste.org/5KUMf/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/eQd9aDbaZxcJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.