GAE/PHP standard/us にて利用しています
CloudStorageはasia region です
$upload_url = CloudStorageTools::createUploadUrl('/api/upload/upload',
$options);
にて生成したURLにmultipart/form-dataにて複数の画像とパラメーターをアップロードするような仕様です。
upload.php (アップロードリクエストを処理する)にて画像を受取、ブロブキーなどをDBに追加してレスポンスをjsonにて返却しています
処理自体は正常に終了し(response
upload image response returned status code 200 in code and log
but client recived 500 error
help me.
createuploadurl.php
$upload_url = CloudStorageTools::createUploadUrl('/api/upload/upload',
$options);
upload.php
header('Content-Type: application/json; charset=utf-8');
e
I am wondering if this issue is related to this:
"China Blocks News Websites In Protest Of Nobel Nominee"
http://www.itproportal.com/2010/12/9/china-blocks-news-websites-protest-nobel-nominee/
Satoshi
On Dec 8, 11:31 pm, zhang yu wrote:
> appspot.com被墙了 <http://www.douban
This is my response to one of issues pointed out by the original
article (DeadlineExceededError).
http://satoshi.blogs.com/uie/2010/12/handing-and-testing-deadlineexceedederror.html
Feel free to criticize (either here or at my blog). I am trying to
learn something as well.
Satoshi
On Nov 23, 1
), (2) clearly separate the model, view
and controller, (3) use the exact same protocol among multiple
clients.
Satoshi
On Nov 24, 10:25 pm, James Broberg wrote:
> GAE is fantastically suited for REST. I use GAE Java + Restlets + Freemarker
> myself.
>
> On 25 November 2010 08:41,
Chris,
I really appreciate the information, but I would like to hear from
Google about this bug.
Q1. Are you going to fix this bug in near future?
Q2. Do you have any suggested way to work-around this bug, which won't
cause compatibility issue in future when you fix this bug?
Satoshi
On N
I also wrote an upload code in Objective-C, explicitly specifying the
"Content-Type: text/plain; charset=UTF-8",
but got the same result as HTML form sample above.
"日本語" becomes "5pel5pys6Kqe"
Satoshi
On Nov 13, 7:01 am, Satoshi wrote:
> I wrote a test code,
I wrote a test code, and verified this bug (it happens in Japanese as
well).
Here is the form:
File:
Description
Satoshi
On Nov 12, 11:52 am, "Ikai Lan (Google)"
wrote:
> Do you guys have any sample code? I'
I was having the same problem (error 500 when deploying my app) this
morning (between 9am and 10am Pacific time), but it is working now
(10:20am Pacific time).
Satoshi
On Nov 6, 9:20 am, Chris Copeland wrote:
> +1
>
> Can't deploy. Can't access console. Maintenance isn
b - I think the
software engineering is the only job in the world where just an extra
space causes such a pain!
Satoshi
On Nov 3, 5:03 pm, Satoshi wrote:
> I am wring an iPhone app that uploads an image to a blob via HTTP-
> POST. Everything has been working great so far.
>
> Recently, I
I am wring an iPhone app that uploads an image to a blob via HTTP-
POST. Everything has been working great so far.
Recently, I decided to send a parameter "uuid" along with the image.
My python code on the server side (subclass of
blobstore_handlers.BlobstoreUploadHandler) receives this uuid (alon
can see the "Billing Status",
I see my name as the "Billing Administrator",
I see the "Current Balance" and "Resource Allocations:",
but there is no UI that allows me to pay more.
Where do I have to go to re-configure my billing settings?
Regards,
Sat
I've got the same warnings several time today too. The peak access
rate was only 3.00 requests/sec, and the CPU time usage over the last
24 hours is 6% (1.08 CPU hours) out of 18.50 CPU hours (I am a paying
customer).
Satoshi
On Mar 1, 6:51 pm, David wrote:
> I am losing sleep over this
You need to explicitly specify the expiration date in app.yaml like
this:
- url: /images
static_dir: images
expiration: 10d
If you are already using firebug, I strongly recommend YSlow (a
firebug extension), which will tell you which files are missing expire
headers.
Satoshi
On Feb 18, 4
but those extra
indexes never disappear from the server.
Here are my questions:
Q1. Is there any extra cost in 'put' operations because of those those
extra indexes?
Q2. Is there any way to remove those extra indexes?
Satoshi
--
You received this message because you are subscribed to t
ry,
and use the accessor (in my case get_user) to get the actual object.
Satoshi
On Feb 1, 3:40 am, k3xji wrote:
> Hi all,
>
> I am thinking of away to imlement a generic way for my frequently
> readed data models. The access pattern for these models is that they
> will be retrieved ver
).
Generally speaking, you should use memcache to return a "snapshot" of
data to the client. If you need transactions, go directly to the
datastore.
Satoshi
On Feb 1, 6:35 am, masterzim wrote:
> In official documentation I didn't find nothing about memcache
> transaction. What h
reset the timer, I will simply call memcache.get
each time the user accesses the site, and do nothing if it succeeds
(and call memcache.set if it fails).
If it does not, I need to call memcache.set whenever the user access
the site (to explicitly reset the timer).
I'd appreciate your help.
S
> 2. Use the flash to retrieve the data from datastore. If the request
> failed, retrieve it again.
This can be done using HTML+JavaScript as well. Here is the piece of
code from my app (notice that it uses jQuery), which performs HTTP-GET
(which could be HTML, JSON or anything) and retry up to th
2. Making too many put() calls in one HTTP request is not a good idea.
I'd suggest to perform non critical operations (such as incrementing
reference count) asynchronously using Task Queue.
Satoshi
On Jan 6, 4:15 pm, Daniel Aguilar wrote:
> Hi Satoshi,
>
> thanks for your reply,
roperty, but this is difficult to do it
right without putting them in an entity group (which is alternative
two)...
Satoshi
On Jan 5, 9:52 am, Daniel A wrote:
> Hi there,
>
> I just started writting my first app after reading some documentation
> and tutorials.
> Looks like an e
ofile?uid={user_id}"
(which can be cached in memcache), you want to make it sure that only
friends can access that profile.
Satoshi
On Jan 5, 1:21 pm, dburns wrote:
> My app may display a lot of different output for a given page
> (customized per user amongst other things), and I'm wo
I am implementing a mechanism to guarantee the uniqueness of property
value (account name of User entity). I am using Model.get_or_insert
mechanism in this process, but the following description in the
document makes me wonder if it is really thread-safe.
| In other words, get_or_insert() is eq
23 matches
Mail list logo