FYI: To fix this I had to add a time.sleep(1) before setting my
blobreference property = to blob_key =
files.blobstore.get_blob_key(file_name) ...
maybe it takes a few hundred milliseconds for this to be available? or
some type of consistency issue when setting the reference property?

On Mar 30, 7:38 pm, JH <[email protected]> wrote:
> Been looking forward to files api for a while!
>
> I have been playing with it and it seems there is an issue, I can't
> figure out if it's me or the files api...
>
> I kick off tasks which use the api to write about 300 files.  It seems
> about 10% of them fail, or when I run:
> blob_key = files.blobstore.get_blob_key(file_name)
>
> it returns <null>, as I write the blob_key to a blobstore reference in
> a db entity, and about 10% of them always come up with <null> as their
> reference.  Not the same ones either, seems to be random which ones
> fail... however no errors are thrown...
>
> I am using python.
>
> On Mar 30, 6:19 pm, "Greg Darke (Google)" <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > On 31 March 2011 09:21, Robert Kluin <[email protected]> wrote:
>
> > > Cool; quite a few bug fixes.
>
> > > To specify a version for a task queue, do you use set a 'target' in 
> > > queue.yaml?
>
> > Yes, that is correct.
>
> > You also use the same parameter for cron tasks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to