[google-appengine] Problem with POST data when using blobstore upload
I have a form with a several fields including one file field. When using regular form submit I get all the data on the server (I'm using django - request.POST has the data) When I submit through the blobstore handler when it redirects to my code the request.POST dictionary is empty. Any idea what Im doing wrong? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Problem with POST data when using blobstore upload
Thanks! I should really make the switch from appenginepatch to django-nonrel. Have to say its kinda scary switching a framework like that... :\ On Jun 30, 10:44 pm, Waldemar Kornewald wrote: > On Jun 30, 4:05 pm, ekampf wrote: > > > I have a form with a several fields including one file field. > > When using regular form submit I get all the data on the server (I'm > > using django - request.POST has the data) > > When I submit through theblobstorehandler when it redirects to my > > code the request.POST dictionary is empty. > > > Any idea what Im doing wrong? > > Are you using Django-nonrel or still app-engine-patch? With Django- > nonrel you can use > django-filetransfers:http://www.allbuttonspressed.com/blog/django/2010/06/Uploads-to-Blobs... > > If you use app-engine-patch you'll need some more work: > > * dev_appserver'sblobstoreupload handler generates invalid line > endings in the HTTP request. Apply this > fix:http://code.google.com/p/googleappengine/issues/detail?id=3328 > > * patch Django like > this:http://bitbucket.org/wkornewald/django-nonrel/changeset/2ac5a9ffec83 > > * try to use/adapt BlobstoreFileUploadHandler and > BlobstoreUploadedFile from > djangoappengine:http://bitbucket.org/wkornewald/djangoappengine/src/tip/storage.py > > Then, you'll be able to access uploaded files via request.FILES[' field>'] as BlobstoreUploadedFile instances. These have a > blobstore_info attribute which contains a BlobInfo for the uploaded > file. > > Bye, > Waldemar Kornewald > > -- > Django on App Engine, MongoDB, ...? Browser-side Python? It's open- > source:http://www.allbuttonspressed.com/ -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: HTTPS is working while regular HTTP is not
Hi Gil, If your ISP is Bezeqint, they're currently blocking all appspot.com access for some unknown reason... Regards, Eran On Jul 3, 3:34 pm, gil wrote: > Hi, > > I have created a very simple application (hello world), > if i will access it viahttps://gmhellotest.appspot.com/it will work > but usinghttp://gmhellotest.appspot.com/I am getting not found. > > am I missing something? > > gil -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Blobstore upload handler is Base64 encoding strings?
I have a form with a file input and a text input field. When users type Hebrew text I get a Base64 encoded string on the server. When typing English I get a non Base64 string. On the development server I get a regular Unicode string (what I'd expect) Cant find any mentions of this in the docs. What the behavior I should expect on production? Is this a bug? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Prerelease SDK 1.3.6 is out!
Release notes dont really help us test these new features or prepare for the official release... - Automatic image thumbnailing is now available in the Images API using get_url_base(). Whats get_url_base() ? Cant find any mention of it in the code... Do you mean get_serving_url(blob_key, size=None, crop=False) ? - Users can now serve custom static error pages for over_quota, dos_api_denial and default cases. How? - Multitenancy is now supported in the datastore, allowing better compartmentalization of user data. What does this mean for us app devs? On Aug 3, 2:40 am, "Ikai L (Google)" wrote: > Hey everybody, > > Just wanted to let everyone know that the prerelease SDK for 1.3.6 is out. > If you're interested in downloading the SDKs, you can find them here: > > http://code.google.com/p/googleappengine/downloads/list > > Not all features that work locally in the new version are guaranteed to work > in a deployed application, as these may depend on us pushing new versions of > backend services. We welcome your feedback, as it helps us greatly in > finding issues with the release as early as possible. > > Release notes are below: > > Python > = > - Multitenancy is now supported in the datastore, allowing better > compartmentalization of user data. > - Automatic image thumbnailing is now available in the Images API using > get_url_base(). > - Users can now serve custom static error pages for over_quota, > dos_api_denial > and default cases. > - Results of datastore count() queries and offsets for all datastore > queries > are no longer capped at 1000. > - Added a pause queue button to the task queue details page in the Admin > Console. > - Historical graphs have been added to all of the dashboard graphs in the > Admin > Console. > - Content-range headers are supported on Blobstore downloads. > - Remote API now supports the Blobstore API. > - New method to allocate datastore ids in a given range: > db.allocate_id_range(). > - New db method is_in_transaction() determines if a transaction is still > open. > - Increased several rate limited quotas for free applications. > - Fixed an issue in db.py where unindexed property lists for user-specified > property names were ignored. > - Fixed an issue where the task queue uses local time instead of UTC time > to > compute job ETA. > http://code.google.com/p/googleappengine/issues/detail?id=2508 > - Fixed an issue in the SDK with datastore cursors being too large. > http://code.google.com/p/googleappengine/issues/detail?id=3152 > > Java > = > - Multitenancy is now supported in the datastore, allowing better > compartmentalization of user data. > - Automatic image thumbnailing is now available in the Images API using > GetUrlBase. > - Users can now serve custom static error pages for over_quota, > dos_api_denial > and default cases. > - Results of datastore count() queries and offsets for all datastore > queries > are no longer capped at 1000. > - Added a pause queue button to the task queue details page in the Admin > Console. > - Historical graphs have been added to all of the dashboard graphs in the > Admin > Console. > - Content-range headers are supported on Blobstore downloads. > - New method to allocate datastore ids in a given range: allocateIdRange() > - The app.yaml format is supported with Java applications. > - Increased several rate limited quotas for free applications. > - Fixed an issue that did not allow forms of over 200,000 bytes to be > submitted. > http://code.google.com/p/googleappengine/issues/detail?id=1608 > > Happy building! > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > Blog:http://googleappengine.blogspot.com > Twitter:http://twitter.com/app_engine > Reddit:http://www.reddit.com/r/appengine -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Blobstore upload handler is Base64 encoding strings?
This happens when text fields are sent via POST and go through the Blobstore upload handler. When English text is used I get the text. When Hebrew is used I get a base64 string... I'm not looking at the datastore dashboard. I'm looking at the actual POST data (via logging) On Aug 3, 10:18 am, alon wrote: > Does that happen everytime on the blobstore only api? or regular text - > > > datastore? > > One more thing, there is a huge difference on how the text is being > displayed on the datastore dashboard. are you sure its being saved as > base64? the page encoding for the production datastore browser is > massed up and cant display hebrew correctly in oppose to the local dev > version which has utf8 encoding display. > > On Jul 23, 2:09 pm, ekampf wrote: > > > > > I have a form with a file input and a text input field. > > When users type Hebrew text I get a Base64 encoded string on the > > server. When typing English I get a non Base64 string. > > On the development server I get a regular Unicode string (what I'd > > expect) > > > Cant find any mentions of this in the docs. > > What the behavior I should expect on production? Is this a bug? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Blobstore upload handler is Base64 encoding strings?
yep.. It doesnt happend on the local dev server... its definately something undocumented happening on AppEngine On Aug 3, 10:54 am, alon wrote: > it outputs as a base64 string? im guessing the post is multi-part post > right? > > On Aug 3, 10:39 am, ekampf wrote: > > > > > This happens when text fields are sent via POST and go through the > > Blobstore upload handler. > > When English text is used I get the text. > > When Hebrew is used I get a base64 string... > > > I'm not looking at the datastore dashboard. I'm looking at the actual > > POST data (via logging) > > > On Aug 3, 10:18 am, alon wrote: > > > > Does that happen everytime on the blobstore only api? or regular text - > > > > > datastore? > > > > One more thing, there is a huge difference on how the text is being > > > displayed on the datastore dashboard. are you sure its being saved as > > > base64? the page encoding for the production datastore browser is > > > massed up and cant display hebrew correctly in oppose to the local dev > > > version which has utf8 encoding display. > > > > On Jul 23, 2:09 pm, ekampf wrote: > > > > > I have a form with a file input and a text input field. > > > > When users type Hebrew text I get a Base64 encoded string on the > > > > server. When typing English I get a non Base64 string. > > > > On the development server I get a regular Unicode string (what I'd > > > > expect) > > > > > Cant find any mentions of this in the docs. > > > > What the behavior I should expect on production? Is this a bug? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] The phone number has been sent too many messages or has already been used to confirm an account.
I'm trying to create a new AppEngine project and I get the message above when entering my phone#. I already have one working project (and billable) so my account should already be verified (and obviously I still have the same phone#) What should I do? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] I can't figure out the logging interface
I'm having some trouble figuring out the logging admin interface - When looking at logs for requests, sometimes I get just the ERROR logs and sometimes I can see the INFO lines too. Why? Can I always see the complete request log? - Is there a way to download the entire logs (not just the request logs, the INFO, WARNING texts too) ? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Remote API Login Problem - Keep getting an HTTP Error 302: Found
I'm suddenly unable to login and make calls to the remote api. This has worked well in the past using my gmail account... Is anyone experiencing this problem? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Remote API Login Problem - Keep getting an HTTP Error 302: Found
Problem was that I was accessing it not through .appspot.com but through my own domain which I recently switched to CloudFlare CDN... On Oct 7, 9:13 pm, ekampf wrote: > I'm suddenly unable to login and make calls to the remote api. > This has worked well in the past using my gmail account... > > Is anyone experiencing this problem? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Random Deadline Exceeded exceptions
Happens to me too... Even worse is that it's thrown during django's loading... doesn't even reach my code... On Jan 8, 8:32 am, Arun Shanker Prasad wrote: > Hi, > > Starting yesterday, I am getting random Deadline Exceeded exceptions > in my application. This creeps at random intervals and I was not able > to trace a single cause for this. The operations that took very small > time to complete until a couple of days ago seems to be exceeding the > deadline.. > > Please any help would be greatly appreciated. > > Thanks & Regards, > Arun Shanker Prasad. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Directly Putting Data in AppEngin e’s Blobstore
I have a method which is basically an API where a caller uploads an image and some metadata properties. The method needs to verify the user's credentials and then process the image and create several thumbnail sizes of the image and save them all to the blobstore. What I'm trying to do is get the url from blobstore.create_upload_url and then issue a POST call to that url myself with my images. I've been running into a lot of problems creating the creating the multipart/form-data request and making this work.. Has anyone used this approach with the blobstore API? Can anyone provide a sample that performs this call? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.