[google-appengine] Re: 503 errors uploading to GCS via blobstore API

2015-07-09 Thread Joseph Letness
Hi Jeff, Does your app-id have permission to write to the bucket? I ran into this issue just a few days ago and I needed to explicitly give my app write access to the api by adding the app's service account (your-app...@appspot.gserviceaccount.com) in the Permissions tab. That did the trick, n

[google-appengine] Re: Getting Access-Control-Allow-Origin header for images stored in Appengine Blobstore for use in canvas tag.

2012-02-26 Thread Joseph Letness
Hi Vinuth, I think the only way to do this right now would be to forgo the getServingUrl method from the Blobstore Images API and generate a private url of the image within your app. Much in the same way that you would serve a non-image blobstore entity such as a .zip or some other binary. Howev

[google-appengine] Re: images.GetUrlBase deadline problems since yesterday morning

2012-02-19 Thread Joseph Letness
Hi Stuart, the pattern that I use involves calling get_serving_url once, without size or crop arguments, and then storing the result as a string in the entity that references the blob_info. Thanks for any help getting this resolved. On Feb 18, 3:19 am, Stuart Langley wrote: > Does you app typica

[google-appengine] Re: django_setup

2012-02-16 Thread Joseph Letness
If your using Django-Nonrel, you can use it "right out of the box" without any special configuration. It uses it's own supplied version of Django that resides in your app's codebase and ignores GAE's built- in version so you can ignore any references to "django_setup". --Joe On Feb 16, 7:26 am,

[google-appengine] Re: images.GetUrlBase deadline problems since yesterday morning

2012-02-14 Thread Joseph Letness
Hi Amy, I'm running 1.6.2 and I've tried with both a 4k PNG and a 500k JPEG and both hit the deadline exceeded error after 5 sec. Earlier in this thread, Stuart Langley stated that the deadline for images.GetUrlBase() had been increased to 15 sec but that does not seem to be the case. Also, I'm e

[google-appengine] Re: Migration to HRD datastore, do I get to transfer my $50 in billing credits?

2012-01-08 Thread Joseph Letness
Hi Marzia, could you please transfer the remaining credit for my recently migrated app as well? ideation3d to ideation3d-hrd Thank you very much! On Jan 8, 3:58 am, Aurelian wrote: > Hi Marzia, > I have the same problem, could you transfer the credit from app > 'riparautonline' to app 'riparaut

[google-appengine] Re: Do images served with get_serving_url() affect my bandwidth quota?

2011-12-28 Thread Joseph Letness
Thanks Barry, I had assumed it was included but it was hard to be sure. When I examined my billing history, the outgoing bandwidth on a particular app that uses the high performance image urls seemed to be lower than expected. Perhaps there is some edge caching going on (or, most probably, I'm ju

[google-appengine] Do images served with get_serving_url() affect my bandwidth quota?

2011-12-28 Thread Joseph Letness
Hi everybody, I'm hoping someone might know what the billing policy is concerning image requests served directly from the High Performance Image Service API (Picasa). I've been searching the docs for this but I can't seem to come up with a definitive answer. My GAE app generates a url with get_se

[google-appengine] Re: Blobstore Downloads using IE seeing errors connecting to appspot

2011-12-22 Thread Joseph Letness
Hi Will, your probably sending your blobs without a properly formatted header response. I had this same problem when I was testing content types and I inadvertently left the content_type header undeclared. Every other browser worked fine but IE was broken (apparently IE is the only browser that ca

[google-appengine] Re: SWFUpload with Python in App Engine

2011-12-19 Thread Joseph Letness
Hi Nick, I implemented a progress indicator using html5 a few months ago. If I remember correctly, the main issue I had with using the blobstore was getting my ajax request headers correct. Take a look at this blog post by Nick Johnson where he uses Plupload (which uses SWF) as his client for for

[google-appengine] Re: "500 Server Error" for over 24 hours: python 2.5, django, appenginepatch

2011-12-08 Thread Joseph Letness
Hi John, I'm experiencing the same with my appenginepatch app on M/S, a marked increase in DeadlineExceeded errors. It's usable but the user experience has got to be pretty sucky. I have a similar app (python 2.5, appenginpath) running on HDR and it is solid. --Joe -- You received this message

[google-appengine] Re: Filter query by key name

2011-08-30 Thread Joseph Letness
Hi, the model class already has a built in function for retrieving an entity by key name: my_entity = MyModel.get_by_key_name(key_name) Also, key names are unique within a data model. Your example shows an iteration over multiple entities which will never happen if you are querying on a key name.

[google-appengine] Re: SDK Upgrade 1.5.2: --datastore_path ignored?

2011-07-23 Thread Joseph Letness
That did the trick, Cat. Thanks! On Jul 23, 2:46 am, Cat wrote: > > SOLUTION > > > 1. USE --default_partition= BUT DO NOT INCLUDE THE QUOTES as mentioned > in Matthew's post. > 2. IGNORE THE INCORRECT LOG MESSAGE ... rdbms_sqlite.py:58] Connecting > to SQLite da

[google-appengine] Re: SDK Upgrade 1.5.2: --datastore_path ignored?

2011-07-22 Thread Joseph Letness
I tried the --default_partition="" flag but now validation.py is throwing an exception: Traceback (most recent call last): File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver.

[google-appengine] Re: Solutions to an Exploding Index Problem

2011-03-12 Thread Joseph Letness
Hi Aaron, there are a number of ways of getting around the "exploding- index" problem. It's hard to offer a good solution without knowing what the end-result is that you are trying to accomplish. If your sort order is immutable and can be determined when your entities are created, the best soluti

[google-appengine] Re: AppEngine seems slow to me. Is it normal?

2011-02-23 Thread Joseph Letness
You could try this: http://code.google.com/p/he3-appengine-lib/wiki/PagedQuery It's a complete module that uses cursors for a paging abstraction similar to Django's built-in pagination and just as easy to implement and you can jump to any page in your result set. On Feb 23, 3:59 am, tobik wrote

[google-appengine] Re: LIFO key name strategy?

2011-02-16 Thread Joseph Letness
tems. On Feb 15, 5:54 pm, "Nick Johnson (Google)" wrote: > Why not just use regular timestamps, and sort descending? > > -Nick > > On Wed, Feb 16, 2011 at 1:42 AM, Joseph Letness wrote: > > > > > > > Julian, that is _exactlty_ what I was looking for.  Co

[google-appengine] Re: LIFO key name strategy?

2011-02-15 Thread Joseph Letness
lly > concerned by uniqueness. > > On Feb 14, 5:57 am, Joseph Letness wrote: > > > > > Hi Calvin and Robert, thanks for your replies.  I should have been > > more clear about what I am doing, here is some more info: > > > Calvin, thanks for the link to Ikai's bl

[google-appengine] Re: LIFO key name strategy?

2011-02-13 Thread Joseph Letness
ed ids are not strictly increasing.  What would be > fine if you could handle your entire result set in one request? > >   Using the current time may also be problematic since the machines > will have slight variations, and in some cases significant variations. > > Rober

[google-appengine] LIFO key name strategy?

2011-02-12 Thread Joseph Letness
Hi everybody, I was wondering if anybody has any good ideas for generating LIFO (Last In FIrst Out) key names. I can't use a composite index since it would explode with my use case. Currently, I can think of two methods: Use the auto generated id (which, I believe is accumulative), query for key

[google-appengine] Re: Two equality filters on the same property + others equalities failing

2010-11-24 Thread Joseph Letness
s_only=True" in your query. Then you need to loop through the results, eliminate the duplicates and store the keys in a list. At that point simply do a batch get of the keylist: final_results = db.get(list_of_keys) Sorry about the previous post. On Nov 24, 10:27 am, Joseph Letness wrot

[google-appengine] Re: Two equality filters on the same property + others equalities failing

2010-11-24 Thread Joseph Letness
It just occurred to me that my previous post is incorrect. I should probably wait until I've had more coffee in the morning before offering lame advice ;-) In my example, the equality is still failing for either 'a" or 'ab' which will prevent getting a result. On

[google-appengine] Re: Two equality filters on the same property + others equalities failing

2010-11-24 Thread Joseph Letness
If 'a' is not a ListProperty you will never get a matching result for "a=x AND a=y". What is sounds like is that you want something like this "b=z AND c=t AND(a=x OR a=y)". Unfortunately, AFAIK, this will not work with current implementation of the datastore due to the query generating an explodin

[google-appengine] Re: How import datas to BigTable from my local mysql ?

2010-11-17 Thread Joseph Letness
When you use the development server from the SKD, it stores your local datastore in a temp file that will get flushed when you restart your system (at least on OSX it does). Add this flag "--datastore_path=/ path_to_your_datastore.datastore" when you launch your development server to create a pers

[google-appengine] Re: How to share data stored in Datastore service to my other applications.

2010-10-07 Thread Joseph Letness
Hi Ikai, I've had a similar need come up as well. My case is this: I supply 3d images of consumer-package-goods to my clients who use them in their marketing materials. I've developed a GAE app that handles all of the production flow on my end as well as providing my clients with deliverables vi

[google-appengine] Re: bolbstore and content type via swfupload

2010-10-01 Thread Joseph Letness
I would hope that a the blobstore would get it's own method of progress status. Something like using AJAX at timed intervals during the upload to hit the upload url (probably appended with a GET parameter?) and get back how many bytes have been transferred. Right now I just throw up an html mark

[google-appengine] SEO and High Performance Image API get_serving_url(). Use a GET parameter?

2010-09-17 Thread Joseph Letness
I'm no SEO expert but I've always considered it Best Practice to use semantically meaningful URLs for the both "src" and "alt" attributes in my HTML. However, using get_serving_url() takes away any SEO relevance in the "src" attribute. But after testing performance with get_serving_url(), I think

[google-appengine] Re: short-term quota limit on Total Stored Data

2010-09-16 Thread Joseph Letness
Hi Chris, I've noticed a similar problem with an erroneous amount of Total Stored Data reflected in the Quota Details. I have about 2 or 3Gb of data in the Blobstore, yet Total Stored Data shows that I have 20Gb (which is still under quota for my billing settings). I first noticed this discrepanc

[google-appengine] Re: Unable to add a developer to my app

2010-09-15 Thread Joseph Letness
I'm having the same trouble with trying to send mail from my app as well. Every time I try to invite a developer (another email address in my Google Apps domain) it just defaults to my original email address for that domain. Does anybody have any ideas on how to solve this? Thanks! On Sep 14, 3

[google-appengine] Re: High-Performance Image Serving Cache-Control

2010-09-15 Thread Joseph Letness
image server has a 1 day cache > expiration. > > On Sep 14, 4:25 pm, Joseph Letness wrote: > > > > > Hi everybody,  I would like to allow browser caching of images served > > from get_serving_url().  I've had success using get_serving_url() for > > generating

[google-appengine] High-Performance Image Serving Cache-Control

2010-09-14 Thread Joseph Letness
Hi everybody, I would like to allow browser caching of images served from get_serving_url(). I've had success using get_serving_url() for generating images and thumbnails but the Cache-Control is set to "no- cache" and the expiration dates are in the past (I've only implemented this functionality

[google-appengine] Re: Odd behaviour with referenceproperty and collections :\

2010-09-03 Thread Joseph Letness
Are you saying that it works on your development server but fails on your production app, or that your local app begins to fail after you update? If the former, it might be an indexing problem that is not is not being explicitly identified by the error message. I've encountered a similar problem

[google-appengine] Re: Can't include javascript file....need help

2010-09-01 Thread Joseph Letness
I think the problem might be that you need a leading slash in your href (I don't think that a relative url works in the context of static media) instead of "static/abc.css", try "/static/abc.css" On Sep 1, 11:08 am, salehin wrote: > Hi! > > I am new in appengine development. > > Having problem t

[google-appengine] Re: App Engine Serious Trouble Started 10 minutes ago

2010-05-20 Thread Joseph Letness
Something is going on, my apps are all working correctly but I can't deploy or log in to my dashboard. It's been this way for the last 20-30 mins or so. I guess it's time to pack it in for the day... -- You received this message because you are subscribed to the Google Groups "Google App Engin