[google-appengine] Re: non sms activation, then app creation issues

2010-03-09 Thread Wesley Chun (Google)
sjh-vimrc: this app is registered under admin@ not junk@
v1m-rc: this account does not exist
vimrcdotcom: same as sjh-vimrc

--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: urllib2.URLError: urlopen error [Errno 110] Connection timed out

2010-03-02 Thread Wesley Chun (Google)
greetings! can you confirm whether you're still having the same
deployment problem? thanks for the stack trace as those are always
helpful. one other comment i have is to be cautious when using Python
2.6 as App Engine currently only supports Python 2.5.x. let us know if
you're still having problems.

best regards,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: non sms activation, then app creation issues

2010-03-02 Thread Wesley Chun (Google)
what is/are the app identifier(s) you have already used? are you sure
they don't show up in your list of applications now? (just go to
http://appengine.google.com and check.)

thanks,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: App Engine Status Page Almost as Slow as my app

2010-03-02 Thread Wesley Chun (Google)
robert,

are you still experiencing this issue? it seems to come up for me in

On Mar 2, 5:51 pm, Robert Lancer robert.lan...@gmail.com wrote:
 The app engine status page athttp://code.google.com/status/appengine
 takes a WHILE to load and browse through the pages. Just like my app
 engine powered Java app. I got that please report your problem at
 the forms msg a few times while on that site so Im posting here.
 Anybody else using Java have a really slow app today and most days?

 Doubt this will make this past the moderators...

-- 
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-appeng...@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: App Engine Status Page Almost as Slow as my app

2010-03-02 Thread Wesley Chun (Google)
robert, are you still experiencing a slow response? i was able to get
it to come up in about 5-6s (not speedy but it does return). also, at
this time, 11:40p GMT/UTC, we are experiencing some datastore issues
that are being investigated.

-wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: Server error message when signing up to the google app engine

2010-02-10 Thread Wesley Chun (Google)
bruce,

is this still happening when you try to sign up? if so, from which
page exactly are you getting this error? (please copy-n-paste the
URL).

thanks,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: Unable to access Admin Console

2010-02-09 Thread Wesley Chun (Google)
greetings!

are you still having this issue? if so, can you send us a more
accurate URL than https:appengine.google.com/a/YourDomain.com/?
also, what is your application ID? we can help you more with this
additional information.

thanks!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: HTTP 500 on Admin Console Queues Page

2010-02-05 Thread Wesley Chun (Google)
this issue should be resolved, as documented in the downtime forum:

http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7fb8a39149de3b55

let us know if it still doesn't work. also, please post a valid
application ID as well as a stack traceback if possible.

thanks,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: HTTP 500 on Admin Console Queues Page

2010-02-05 Thread Wesley Chun (Google)
this issue should be resolved, as documented in the downtime forum:

http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7fb8a39149de3b55

let us know if it still doesn't work. also, please post a valid
application ID as well as a stack traceback if possible.

thanks,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: HTTP 500 on Admin Console Queues Page

2010-02-05 Thread Wesley Chun (Google)
this issue should be resolved, as documented in the downtime forum:

http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7fb8a39149de3b55

let us know if it still doesn't work. also, please post a valid
application ID as well as a stack traceback if possible.

thanks,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: HTTP 500 on Admin Console Queues Page

2010-02-05 Thread Wesley Chun (Google)
this issue should be resolved, as documented in the downtime forum:

http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7fb8a39149de3b55

let us know if it still doesn't work. also, please post a valid
application ID as well as a stack traceback if possible.

thanks,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: GQueues Error 500, SLED 10, Firefox 2

2010-02-03 Thread Wesley Chun (Google)
this issue should be resolved, as documented in the downtime forum:

http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7fb8a39149de3b55

-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: appcfg.py gives error while trying to upload data to appengine

2010-02-03 Thread Wesley Chun (Google)
pravenj,

App Engine currently does not support Python 2.6:
http://code.google.com/appengine/kb/general.html#language

please replace your 2.6 installation with a 2.5 release. you can
request 2.6 support by starring the current issue:
http://code.google.com/p/googleappengine/issues/detail?id=757

hope this helps (a little)!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: appcfg.py gives error while trying to upload data to appengine

2010-02-03 Thread Wesley Chun (Google)
pravenj,

App Engine currently does not support Python 2.6:
http://code.google.com/appengine/kb/general.html#language

please replace your 2.6 installation with a 2.5 release. you can
request 2.6 support by starring the current issue:
http://code.google.com/p/googleappengine/issues/detail?id=757

hope this helps (a little)!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: Issue With Blendapps for Ning?

2010-02-03 Thread Wesley Chun (Google)
this issue should be resolved, as documented in the downtime forum:

http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7fb8a39149de3b55

-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: Issue With Blendapps for Ning?

2010-02-03 Thread Wesley Chun (Google)
this issue should be resolved, as documented in the downtime forum:

http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7fb8a39149de3b55

-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: Issue With Blendapps for Ning?

2010-02-03 Thread Wesley Chun (Google)
this issue should be resolved, as documented in the downtime forum:

http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/7fb8a39149de3b55

-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: Gzip on App Engine? Apparently automatic, but webmaster tools complains

2010-01-21 Thread Wesley Chun (Google)
 Maybe a bug in Webmaster Tools?

this is likely as someone else reported the same issue with the
webmaster tools. anyway, i just wanted to let you know that i closed
the issue and provided some links that may be helpful:

http://code.google.com/p/googleappengine/issues/detail?id=2657#c11


--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: App Engine and Gzip

2010-01-21 Thread Wesley Chun (Google)
i think we all learned something with this thread (and the various
spawn from it). i just wanted to let you know that i closed the issue
and provided some links that may be helpful:

http://code.google.com/p/googleappengine/issues/detail?id=2657#c11


--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: Request was aborted after waiting too long followed by random DeadlineExceededError on import.

2010-01-19 Thread Wesley Chun (Google)
dave, jason,

just wanted to do a follow-up to see where things stand with your apps
now. i'm coming across a similar user issue and was wondering whether
it's the same problem or not. can you post your complete error stack
traces if you're still running into this issue? here's the issue filed
by the other user FYI, who's app seems to have few requests but each
one has high latency:

http://code.google.com/p/googleappengine/issues/detail?id=2621

if your respective apps don't suffer from this problem any more, what
did you do to resolve it or did it magically go away?

thanks,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: Not everyone has a cell phone

2010-01-19 Thread Wesley Chun (Google)
On Jan 19, 5:16 pm, michae...@gmail.com michae...@gmail.com wrote:
 I wanted to check this out, but I do not have a mobile phone. (Laugh all you 
 want)

for now, an SMS-enabled mobile phone is required to create an App
Engine account. you can get more information on account verification
at: http://code.google.com/appengine/kb/sms.html

-- wesley

ps. i put off having a cell phone for a long time too. you can get a
prepaid one pretty cheaply these days... i have service that runs just
$5/mo and the phone was free -- not sure if it's still available any
more though. you just need to make sure the one you get supports text
messaging (also called SMS).
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine
-- 
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-appeng...@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: Gzip on App Engine? Apparently automatic, but webmaster tools complains

2010-01-19 Thread Wesley Chun (Google)
yes, App Engine should be compressing, as outlined here:
http://code.google.com/appengine/kb/general.html#compression

most browsers are recognized and compressed data returned... just
confirm your response headers. below are one example of request and
response headers (with FF3 as the client):

REQUEST

User-Agent  Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:
1.9.0.8) Gecko/2009032608 Firefox/3.0.8 GTB6
Accept  text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate

RESPONSE

Content-Typetext/plain
Cache-Control   public, max-age=0
Content-Encodinggzip
DateTue, 19 Jan 2010 23:37:23 GMT
Server  Google Frontend
Content-Length  1571

what do your headers show?

thanks,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine
-- 
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-appeng...@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: App Engine and Gzip

2010-01-19 Thread Wesley Chun (Google)
niklas does have a workaround, but some users are indeed running into
this problem where there shouldn't be an issue, especially since it's
documented that App Engine supports it, as detailed here:
http://code.google.com/appengine/kb/general.html#compression

however, it's not a universal issue as i'm also using FF3 (Mac) but do
NOT have this problem:

REQUEST

HostXXX.appspot.com
User-Agent  Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:
1.9.0.8) Gecko/2009032608 Firefox/3.0.8 GTB6
Accept  text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive  300
Connection  keep-alive
Cache-Control   max-age=0

RESPONSE

Content-Typetext/plain
Cache-Control   public, max-age=0
Content-Encodinggzip
DateTue, 19 Jan 2010 23:37:23 GMT
Server  Google Frontend
Content-Length  1571


this means it's possible there's a problem generating the response.
brian and philip, can you guys create an issue for this in the issue
tracker? please reference this thread as well as brian's earlier
thread in that issue, and i can pass it off to the appropriate team
members to investigate. don't forget to star the thing once it's been
created. (if you do a search, you'll find other gzip issues but
they're all different than yours'.)

thanks!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine
-- 
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-appeng...@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: Support for Netbeans

2010-01-17 Thread Wesley Chun (Google)
as far as i know, there are no plans to support it at the moment, but
as you know, things can always change under the appropriate market
conditions. someone had a Netbeans issue earlier, and i pointed them
to a tutorial online:

http://groups.google.com/group/google-appengine/browse_thread/thread/56c9d50020562eaf

feel free to post any other resources here that you think would be
useful for other Netbeans users.

thanks!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine
-- 
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-appeng...@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: Error when running Guestbook

2010-01-14 Thread Wesley Chun (Google)
greetings maly!

as netbeans isn't officially supported, i checked with another App
Engine team member. he looked at your error and thinks that there may
be something wrong with your Netbeans setup as the Guestbook code is
fairly bulletproof. here is a link to a tutorial on using App Engine
with Netbeans:

http://rocky.developerblogs.com/tutorials/getting-started-google-app-engine-netbeans

good luck!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine
-- 
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-appeng...@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: com.google.appengine.tools.admin.AdminException: Unable to update app: Version not ready.

2010-01-14 Thread Wesley Chun (Google)
greetings RKVS Raman,

are you still having this problem? this situation doesn't happen very
often. here are some related posts from months back FYI:

http://groups.google.com/group/google-appengine-java/browse_thread/thread/806f69fff149a5eb
http://groups.google.com/group/google-appengine-java/browse_thread/thread/473e994755ff53a5

usually, it is because a large file is being uploaded... are you
sending any over when you deploy?

-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine
-- 
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-appeng...@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: appspot 都不能访问了??

2010-01-14 Thread Wesley Chun (Google)
你好,

the appspot and other Google company servers have rotating sets of IP
addresses, some of which are periodically blocked from within china.
this is the reason why sometimes you can reach it but other times not.
this has been an on-going situation for awhile.

here's another similar situation:
http://groups.google.com/group/google-appengine/browse_thread/thread/9301c315a9236c02

here's a potential solution if you can get it working:
http://groups.google.com/group/google-appengine/browse_thread/thread/c83a316d28eb8ea7

good luck!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

-- 
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-appeng...@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: what is the limit on number of daily emails

2010-01-13 Thread Wesley Chun (Google)
greetings andrei!

you can send 2000 emails a day for free but a maximum rate of 8 emails
a minute. if you turn on billing, you have higher quotas. for more
information on the email quotas, please visit this web page:

http://code.google.com/appengine/docs/quotas.html#Mail

hope this helps!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine



On Jan 13, 9:49 am, Andrei gml...@gmail.com wrote:
 Gmail has limit of 500 per day
 If i implement sending emails in GAE does it have
 same daily limit of 500?
-- 
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-appeng...@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: auto run tasks using dev sdk

2010-01-13 Thread Wesley Chun (Google)
greetings!

you are correct. the Task queues in the development server are
controlled by a POST that you send from the Task Queues page of the
admin console. this is (mostly) desired by developers because they
have more control over when tasks get executed.

in order to run them automatically, you'll need to do some wizardry to
simulate those requests. in the Python world, you could probably do
one of these two things:

- a record-n-playback macro either via a tool like Selenium or
Windmill
- if you want a pure command-line script, check out the Mechanize
package which simulates a browser

let us know how you end up implementing it. does anyone else out there
have a different way of auto-executing tasks with the dev server?

cheers,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine


On Jan 11, 9:36 pm, Philip phili...@gmail.com wrote:
 I've read some articles on auto running tasks using the developer sdk
 and python. The articles I've found don't provide a good workaround. I
 am POSTing tasks using the Task class with parameters. I would like to
 run concurrent background tasks on my dev machine. If I can only run
 them single threaded, I guess that's OK for now.

 What type of shell script or equivalent should I write that will
 automatically run tasks by first discovering them in the queues and
 then submitting them as POSTs to the appropriate queue URLs with the
 original parameters?

 Note: The GAE SDK is running on OS X.
-- 
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-appeng...@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.




[appengine-java] Re: HardDeadlineExceededError stack trace

2010-01-12 Thread Wesley Chun (Google)
john,

HardDeadlineExceededError cannot be caught. you should see
DeadlineExceededException and catch that instead... as explained in
this thread below, seeing HardDeadlineExceededError means that
something has caused DeadlineExceededException to get discarded or
it's going so fast, that there wasn't any time to throw
DeadlineExceededException:

http://groups.google.com/group/google-appengine-java/browse_thread/thread/409f3c244c10674f/2978dcb88890e8a9

what kinds of operations is your app performing, and do they seem to
take longer than 30 secs?

thanks,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine




On Jan 12, 2:20 am, jd jdpatter...@gmail.com wrote:
 Hi,

 From a task servlet I catch DeadlineExceededException put another task
 on the queue to continue the work.  This was working well until a few
 days ago - recently it has been throwing a HardDeadlineExceededError
 after the new ask is added to the queue resulting in many tasks
 executing (i.e. the original task retries)

 When I get a HardDeadlineExceededError the stack trace seems to be the
 same as that which caused the original DeadlineExceededException.  Is
 this right?  I expected to see a different stack trace in code that is
 placing the task on the queue or writing a response.

 Cheers,

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




[google-appengine] Re: Can't see the datastore viewer

2010-01-12 Thread Wesley Chun (Google)
hi amit,

thanks for writing. i checked out your application, and yes, i have
confirmed that when you click on Datastore Viewer, you get this error:
BadValueError: link must not be empty.

can you show us your model(s) and tell us how you got the data into
the datastore? the error you received is for a LinkProperty, e.g.,
http://code.google.com, but the error is happening because one of the
links is empty when it needs to be a fully-qualified, well-formed URL.
it is not allowed to be empty, but (at least) one of them is in the
datastore.

thanks,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine



On Jan 10, 4:16 pm, Amit amit.prak...@gmail.com wrote:
 Hi,
  When I go to the admin console and click on Datastore Viewer I get an
 error page. This used to work a couple of days ago but now it
 consistently fails with the following message:

 Server Error
 A server error has occurred.

 Return to Applications screen »

 Anyone else experiencing this?

 My appid is living-life
 -thanks,
 Amit
-- 
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-appeng...@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: Issue storing image in blob property, then retrieving

2010-01-12 Thread Wesley Chun (Google)
greetings! i can better assist you if you answer a few questions...

1. are you still running into this situation now?
2. are you using the Python or Java API and which version?
3. how you tried to use the new Blobstore API instead of an entity
with a BlobProperty?

it is possible that there may be delays, but they shouldn't be *that*
long. you mentioned that the next time you try to load the same image,
it works... how much time elapsed since you originally saved it?

thanks,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine



On Jan 11, 7:05 am, Daniel Aguilar d...@protozoo.com wrote:
 Hi there,

 I'm just running into an issue trying to store an image in a blob property,
 and trying to load it afterwards.
 The process is as follows:
 1. My front-end (a Flash application) sends the data to be stored to GAE
 (i'm using pyamf)
 2. The remote function stores the data (I save the image in a blob property)
 and replies back (success/error)
 3. The Flash application receives the result, and if ok, tries to load the
 image I just saved.

 This works perfectly locally (local GAE development environment), but when
 running it online I get an Error 500 on step 3, as if the image was never
 saved.
 Next time I try to load the same image, it works.

 So am I running some kind of delay-related issue here? Of course I tried
 waitting a couple of seconds (even a minute) before attempting to load the
 saved images, but didn't work either.

 Does anyone know what may be happening here?

 Thanks!
-- 
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-appeng...@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: mazen samir wants to chat

2010-01-12 Thread Wesley Chun (Google)
greetings! we would love to chat with you too. we have semi-monthly
chat/IRC office hours where you can speak directly with Google
engineers working on App Engine. we'll try to answer your questions as
best we can.

you can find out more information on our chats here:
http://code.google.com/appengine/community.html

best regards,
--wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine
-- 
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-appeng...@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: Application specific configuration vars

2010-01-10 Thread Wesley Chun (Google)
andy's idea works great if you wanted to access your configuration at
runtime objects, but i think the OP was requesting it be not part of
the application, so this technique crosses that boundary.

-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine


On Jan 9, 10:19 pm, Andy Freeman ana...@earthlink.net wrote:
   Does any one else agree if the AppEngine environment could provide
  this as a feature, so its not part of the application but rather a
  part of the environment?

 If you make your configuration a db.Model subclass instance, you can
 modify it in production without loading a new version.

 That is
 class ApplicationConfiguration(db.Model):
 debug_mode = db.BooleanProperty()
 admin_email = db.StringProperty()

 and so on.

 On Jan 4, 6:30 pm, Devraj Mukherjee dev...@gmail.com wrote:

  Hi all,

  My AppEngine application is written in Python. As the application code
  base becomes larger are experiencing the need to use configuration
  variables for our own applications. Example are we running in Debug
  mode or not, admin email addresses (used to send internal
  notifications) etc.

  Currently we are maintaining this in a common Python file as varaibles.

  Does any one else agree if the AppEngine environment could provide
  this as a feature, so its not part of the application but rather a
  part of the environment?

  Would appreciate comments.
-- 
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-appeng...@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: Billing zero but shouldn't be.

2010-01-10 Thread Wesley Chun (Google)
to find out your usage (billable or otherwise), please visit:

https://appengine.google.com/

click on your application then click on billing history. you should
see usage reports for each day which shows you your free usage as well
as billable usage.

if you have specific billing inquiries, follow the appropriate links
to billing customer support and file a ticket.

hope this helps!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine


On Jan 7, 10:26 am, Amir  Michail amich...@gmail.com wrote:
 On Jan 7, 12:02 pm, Prashant Gupta nextprash...@gmail.com wrote:

  are you sure that you are crossing free quota limit?

 Yes, I'm sure this happened on a few days.

 Amir



  2010/1/7 Amir Michail amich...@gmail.com

   On Jan 5, 2:16 pm, Amir  Michail amich...@gmail.com wrote:
Hello,

Why am I not billed although I should be?

   Could someone look into this please?

   Amir

Amir

   --
   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-appeng...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib
e...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine?hl=en.
-- 
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-appeng...@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: Billing charge discrepency. Charged $21 to start!

2010-01-10 Thread Wesley Chun (Google)
mahmoud,

you are correct. up to is the maxmimum you can possibly be charged
in a week or day, depending on the number you're looking at. to find
out your usage (billable or otherwise), please visit:

https://appengine.google.com/

(you need to login as the billing contact or app administrator.) click
on your application then click on billing history. you should see
usage reports for each day which shows you your free usage as well
as billable usage. if you did reach $3/day and/or $21/week, it should
be very clear based on your usage how you arrived there.

if you have specific billing inquiries, follow the appropriate links
to billing customer support and file a ticket.

hope this helps!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine



On Jan 7, 12:11 pm, Mahmoud mahmoud.ar...@gmail.com wrote:
 I'm unsure who to email about this, so I figured I'd post to this
 group.

 After enabling billing for my app, at a maximum of $3 a day, Google
 Checkout charged me $21 right away. My understanding is that it is
 supposed to be up to $21 a week.

 Here is what the bill looks like:

   Digital delivery
  1  App Engine Budget  -  Maximum weekly budget for application
 'x', including applicable tax.  $21.00
  1  App Engine Budget  -  Maximum weekly budget for application
 'x', including applicable tax.
 Subscription Details: You may be charged up to $21.00 per week.
 Starting Dec 7, 2009. Cancel Subscription

 Who can I email about this?
-- 
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-appeng...@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: Implementing global leaderboards

2010-01-10 Thread Wesley Chun (Google)
i think you are on the right track. i have one idea: right after a
player finishes a game and before your check to see if their score
should be featured in one of the rankings, do a quick cleanup of the
existing date-sensitive/rolling window scores:

- go through the daily scores; they should have user name, score, and
timestamp. all scores with timestamps older than 24 hours should be
wiped.

- go through the weekly scores and do the same thing, only use a 168-
hour clock. also note that for the time-sensitive scores, you should
probably use UTC/GMT time to avoid timezone complications.

- the overall scores should also use the same model. the timestamp is
used only to show when a user accomplished such a score whereas in the
other 2 cases, they're also used to calculate expiration.

if you do this type of scrubbing, then you don't need a scheduled
task. it will happen automatically right after any game is finished.
if no work needs to be done, then the work will go even faster. if you
have any more specific questions, feel free to ask on this list again.
good luck!

-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine



On Jan 7, 5:12 pm, Amir  Michail amich...@gmail.com wrote:
 Suppose you would like global leaderboards for a game with top 100
 rankings for today, this week, and all time.

 Moreover, suppose that today and this week use rolling windows.

 When a player finishes a game, a check is done to see if his/her score
 is in the top 100 for any of these three rankings.

 If so, then a nickname and score is submitted and the leaderboard(s)
 updated.

 What's a good way to implement this with the google app engine?

 Use three kinds of objects, say scoreToday, scoreThisWeek, and
 scoreOverall?

 To see if the score should be submitted, the top 100 from each would
 be examined.  This check is complicated by the rolling windows.  For
 example, the score may not be in the top 100 now for today/this week,
 but will be in 2 hours say.

 Deletions for all three object types would be done using a scheduled
 task perhaps.

 Am I on the right track?
-- 
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-appeng...@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: medical records, hipaa compliance

2010-01-10 Thread Wesley Chun (Google)
greetings! you asked a question that's common but very dependent on
your implementation. App Engine has no specific compliance features,
so it's all up to your implementation. the first thing you need to do
is to separate the patient information and their medical data. if
they're together, then it's very likely that you're not compliant.

ironically, in one past life, i worked on software for doctors to use
for clinical trials. before the medical data was even imported into
our application, all patient info such as name, DOB, SSN, sex, age,
etc., were masked so that they were not available to the doctors. we
only had patient ID numbers and their data.

one place you can start out to find out more about compliance and
HIPAA requirements is here:

http://www.hhs.gov/ocr/privacy/hipaa/understanding/coveredentities

you may also need to hire a consultancy or company that certifies
compliance. it's probably worthwhile to pursue this before and during
the development process. however, we're not lawyers here so we cannot
give specific advice for your case.

hope this helps!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine



On Jan 7, 11:49 am, G culturea...@gmail.com wrote:
 My _guess_ is that either could easily run into compliance concerns.

 Then again, wholesale countrytapping is now the norm, so there is
 precedence...

 --
 G

 RalphWSiegler wrote:
  would the datastore of the GAE be HIPAA compliant as to privacy and
  security of information.

  We (my client's IT department) have medical apps to port to cloud
  architecture but issue of use of public vs. private cloud (Google App
  engine vs.  hosted vmware virtual appliance) hinges on this issue.
-- 
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-appeng...@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 Parse Incoming Email

2010-01-08 Thread Wesley Chun (Google)
 in other words, text should probably be called 'text_bodies'. then
 you can do something like:

 logging.info(%s: %s % ('Message bodies', ''.join('msg %d: %s; ' % x for x 
 in enumerate(text_bodies)))


in case it wasn't clear or seems to be obfuscated, here's a plain text
example of what the above does:

 a = ['foo', 'bar', 'google', 'app', 'engine']
 a
['foo', 'bar', 'google', 'app', 'engine']

 ''.join('msg %d: %s; ' % x for x in enumerate(a))
'msg 0: foo; msg 1: bar; msg 2: google; msg 3: app; msg 4: engine; '

here's a more Python-newbie-friendlier alternative:

 ':'.join(a)
'foo:bar:google:app:engine'

the point is that it is not a string, and you should use the str.join
() method to merge them together into a single string so that you can
successfully make the call to log it.

cheers,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine
-- 
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-appeng...@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: Upgrading from Standard Edition

2010-01-06 Thread Wesley Chun (Google)
travis,

you have written to a Google App Engine forum. unfortunately, we are
not the same as the Google Apps team. you can contact them and inform
them of your interest in the Premier Edition at this link:

http://www.google.com/support/a/bin/request.py?contact_type=premier

best regards,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
  http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine


On Dec 31 2009, 12:53 pm, Travis tra...@ischoolinitiative.com wrote:
 I am in a situation and would really like to talk to someone from
 Google. I have a Non-profit called The iSchool Initiative. Our goal is
 to bring technology solutions to schools. We also provide
 collaboration tools (Through Google Apps standard edition) to our
 members. I am in contact with many different schools whom will be
 interested in using Google Apps for their own schools as well. As a
 non-profit I qualify for the premium edition if I display my tax
 exemption status. Here is where my problem lies. If there is anyway I
 can get in touch with, it would be greatly appreciated.

 My website:https://www.ischoolinitiative.com/Home_Page.html
-- 
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-appeng...@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: Need Help with Datastore Query

2010-01-05 Thread Wesley Chun (Google)
hi jen,

apologies that i didn't explain Band.gql('') when i made my earlier
post.
that's pretty much of a SELECT * as you found out.

now, i'm not sure how you're storing your objects, but perhaps the IDs
are not the same as what you're expecting (i.e., 1, 2, etc.). would it
be
possible for you to post your model (or at least part of it) so we can
see
what you have?

can you also provide the code you're using to put your objects into
the
datastore with?

the reason why i'm asking is because a default ID that App Engine
assigns is always going to be unique and auto-incrementing. you have
the option of giving a key_name instead of taking the default, so if
you
don't specifically specify the IDs, then they're auto-generated for
you.

finally, if you wish for me to take a look at your application, please
provide your application ID (usually APP_ID.appspot.com) or whatever
you put after application:  in your app.yaml file.

thanks!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine



On Jan 3, 10:00 pm, Ms. Jen blackpho...@gmail.com wrote:
 Ok, the results of an evening spent reading docs, searching for
 answers, and otherwise beating my head against the GAE wall, is the
 following:

 If I pass the band name (band.band_name) on the URL, I am able to
 search for it in the datastore with:

 band_edit = Band.gql(WHERE band_name = 'id')

 And the page is rendered with just the band in question and not a
 whole list of them.  Well, that was easy. So, why don't I use it?
 Because people can have several bands of the same name or misspell the
 name or the like, and a unique ID as the entity ID would be much more
 useful and accurate over time.

 But if I try with the ID or Key, I have no luck.  If I pass the ID as
 band_id and then put it to the database as another string or integer
 entity named band_id, and then try and search the datastore as above:

 band_edit = Band.gql(WHERE band_id = 'id')

 I have no luck.  None.  (Yes, None with a big N).     Either I get a
 blank page or I am told that it can't iterate Band or there is an
 integer or string error.

 According 
 to:http://code.google.com/appengine/docs/python/datastore/queriesandinde...
 there are limited queries on Keys and IDs allowed.

 I know that folks can do it, as I have seen GAE python based apps that
 call individual entities by a URL id.  Yes, the docs say you can, but
 with no concrete examples.  Is there a cookbook recipe for how to get
 by ID or Key?
-- 
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-appeng...@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 Parse Incoming Email

2010-01-05 Thread Wesley Chun (Google)
brian,

great idea for including a more full-fledged example in the docs.
we'll take it under consideration. perhaps we can get *your* app
working and perhaps take a snippet from there!

the reason you're getting the error is in the realm of Python (and
not really App Engine). what you're trying to do is to create one
long string made up of Message body: and the text body from
the email message.

the problem is that the InboundEmailMessage.bodies() method
doesn't return a string. here, take a closer look at the docs:
http://code.google.com/appengine/docs/python/mail/receivingmail.html

under Handling Incoming Email, it tells you that what you get
back is a list/iterator of perhaps more than one email body. in
order to fix your problem, you either have to just pull out the text
for the first (and only message), or if there are more than one, to
concatenate all the text bodies into your log entry.

in other words, text should probably be called 'text_bodies'. then
you can do something like:

logging.info(%s: %s % ('Message bodies', ''.join('msg %d: %s; ' % x
for x in enumerate(text_bodies)))

hope this helps!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine



On Jan 5, 6:59 pm, Brian bsmcconn...@gmail.com wrote:
 I am trying out the incoming email module, and am stumped. I do the
 following:

 class LogSenderHandler(InboundMailHandler):
     def receive(self, mail_message):
         logging.info(Received a message from:  + mail_message.sender
 +  to:  + mail_message.to)
         text = mail_message.bodies(content_type='text/plain')
         logging.info(Message body:  + text)
         self.response.out.write('ok')

 I can fetch the to/from/subject fields, but when I try to read the
 message body, I get the following error. Obviously I need to do
 something else, but I can't find any documentation about this. It
 would be nice if Google would publish a more complete sample app that
 processes inbound email. If someone has an example they can post I'd
 really appreciate it. I know it should not be that difficult.

 cannot concatenate 'str' and 'generator' objects
 Traceback (most recent call last):
   File /base/python_lib/versions/1/google/appengine/ext/webapp/
 __init__.py, line 509, in __call__
     handler.post(*groups)
   File /base/python_lib/versions/1/google/appengine/ext/webapp/
 mail_handlers.py, line 58, in post
     self.receive(mail.InboundEmailMessage(self.request.body))
   File /base/data/home/apps/brians-book/1.338965862895371758/
 handle_email.py, line 33, in receive
     logging.info(Message body:  + text)
 TypeError: cannot concatenate 'str' and 'generator' objects
-- 
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-appeng...@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: exceptions

2010-01-04 Thread Wesley Chun (Google)
here's the reference manual page on datastore exceptions:
http://code.google.com/appengine/docs/python/datastore/exceptions.html

here is an early post making the same request as you:
http://groups.google.com/group/google-appengine/browse_thread/thread/d6af2b501f795ad1

here's one on handling maintenance windows:
http://appengine-cookbook.appspot.com/recipe/gracefully-handling-system-maintenance

if anyone knows of any more, please follow-up on this thread!

cheers,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine



On Jan 4, 6:22 am, james_027 cai.hai...@gmail.com wrote:
 hi,

 any post showing how to use the datastore exceptions?

 thanks

--

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-appeng...@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: What is the point of the PostalAddressProperty?

2010-01-02 Thread Wesley Chun (Google)
can you go search the list of issues here?

http://code.google.com/p/googleappengine/issues/list

if something similar isn't already there, please file a feature
request.

thanks,
-wesley


On Jan 2, 9:21 am, Kelly A kelly.j.ander...@gmail.com wrote:
 Wesley,

 Thank you for the response, this is exactly how I have come to think
 of the PostalAddressProperty, I would like to suggest that the
 documentation be more clear on the purpose of the object, it is not
 clear from first blush that this object is not a more rich interface
 to the more Geo aware google functions.

 I would also like to propose a higher level address object that takes
 an address string and automatically separates it into fields and geo
 codes the address, much like entering an address into
 maps.google.com.  This object could throw and error on ambiguous
 results which the developer can handle to resolve the ambiguity.

 On Dec 29 2009, 12:10 pm, Wesley Chun wesc+...@google.com wrote:



  greetings!

  as far as i know, and please correct me if i'm wrong here, you can
  indeed just use a StringProperty if you wish. however, you can think
  of PostalAddressProperty as more of a classification as far as what
  *type* of string it is (sort of like metadata).

  it is also useful for interfacing with other Google Data Protocol
  objects, and, as you mentioned, outputting to the gd: XML namespace,
  meaning that it is supported across other Google APIs and tools, i.e.,
  Google Calenar, Contacts, Open Social, etc.), which *may* perform some
  validation or search criteria.

  and your suggestion for making individual fields, thus orderable and
  sortable, then creating a full object on the fly for gd: output sounds
  like a reasonable workaround. for more information on postal addresses
  via Google Data, 
  see:http://code.google.com/apis/gdata/docs/1.0/elements.html#gdPostalAddress

  best regards,
  -wesley

  On Mon, Dec 28, 2009 at 4:49 PM, Kelly A kelly.j.ander...@gmail.com wrote:
   If you cannot query on or sort on the individual fields of the address
   it is rather useless.  I could just store the field as text.  I assume
   that the major advantage is that you can export the item in the gd:
   XML namespace with out doing any extra work.  That being said, I would
   think exporting the address in a way that google contacts can read the
   address is far less important that being able to sort by zip code,
   state, city, etc...

   For those searching for an answer to the question of querying on a zip
   filed in a PostalAddressProperty or sorting on a field in a
   PostalAddressProperty, the overwhelming answer I have come across is
   you cannot.  It would seem that the best solution is to store the
   address fields in individual variables and when a request for a gd:
   address or full address is made, construct the PostalAddressProperty
   on the fly.

   Perhaps the PostalAddressProperty is not documented in a way that
   allows me to see the value, or all of the sample applications simply
   make no use of addresses and I am just missing the point. If others
   have any examples of the value of this object please do respond.


--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine

--

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-appeng...@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: Security offered by Google app engine infrastructure

2009-12-30 Thread Wesley Chun (Google)
greetings siddharth!

all applications are run from a secure JVM. on the overview page of
the official documentation, we state the following:

 The JVM runs in a secured sandbox environment to isolate your
application for service and security. The sandbox ensures that apps
can only perform actions that do not interfere with the performance
and scalability of other apps. For instance, an app cannot spawn
threads, write data to the local file system or make arbitrary network
connections. An app also cannot use JNI or other native code. The JVM
can execute any Java bytecode that operates within the sandbox
restrictions.

for your example of System.exit(), that calls is disabled in the JVM
so it has no effect.

for more information, please see:
http://code.google.com/appengine/docs/java/runtime.html#The_Sandbox

hope this helps!

-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine


On Dec 29, 10:28 pm, Siddharth spatnai...@gmail.com wrote:
 Hi, My question is about the design/architecture of Google app engine
 so i expect someone from the core team to answer this question.
 In my application, Google allows me to write any kind of code (say for
 example in Java) and finally this code is executed in a jvm which is
 shared accross applications. Now my question is how does google app
 engine ensures isolation for an application inside the shared JVM?
 Putting my question differently if i write any malicious code (for
 example System.exit(), introducing memory leak etc) in my application
 and upload to the google app engine, what will happen? I am sure
 google already handles this but my question is how?

 Regards,
 Siddharth

--

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-appeng...@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: Google App Engine Launcher on Mac OS -- access from external interface

2009-12-29 Thread Wesley Chun (Google)
greetings bruce!

i was just discussing your situation with Ikai and found the solution.
pull up the GUI launcher, select the app you wish to modify with the
flag, click right-mouse or double-click it if you only have a 1-button
mouse.

a dialog will pop open. go down to the Extra Flags text field and
enter the -a 0.0.0.0 option (obviously without the quotes), click
update to close the dialog, then stop and restart your app. it should
then be accessible either via localhost or an assigned IP address!

hope this helps!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine



On Dec 29, 11:36 am, Bruce S bruce.schwa...@gmail.com wrote:
 Thanks!   Invoking the launcher from the command line with the flag
 you recommended worked. I couldn't figure out how to get the Google
 App Engine Launcher for Mac OS to do it though.

 On Dec 29, 10:14 am, Ikai L (Google) ika...@google.com wrote:



  There should be an option to force the launcher to bind to 0.0.0.0, which
  means bind to all addresses on this interface. From the command line it is
  -a 0.0.0.0. There should be an option to specify command line options for
  applications launched from the GUI launcher where you can add this.

  On Mon, Dec 28, 2009 at 8:40 PM, Bruce S bruce.schwa...@gmail.com wrote:
   It seems I can only access the GAE Launcher using the localhost
   interface (e.g.http://localhost:9001) from the machine hosting GAE
   Launcher.  If I use the actual IP address of the machine (http:
   192.168.2.3:9001) there is no connection.  Anyone know how to hook up
   the external interface to localhost?

   --

   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-appeng...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib
e...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine?hl=en.

  --
  Ikai Lan
  Developer Programs Engineer, Google App Engine

--

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-appeng...@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: Need Help with Datastore Query

2009-12-29 Thread Wesley Chun (Google)
howdy jen... great to see you on App Engine!

as far as your problem goes, have you checked to see just what *are*
the IDs of the objects you've stored? you seem to be trying to select
them, but perhaps their values are not what you're expecting (hence
the query failures).

i would just like to see a query that pulls up your data entities then
displays their IDs if 'id' is a property of your object. if you're
just creating and storing them with put, you're taking the default ID
that App Engine assigns, so in these cases, you need to fetch an
entity's key in order to get to its ID... something like this:

bands = Band.gql('')
for band in bands:
self.response.out.write('br%s: %sp\n' % (band.key().id_or_name
(), band.band))

let us know what you get!

cheers,
-wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine



On Dec 27, 10:33 pm, Ms. Jen blackpho...@gmail.com wrote:
 Hello All(),

 I have been struggling with attempting to run a datastore query and
 keep getting the same error even though I have read through all the
 docs on Queries and Keys, watching several of the Google I/O videos,
 as well as looking at a number other apps' source code to see how they
 are done.

 The error I get is:

 Traceback (most recent call last):
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
 GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
 google/appengine/ext/webapp/__init__.py, line 507, in __call__
     handler.get(*groups)
   File /Users/msjen/Dev/alex/alexsbarbooking/editband.py, line 41,
 in get
     self._displayEditBandPage()
   File /Users/msjen/Dev/alex/alexsbarbooking/editband.py, line 32,
 in _displayEditBandPage
     raise ValueError, 'Band with ID %d does not exist.' % id
 ValueError: Band with ID 2 does not exist.

 My code is:
     id = int(self.request.get('id'))
     band_id = Band.get(db.Key.from_path('Band', id))
     if band_id:
       band_query = Band.gql(WHERE ID = , id)
       band = band_query.fetch(1)
       self.response.out.write('Band query successful. %s : %d' %
 band.band_name, id)
       if not band_edit:
         raise ValueError, 'Band query with ID %d did not get the info
 from the datastore.' % id
     if not band_id:
       raise ValueError, 'Band with ID %d does not exist.' % id

 I have imported the db.model of band:
 from band import Band

 The other error I get if I use other code samples is that the global
 variable of 'band' is not recognized, even though I have imported the
 model.

 the URL path that I am requesting the id from 
 is:http://localhost:8080/editband/?id=2
 And I am able to run a self.write.reponse to write out the requested
 id from the path.

 The problem seems to lie in passing the requested path id into the
 query where I want to filter it by the requested id.

 Please, please, tell me that another set of eyes can spot what I am
 doing wrong here

 Thanks in advance,
 Jen

--

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-appeng...@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: cron - too many continues

2009-12-21 Thread Wesley Chun (Google)
mark,

glad you were able to figure it out on your own. it seems that it
turned into a redirect problem after all.

@googlegeeza: are you still having this problem or have you figured it
out as well? i tried your example, and it works for me.

best regards,
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Core Python Programming, Prentice Hall, (c)2007,2001
Python Fundamentals, Prentice Hall, (c)2009
   http://corepython.com

wesley.j.chun :: wesc+...@google.com
developer relations :: google app engine


On Dec 18, 1:16 pm, Mark markashu...@gmail.com wrote:
 I figured out another cause of this error.  If you have the URL
 handler set to secure: always then it will also fail.  The cron hits
 the http version, and gets redirected to https, which it doesn't
 like.

 On Dec 18, 1:09 pm, Mark markashu...@gmail.com wrote:



  I get the same error, and I'm just outputting text, no logging.  I
  hope this limitation gets removed.  Let me know if anyone knows a
  workaround besides using another cron service.

  On Nov 25, 4:28 am, googlegeeza

  gwynhow...@steppingstonesoftware.co.uk wrote:
   yes, app.yaml is correctly configured - i can run the code via a url

   On Nov 24, 2:36 am, Eli Jones eli.jo...@gmail.com wrote:

does your app.yaml have the appropriate lines to handle the cron url as
well?

app.yaml should have this line before other handlers:
- url: /testcron
script: test.py
or something like that..

On Mon, Nov 23, 2009 at 8:43 AM, googlegeeza 

gwynhow...@steppingstonesoftware.co.uk wrote:
 i know this has been posted before, but in other posts the error was
 caused by redirects and other issues.

 i have a cron job scheduled to run every minute (also tried it every 5
 minutes). the cron job runs some code which prints a string to the the
 log, that's it. but it doesn't run. the error on the cron jobs page in
 the admin console is Toomanycontinues. This doesn't make sense as
 I am not doing anything in the job, just printing to the log. Code as
 below:

 cron.yaml:
 cron:
 - description: TestCron
  url: /testcron
  schedule: every 1 minutes

 test.py:
 class TestCron(webapp.RequestHandler):
    def get(self):
        logging.info('cron test')

 application = webapp.WSGIApplication( [('/testcron', TestCron),],
 debug=True)

 Why is it reportingtoomanycontinues? I am not looping anything, or
 causing anything to 'continue' in any way.

 Nothing gets printed to the log which suggests it's not even trying to
 run my TestCron class.

--

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-appeng...@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.