Re: [google-appengine] Help getting app engine for python to accept images I post from my app

87 views
Skip to first unread message

Andreas

unread,
Jun 11, 2012, 1:21:47 PM6/11/12
to google-a...@googlegroups.com
how does your code look like? 
what did you try, what not?

On Jun 8, 2012, at 3:10 PM, kc ochibili wrote:

Does anyone know how i could make google app engine for python to accept images i post from my app, I already have Pil which is an add on to google app engine to accept images  but when i test it on my app, I get the error message "that the image could not be posted to the Url i provided (MyApp.appspot.com).
If you know, how do I get my server to accept images ?

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/IxYXhoV-9ywJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

kc ochibili

unread,
Jun 18, 2012, 10:02:58 AM6/18/12
to google-a...@googlegroups.com
I have a bucket with the acl set to Allusers and Full acces, so that users can post  and retrieve images from  the bucket. 
      
   . I have tried using this url (http://commondatastorage.googleapis.com/bucket/+Image.png) to post images from my app; but i get the "error 1104, the image can                        not be posted with the url provided. here is my alc for the bucket:

<?xml version="1.0" ?>
<AccessControlList>
    <Owner>
        <ID>
            00b50024a97592382732e7e69afac5fcba343397379237323e5ebd216831a418023820874872
        </ID>
    </Owner>
    <Entries>
        <Entry>
            <Scope type="AllUsers"/>
            <Permission>
                FULL_CONTROL
            </Permission>
        </Entry>
        <Entry>
            <Scope type="GroupById">
                <ID>
                    00b4903a2853501162e8e89afac5fcba14239486e5ebd216831a419323059585
                </ID>
            </Scope>
            <Permission>
                FULL_CONTROL
            </Permission>
        </Entry>
    </Entries>
</AccessControlList>


On Monday, June 11, 2012 12:21:47 PM UTC-5, aschmid wrote:
how does your code look like? 
what did you try, what not?
On Jun 8, 2012, at 3:10 PM, kc ochibili wrote:

Does anyone know how i could make google app engine for python to accept images i post from my app, I already have Pil which is an add on to google app engine to accept images  but when i test it on my app, I get the error message "that the image could not be posted to the Url i provided (MyApp.appspot.com).
If you know, how do I get my server to accept images ?

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/IxYXhoV-9ywJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to google-appengine+unsubscribe@googlegroups.com.

googlefox

unread,
Jun 27, 2012, 6:05:58 PM6/27/12
to google-a...@googlegroups.com
Try removing the '+' ?

kc ochibili

unread,
Jun 27, 2012, 7:09:11 PM6/27/12
to google-a...@googlegroups.com
I just tried this url  (http://commondatastorage.googleapis.com/bucket/  without the plus d, but i'm still getting the error, does any body know why this is happening ? or am i using the wrong "Post url" ? somebody please help :(

To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/APDWtUBOjj0J.

To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.

Stuart Langley

unread,
Jun 27, 2012, 8:37:36 PM6/27/12
to google-a...@googlegroups.com

kc ochibili

unread,
Jun 27, 2012, 11:13:15 PM6/27/12
to google-a...@googlegroups.com
yes i have read it , the bucket i'm trying to post to. the ACL is set to "ALLusers" and "Full Access.....
Any suggestions on what i am doing wrong? or can i send you the bucket name to see if you could post to it ?

Stuart Langley

unread,
Jun 28, 2012, 12:25:56 AM6/28/12
to google-a...@googlegroups.com
have you tried to use curl to post a file to your bucket?

the other thing you can do is use gsutil -d to copy a file to your bucket and look at the headers, and make sure you're doing something similar. 

kc ochibili

unread,
Jun 28, 2012, 2:01:56 AM6/28/12
to google-a...@googlegroups.com
I am trying to post images from my app that is in development, my goal is to post anonymously to  the bucket

To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/rsrm5H76Qy8J.

To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.

Stuart Langley

unread,
Jun 28, 2012, 3:31:48 AM6/28/12
to google-a...@googlegroups.com
I understand that

kc ochibili

unread,
Jun 29, 2012, 4:39:20 PM6/29/12
to google-a...@googlegroups.com
I tried and tried but kept bumping into errors with cmd i was following these instructions and this but was not successful
pls help me slangley

To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/vgomWyAU1E0J.

To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.

Stuart Langley

unread,
Jun 29, 2012, 7:11:00 PM6/29/12
to google-a...@googlegroups.com
Hard to help unless you explain the errors that you see when you try to use the service.

kc ochibili

unread,
Jun 29, 2012, 7:52:37 PM6/29/12
to google-a...@googlegroups.com
I know this is hard but do you mind helping me out using chrome remote desktop ?

To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/wZG8W7Xo2rMJ.

To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages