[google-appengine] Re: urlfetch.fetch() does not respect deadline/timeout param

2014-03-09 Thread Haisheng HU
Thanks Vinny, my fault.

Sometimes the server just responded HTTP 500 after exactly 10 seconds. I 
was misled by this.


On Friday, March 7, 2014 5:10:09 PM UTC+8, Haisheng HU wrote:
>
> What I've tried out includes:
> 1)
> req = urllib2.Request(url, data)
> try:
> f = urllib2.urlopen(req, timeout=60)
> 2)
> urlfetch.set_default_fetch_deadline(60)
> 3)
> r = urlfetch.fetch(url, payload=data, method='POST', deadline=60)
>
> None of these worked. I always get a timeout exception after 10 seconds.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] urlfetch.fetch() does not respect deadline/timeout param

2014-03-07 Thread Haisheng HU
What I've tried out includes:
1)
req = urllib2.Request(url, data)
try:
f = urllib2.urlopen(req, timeout=60)
2)
urlfetch.set_default_fetch_deadline(60)
3)
r = urlfetch.fetch(url, payload=data, method='POST', deadline=60)

None of these worked. I always get a timeout exception after 10 seconds.

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: mail.Send() complains I need more quota even though I don't

2011-02-24 Thread Haisheng HU
very agree with this idea!

can you guys increase recipients quota per minute to 20,
increase message body size quota per minute to 1MB, and
keep daily quota unchanged?

or i must introduce "task queues" into my app soon.

~hanson

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



[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-08-03 Thread Haisheng HU

Thank you Holger!


Holger wrote:
> Hi Haisheng Hu
>
> maybe you work on open source code and don't fear anything being
> stolen.
>
> Partial* download capability can be implement easy into Google
> appengine.
>
> Just add the zipme script to your code:
> http://www.manatlan.com/blog/zipme___download_sources_of_your_gae_website__as_a_zip_file
>
> It's a great tool. How often did I forget which part of my code is
> just uploaded. With the script now I simply add  'zipme' to the URL +
> log in with my admin email and get a quick answer.
>
> Bye,
> Holger
>
> ___
> * Static files aren't downloaded with the above version. But hopefully
> a future version will get them too.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-29 Thread Haisheng HU

In my case I just lost the source code of a project, although it is
not a big one. (So I didn't get it into SVN or something like that.)
It would be great to be able to download the source code from app
engine. Gasp!

Haisheng from Beijing


On Jul 23, 5:02 pm, "Nick Johnson (Google)" 
wrote:
> Hi Jungang,
>
> Using a version control system such as SVN or Git is your best bet. App
> Engine is not intended to be used as version control.
>
> -Nick Johnson
>
>
>
>
>
> On Wed, Jul 22, 2009 at 11:46 PM, Juguang XIAO  wrote:
> > This is not a usual case, but people at times may still need it.
>
> > I have two machines, one in office and one at home, working on the same GAE
> > project. My usual practice to synchronize these 2 environments is to copy
> > the files over my USB drive. As you can see this is very traditional way.  I
> > once came across the idea to use a SVN server to sync, but now I think it
> > may be the best that GAE provides such features for us. When we do
> > `appcfy.py update`, it is really a update or check-in. Why not just add
> > check-out ?
>
> > My 2 cents
>
> > Juguang
>
> > --
> > =
> > Juguang XIAO
> > Beijing, China
>
> --
> Nick Johnson, App Engine Developer Programs Engineer
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> 368047
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Can't Verify My Account by SMS

2008-09-23 Thread Haisheng HU

The FAQ does not solve our problem. Mine is China Mobile.


On Sep 24, 3:20 am, UltraDaniel <[EMAIL PROTECTED]> wrote:
> I've opened a new issue about this. Please go there and star it :D
>
> http://code.google.com/p/googleappengine/issues/detail?id=729
>
> On Sep 23, 3:07 pm, UltraDaniel <[EMAIL PROTECTED]> wrote:
>
> > Hi, I'm having the same problem. My number is +569 8137. Operator:
> > Entel PCS.
>
> > Pleasefix
>
> > On Aug 28, 5:20 pm, Giorgi Jvaridze <[EMAIL PROTECTED]> wrote:
>
> > > Hi
> > > I can't verify my account by SMS [Google App Engine].
> > > I'm from Georgia and my Mobile Provider is Geocell Ltd(Georgia)
> > > my number is +99555xx. and when I submit my phone. It shows 
> > > "Anerrorhasoccurredwhilesending.Pleasetryagain."Pleasefix this and let me 
> > > now..
>
> > > #Giorgi Jvaridze
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
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
-~--~~~~--~~--~--~---



[google-appengine] Re: I'm from China, and I can't receive SMS verification when I try to register

2008-09-21 Thread Haisheng HU

As I have ever been trying since this July, it never works. My
cellphone number is from China Mobile too.

BTW, Google Calendar reminder works very fine. And it seems Google is
constantly changing its SMS service partner within Chinese Mainland.
Now the message is ended with "君悦电子".

Hope some Google guy can clarify this.

Brgds,


Ai.Freedom wrote:
> My mobile provider is China Mobile, which is not listed in
> http://www.google.com/support/calendar/bin/answer.py?answer=37226&hl=en
> . But I can receive SMS notification sent by Google Calendar.
>
> After a few trials, I think it might work if I use a phone number
> provided by China Unicom, which is in the list. But it says that I
> have sent too many SMS verification messages.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
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
-~--~~~~--~~--~--~---



[google-appengine] Re: About SMS verification in China

2008-09-21 Thread Haisheng HU
As I have ever been trying since this July, it never works. My
cellphone number is from China Mobile.

BTW, Google Calendar reminder works very fine. And it seems Google is
constantly changing its SMS service partner within Chinese Mainland.
Now the message is ended with "君悦电子".

Hope some Google guy can clarify this.

Brgds,

-- 
Haisheng HU 胡海生
Lat/Lon: 39.9812, 116.3206
Facebook: http://www.new.facebook.com/profile.php?id=503374635

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
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
-~--~~~~--~~--~--~---