Gary, Are you using namespaces and running your code in a non-default namespace? That was my problem (see the very end of my original post.) My revised code for 11/21 runs in the default namespace -- that's why it worked.
Ken On Dec 20, 2013, at 12:33 PM, Gary Mort wrote: > > > On Tuesday, November 19, 2013 3:57:09 PM UTC-5, [email protected] wrote: > I've encountered a problem using the Google Cloud Storage GCS Client API, > running on the local development server. I'm trying to write the bytes from > a PDF file, and then read them back. > > The code appears to write the (local fake)GCS file ok: (1) There appears to > be an appropriate entry in the Development Console, and (2) there's a > physical file in ~war/WEB-APP/appengine-generated (details below). However, > when I attempt to read the bytes from the GCS file, it throws a FileNotFound > exception when it attempts to get the metadata (filesize).\\ > > I have the same problem with 1.8.8 using PHP. > > I can go to http://localhost:8000 and see that there are a bunch of datastore > items being created from the PHP calls to save data to a file[and I can even > see that the filenames in datastore match the ones that should have been > created]. However, any subsequent attempts to stat those files results in a > file not found error[ie check the filesize, check to see if the file exists, > etc]. > > > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Google App Engine" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/google-appengine/TJ1d7wqZngo/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-appengine. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
