I'm running SDK version 1.8.8 and r127 of the GCS client...
I have a folder called /localGCS in my Home directory... my app is also in my Home directory. From my app's directory, I call dev_appserver.py with the following:
$ dev_appserver.py app.yaml loadandprocess.yaml downloader.yaml --storage_path=../localGCS
And my localGCS folder was populated by:
~/localGCS$ ls
datastore.db search_indexes
[mybucketfolder] logs.db xsrf
Where the file I'm trying to get is inside [mybucketfolder]. However, I'm still getting an error:
NotFoundError: Expect status [200] from Google Storage. But got status 404.
Any ideas? Thanks...
From your description
.../localGCS in my Home directory... my app is also in my Home directory...
I see that your home directory and your app's directory are the same. I also see that /localGCS
in inside home directory. If that is the case, you should use
--storage_path=./localGCS/[mybucketfolder]
.
--storage_path is described here .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.