[google-appengine] Re: Monthly cron jobs

2009-04-10 Thread Tim Hoffman

Hi

Thats interesting.  (Not completely unsurprising though).

That also a pity as the schedule doesn't seem flexible enough to deal
with day of month specific times
which does mean you will have to run the cron more often and then
check if you want to take action.

Oh well.

See ya

Tim

On Apr 10, 8:17 am, theillustratedlife toonscr...@nvbell.net wrote:
 Thanks Tim.  Still doesn't work.

 BTW, the closest I ever came was this:
 1st monday of month 00:00

 I get this error on the cron page in the SDK if I provide an invalid
 value:

 Unable to assign value '1st of month 00:00' to attribute 'schedule'

 There really should be a try/catch for this in the SDK. . .
--~--~-~--~~~---~--~~
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: Should I take my website somewhere else? - blocked in China

2009-04-10 Thread Hector Zhao

As I know, *.appspot.com mostly works in China, only completely
blocked for a short period early this year, after that only some apps
-- most proxies which can be used to access other blocked sites -- are
still blocked. And for the custom domain, some Chinese developers will
find available ips of ghs.google.com and set up their own ghs.***.***,
which usually finally results in that ip blocked, too.

On 4月10日, 上午8时08分, WallyDD shaneb...@gmail.com wrote:
 Hi TJ,

 That really is an amazing post. I'm impressed, you have certainly
 covered all the technical bases of implementing a proxy.

 My biggest concern is that Googles behaviour is unpredictable and I
 not entirely sure how well they will respond to something like this
 being implemented.

 1. I have experienced being blocked by the app engine (try again in an
 hour etc.), so I could reasonably assume that it would be likely that
 a lot of traffic coming from one source may be blocked.
 2. A large portion of the revenue comes from Google adsense/adwords.
 Google uses a variety of mechanisms to check for invalid clicks, so
 all the clicks coming from one source would no doubt raise some red
 flags.
 3. The traffic statistics would be almost useless (there is probably a
 workaround... but a lot of work).
 4. Google has deliberately and intentionally blocked traffic
 originating from Sudan, Syria, Cuba, Iran and North Korea(not really
 sure if they have internet there). From the legal discourse I have
 read it would appear google is obligated to block any proxies where
 traffic is coming from these countries. I don't really understand this
 one as the USA changed their political administration in January 2009
 and the block went in two weeks later. There has to be some politics
 behind this which I am unaware of. Google has decided to say nothing
 on this subject so I can only assume the worst.

 Google has also said nothing about the China block, which again means
 to expect the worst.
 I am also far from convinced that Google has figured out China (like a
 lot of western companies). From the look of their developer 
 bloghttp://www.developer.googlechinablog.com/, only 16 people read this as
 the RSS feed.
 I can't really expect any Chinese to have faith in Google with not
 only that their country has blocked,  but more importantly that google
 itself has actively blocked other countries.

 Google will do what Google wants to do and fail to communicate. I
 can't see this strategy doing anything other than annoying the Chinese
 further. And back to China I go next week (luckily on unrelated
 business).

 And TJ, I like your post, if I can get some (positive) answers I will
 be putting in a proxy just as you have outlined. Keep up the great
 work.

 On Apr 9, 10:35 am, T.J. Crowder t...@crowdersoftware.com wrote:



  Hi Wally,

  Sorry to hear about the block.

   The internet is indeed a funny place.
   I did respond with a question on how to set this up but have received
   no answer?

   Any ideas anyone?

  Setting up a proxy server is a non-trivial task (I'm not saying it's
  hard, just non-trivial) so you're not likely to get a lot of dedicated
  help for it here.  May be worth seeking out other newsgroups for the
  technical details (if you haven't already!).

  Most commercial-grade web software such as Apache[1] or nginx[2] can
  be set up to proxy, and there are several dedicated proxy packages as
  well (such as Squid[3]).  I've been hearing very good things about
  nginx the last year or so, but have virtually no direct experience
  with it (and not that much experience setting up proxies at all, so
  take all of this with a grain of salt).

  [1]http://httpd.apache.org/
  [2]http://nginx.net/
  [3]http://www.squid-cache.org/

  But since you'll need a hosting provider of some sort for the proxy,
  and it sounds as though this is going to be your main reason for
  having that other hosting service, it may be worth considering
  approaching hosting providers who will set up and maintain the proxy
  for you, rather than doing it yourself.  I searched for proxy
  hosting and there's a whole industry out there you can tap into.  It
  depends on whether this is something you want to add to your set of
  skills.  Naturally, you'll want to be sure that the proxy hosting
  company itself isn't blocked in China!  Given what they do, I suspect
  a fair number of them are, but the censors can't keep on top of all of
  them, and you can switch as necessary (the joys of proxying!).

  A downside of the proxy approach is that you'll end up paying anywhere
  from twice to six times as much for at least some of your site's
  traffic -- the parts that can't be cached.  Say you host the proxy at
  Acme Hosting Company.  Where before your traffic costs on a request
  for dynamic content were:

  * Inbound cost at AppEngine (receiving request from end user's
  browser)
  * Outbound cost at AppEngine (sending reply to end user's browser)

  with a proxy you'll be 

[google-appengine] Re: Should I take my website somewhere else? - blocked in China

2009-04-10 Thread 风笑雪
You can try this CNAME to instead of ghs: google.dns.tancee.com
My website(http://gae.keakon.cn/) is ok by visiting from China.



2009/4/10 T.J. Crowder t...@crowdersoftware.com


 Hi Wally,

 Happy to help (if I did).

  ...you have certainly
  covered all the technical bases of implementing a proxy.

 Oh, I very much doubt it. :-)  (BTW, I don't know where that six
 came from in my earlier post.  You'll incur 2-3 times, not 2-6 times,
 as much transfer on requests for dynamic content through the proxy.)

  1. I have experienced being blocked by the app engine (try again in an
  hour etc.), so I could reasonably assume that it would be likely that
  a lot of traffic coming from one source may be blocked.

 Perhaps Brett Slatkin or someone else from Google's technical wing
 could comment on this.

 I don't know about AppEngine, but Google does place rate limits on end
 users' use of various apps they provide (such as Google Groups!), and
 so this is something to be aware of.  But I'd be surprised if those
 rate-limits are naive enough to be confused by requests from a
 properly-configured proxy.  A request from a properly-configured proxy
 includes the original source of the request as well as the proxy (or
 proxies) through which it's passed.[1]  Proxies are widely used across
 the web, including by ISPs with hundreds of thousands of end users or
 more.  To lump them all together under one rate limit (or at least
 under a rate limit intended for individuals) would be inappropriate.

 [1] http://tools.ietf.org/html/rfc2616#section-14.45

 This also applies to your points 2 and 3; the original request's
 origin is preserved across the proxy (in the normal case; we're not
 talking about intentionally non-compliant -- but useful! -- proxies
 such as anonymizers and the like).  In any case, the adsense stuff
 won't go through your proxy, remember that the script comes directly
 from googlesyndication.com.

  Google has also said nothing about the China block, which again means
  to expect the worst.

 Wally, I'm quite certain that any time China blocks the whole of
 AppEngine (which they don't appear to be doing currently, from other
 comments), Google is aware of it very quickly and does everything they
 reasonably can to clear up the problem working through channels with
 the appropriate Chinese officials.  They cannot afford to be closed to
 China.  Now, the degree to which they'll succeed largely depends on
 the Chinese government.  AppEngine is a bit of a problem for them,
 it's just ridiculously easy to throw together an app that provides a
 way for Chinese citizens to break through the great firewall and get
 unfiltered information.  I'm not surprised the whole of AppEngine was
 blocked for a time last year, and I'm not surprised it got unblocked
 -- presumably the result of discussion and negotiation between the
 Chinese government, U.S. government, and Google.  If Google haven't
 commented on the situation, FWIW I wouldn't take that as evidence of
 their not being concerned about and actively engaged in addressing the
 problem.  Public statements can sometimes cause trouble in sensitive
 negotiations.  But hey, not like I'm an expert on international
 business and government relations. ;-)

 And I didn't mean to get into the politics; mainly I was trying to
 address your question about how to go about getting a proxy set up.

 Good luck,
 --
 T.J. Crowder
 tj / crowder software / com
 Independent Software Engineer, consulting services available


 On Apr 10, 1:08 am, WallyDD shaneb...@gmail.com wrote:
  Hi TJ,
 
  That really is an amazing post. I'm impressed, you have certainly
  covered all the technical bases of implementing a proxy.
 
  My biggest concern is that Googles behaviour is unpredictable and I
  not entirely sure how well they will respond to something like this
  being implemented.
 
  1. I have experienced being blocked by the app engine (try again in an
  hour etc.), so I could reasonably assume that it would be likely that
  a lot of traffic coming from one source may be blocked.
  2. A large portion of the revenue comes from Google adsense/adwords.
  Google uses a variety of mechanisms to check for invalid clicks, so
  all the clicks coming from one source would no doubt raise some red
  flags.
  3. The traffic statistics would be almost useless (there is probably a
  workaround... but a lot of work).
  4. Google has deliberately and intentionally blocked traffic
  originating from Sudan, Syria, Cuba, Iran and North Korea(not really
  sure if they have internet there). From the legal discourse I have
  read it would appear google is obligated to block any proxies where
  traffic is coming from these countries. I don't really understand this
  one as the USA changed their political administration in January 2009
  and the block went in two weeks later. There has to be some politics
  behind this which I am unaware of. Google has decided to say nothing
  on this subject so I can 

[google-appengine] Re: How to set Current User in code?

2009-04-10 Thread slatvick

Mahmoud:
Thanks, but this method does not do loging as the standard login form
does.
I already have data connected to t...@example.com-user in my model
and this:
os.environ['USER_EMAIL'] =t...@example.com
does not logins properly, but redirects to the login-form.

Alkis Evlogimenos:
Sorry, but where is env contains? Because i have global name 'env'
is not defined and cannot find in docs.
thanks in advance.

--~--~-~--~~~---~--~~
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: Verify Your Account by SMS from Uruguay

2009-04-10 Thread 风笑雪
Maybe you forget your country number.
Ex: in China, the phone number should be this style: +8613012345678 (begin
with +86)

2009/4/10 Jeff S j...@google.com

 Hello Héctor,

 If you are unable to verify using SMS, you can request access by filling
 out the form linked in this FAQ:

 http://code.google.com/appengine/kb/sms.html#error

 Thank you,

 Jeff


 On Wed, Apr 8, 2009 at 3:35 PM, Héctor Quartino cpho...@gmail.com wrote:


 Hi,

 Does anyone know how to verify one's account if you are living in
 Uruguay?

 I entered my number in the format required by the verificator but it
 always gives Mobile Number or Username error.

 Regards,
 Héctor




 


--~--~-~--~~~---~--~~
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] cname access

2009-04-10 Thread Prashant Gupta
i created a new Google Apps account with myappid.appspot.com  as my domain
name. can i setup Google Apps emails etc, like mail.myappid.appspot.com

thanks,
prashant

--~--~-~--~~~---~--~~
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: How to set Current User in code?

2009-04-10 Thread 'Αλκης Ευλογημένος
I switched to using this decorator for my test methods using webtest:
from nose.tools import make_decorator

def credentials(user=False, admin=False):
  def _decorator(func):
def _wrapper(*args, **kwds):
  old_user = os.environ.get('USER_EMAIL', '')
  old_admin = os.environ.get('USER_IS_ADMIN', '0')

  if user or admin:
os.environ['USER_EMAIL'] = 'u...@test.com'
  else:
os.environ['USER_EMAIL'] = ''

  if admin:
os.environ['USER_IS_ADMIN'] = '1'
  else:
os.environ['USER_IS_ADMIN'] = '0'

  try:
func(*args, **kwds)
  finally:
os.environ['USER_EMAIL'] = old_user
os.environ['USER_IS_ADMIN'] = old_admin

_wrapper = make_decorator(func)(_wrapper)
return _wrapper
  return _decorator

Usage is:

class MyTest(unittest.TestCase):
  def setUp(self):
self.app = ... make your app here using webtest or any other webtesting
framework

  @credentials
  def testIndexPublic(self):
response = self.app.get('/')
self.assertTrue('some string only found when noone has logged in' in
response)

  @credentials(user=True)
  def testIndexUser(self):
response = self.app.get('/')
self.assertTrue('some string only found in user logged in rendering' in
response)

  @credentials(admin=True)
  def testIndexAdmin(self):
response = self.app.get('/')
self.assertTrue('some string only found in admin rendering' in response)

I hope this helps.

On Fri, Apr 10, 2009 at 12:30 PM, slatvick slatv...@gmail.com wrote:


 Mahmoud:
 Thanks, but this method does not do loging as the standard login form
 does.
 I already have data connected to t...@example.com-user in my model
 and this:
 os.environ['USER_EMAIL'] =t...@example.com
 does not logins properly, but redirects to the login-form.

 Alkis Evlogimenos:
 Sorry, but where is env contains? Because i have global name 'env'
 is not defined and cannot find in docs.
 thanks in advance.

 



-- 

Alkis

--~--~-~--~~~---~--~~
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: cname access

2009-04-10 Thread 风笑雪
I don't think so.
You can only use your own top-level domain to register Google Apps.

2009/4/10 Prashant Gupta nextprash...@gmail.com

 i created a new Google Apps account with myappid.appspot.com  as my
 domain name. can i setup Google Apps emails etc, like mail.myappid.
 appspot.com

 thanks,
 prashant

 


--~--~-~--~~~---~--~~
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: cname access

2009-04-10 Thread Kilohoku150

You are asking a question about Google Apps for Domain, which is
separate from the Google App Engine (despite the similar name).

Forums for the Google Apps for Domain suite are at

http://www.google.com/support/forum/p/Google+Apps

On Apr 10, 5:52 am, Prashant Gupta nextprash...@gmail.com wrote:
 i created a new Google Apps account with myappid.appspot.com  as my domain
 name. can i setup Google Apps emails etc, like mail.myappid.appspot.com

 thanks,
 prashant
--~--~-~--~~~---~--~~
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: Some Confusion regarding Google App Engine

2009-04-10 Thread 风笑雪
If you have a Google Apps account, you may set it only for your Google Apps'
users.
And you may use login: admin in your app.yaml, then only the admin of this
app can visit it.

2009/4/10 manschmidt google...@tliff.com


 I'll try to answer your questions:

 1) Google App Engine is the hosting infrastructure. You can develop
 your application locally with the SDK and then deploy it to GAE.

 2) The eclipse plugin helps you to create your Java Applications for
 running on googles infrastructure (GAE (= Google App Engine)). You can
 create new apps by using the plugin and it gives you a basic hello-
 world app for faster development. Moreover, you can simply click on a
 button to deploy your app to GAE. That's easier compared to using the
 command line/terminal.

 3) Not sure what you mean, but install the eclipse plugin and test out
 the helloWorld-App you get when using GWT + GAE. You'll see how this
 works. Moreover, you should read the Getting Started-Page for Java.

 4) Yes, your app will be visible to everyone. You can use
 authentification to protect your application.

 On 9 Apr., 11:42, livinglegends jigar.sha...@gmail.com wrote:
  Hi,
 
  I have some questions regarding Google App Engine.
 
  1. Is it only web deployment tool? :
 
  2. What is the actual use of eclipse plugin?:
As per my understanding, eclipse plugin provides only wizard
  based utility to deploy web application on google server. Is it true?
 
  3. Suppose I have developed one application using GWT. Now, I want to
  deploy it on google server. Do I need to make any changes in my code?
  In my GWT application, I am creating connection with database.
 
  4. If I have deployed my GWT application on google server. So, anybody
  can see my application?
 
  May be my questions are silly but it is important for me.
  Thanx in Advance.
  LivingLegends
 


--~--~-~--~~~---~--~~
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: cname access

2009-04-10 Thread Prashant Gupta
i know clearly what's difference between Google Apps  Google App Engine.

i want to know that if i can use my appengine domain to use Google Apps
email service?

lemme explain...

i registered to Google Apps using my appengine domain -
myname.appengine.com. Yes google accepted this :). now, i want to use
Google Apps email service,
i want mail.myname.appengine.com to redirect to my Google Apps email
account http://gmail.com/a/myname.appengine.com; and sending mail to
u...@myname.appengine.com should reach user's Google Apps' email account.


thanks and regards,
prashant



On Fri, Apr 10, 2009 at 6:58 PM, Kilohoku150 kilohoku...@gmail.com wrote:


 You are asking a question about Google Apps for Domain, which is
 separate from the Google App Engine (despite the similar name).

 Forums for the Google Apps for Domain suite are at

 http://www.google.com/support/forum/p/Google+Apps

 On Apr 10, 5:52 am, Prashant Gupta nextprash...@gmail.com wrote:
  i created a new Google Apps account with myappid.appspot.com  as my
 domain
  name. can i setup Google Apps emails etc, like mail.myappid.
 appspot.com
 
  thanks,
  prashant
 


--~--~-~--~~~---~--~~
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: how to include CSS in Settings.py ...

2009-04-10 Thread Kalyan
Hi Jeff S
  Thank u very much

Regards
kalyan

On Thu, Apr 9, 2009 at 11:49 PM, Jeff S j...@google.com wrote:

 Hi kalyan,

 You'll need to specify a static file (or directory) in your app.yaml file,
 and point to the CSS file (or the directory it is in). For examples and more
 information see:


 http://code.google.com/appengine/docs/python/gettingstarted/staticfiles.html
 and

 http://code.google.com/appengine/docs/python/config/appconfig.html#Static_File_Handlers

 Happy coding,

 Jeff


 On Wed, Apr 8, 2009 at 4:21 AM, kalyan kalyan...@gmail.com wrote:


 hi all
i am creating website using google app engine and
 python  ..using django i started, i got index page(with CSS),
 after that when i am clicking on any tab(hyper link ) its opening that
 page but its not including CSS,
  is it i need to include CSS path in settings.py or any other .

 Thanks in advance


 Regards
 kalyan



 



-- 
Regards
kalyan

--~--~-~--~~~---~--~~
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: cname access

2009-04-10 Thread Wooble

You cannot do this using Google App Engine.  You might be able to do
this using Google Apps; the people in the group you were referred to
should be able to tell you.

I'd say allowing you to add an appspot subdomain in Google Apps at all
was a bug; clearly you don't own the appspot.com domain and as far as
I know there's no Google Apps For Your Subdomain.  But again, that's
off topic for this group.

On Apr 10, 9:41 am, Prashant Gupta nextprash...@gmail.com wrote:
 i know clearly what's difference between Google Apps  Google App Engine.

 i want to know that if i can use my appengine domain to use Google Apps
 email service?

 lemme explain...

 i registered to Google Apps using my appengine domain -
 myname.appengine.com. Yes google accepted this :). now, i want to use
 Google Apps email service,
 i want mail.myname.appengine.com to redirect to my Google Apps email
 account http://gmail.com/a/myname.appengine.com; and sending mail to
 u...@myname.appengine.com should reach user's Google Apps' email account.

 thanks and regards,
 prashant

 On Fri, Apr 10, 2009 at 6:58 PM, Kilohoku150 kilohoku...@gmail.com wrote:

  You are asking a question about Google Apps for Domain, which is
  separate from the Google App Engine (despite the similar name).

  Forums for the Google Apps for Domain suite are at

 http://www.google.com/support/forum/p/Google+Apps

  On Apr 10, 5:52 am, Prashant Gupta nextprash...@gmail.com wrote:
   i created a new Google Apps account with myappid.appspot.com  as my
  domain
   name. can i setup Google Apps emails etc, like mail.myappid.
  appspot.com

   thanks,
   prashant
--~--~-~--~~~---~--~~
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] List of all logged-in users + filtering that list.

2009-04-10 Thread slmnhq

Hi,

I am trying to build a community website which has a very familiar
pattern:
 - it displays the list of all users that are currently logged-in
 - it allows each user to filter the above list by some criteria (eg:
geo-location, age, etc).

I've never done this before, so I was hoping somebody could point me
to articles that talk about the ins-and-outs of these features. Also,
I want to understand how the DB and Memcache will factor into this.

One issue that is completely stumping me is when a user may be logged
in, but has been inactive for a long enough period of time that he/she
is effectively logged-out and should be removed from the list.

I will appreciate any ideas.

Thanks,
Salman



--~--~-~--~~~---~--~~
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] Google Accounts RSS feed authentication

2009-04-10 Thread Jesse Grosjean

I'm using the built in users authentication on my website. I really
like it's simplicity, and I like the fact that many potential users
will already have a Google Account, so they can use my site without
having to create a new account.

But I've run into a problem. I'd like to have protected (protected by
users Google Account login) rss feeds on my site. But since (to my
knowledge) the Google Account api authentication process (http://
tinyurl.com/atbzwk) isn't standard and supported in RSS readers I
don't think it's possible to do this.

Couple of thoughts. First suggestions? Is there some workaround?

And if not:

- It would be great if api login for google app engine apps could
follow some standard. Or if not create a new standard that's
appropriate.
- Or if that's not possible, at least document the current api
authentication process somewhere on google site to make it a bit
easier to find and official.

Thanks,
Jesse
--~--~-~--~~~---~--~~
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: Still no full-text search? Mystified by the priorities.

2009-04-10 Thread Portos

I agree 100% with this topic
--~--~-~--~~~---~--~~
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] How to access normal files in google App engine

2009-04-10 Thread Vaswani

Hi,

I am a developing a web application which has no database but instead
uses some text files(.txt) as a data store. While running on my local
machine, I am able to access the folder which has these files (the
folder is in my application directory). However, when I upload my
application to the app engine server, I am denied permission to access
this folder and files.

I have tried using os.chmod to change permissions but still nothing
works.
What could be the problem?


-Vaswani

--~--~-~--~~~---~--~~
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] How to shut the server down

2009-04-10 Thread Banaticus

If Ctrl-C doesn't work, after closing the cmd window, apparently
ending the GoogleUpdater process kills the server.

--~--~-~--~~~---~--~~
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] Dynamically retrieve the class of a Model object

2009-04-10 Thread Stephen Cagle

I have a collection of Model objects. I am wondering if there is any
way to retrieve one of these Model objects dynamically, using nothing
more than a string. As a example, say I had a Model object named
Pigeon in my database, and I did not have a Model object named
Pooridge. If I called mysteryFx(Pigeon) it would return the class
reference to Pigeon, if I called mysteryFx(Pooridge) it would return
None. Does anyone know the innards of mysteryFx?

Note, I am not interested in importing every existent Model object,
and then storing them in a dictionary or something like that. I want
to ask AppEngine if it has a table (kind, whatever) that matches the
provided string, and if it does, I want it to give me a reference to
the class implementation that matches said table.

Thank you

--~--~-~--~~~---~--~~
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] i cant login to google groups using my app email address.. and when i use my gmail address it fails

2009-04-10 Thread bible.org

i cant login to google groups using my app email address..and pw
 and when i use my gmail address the groups i have joined with my app
email address dont show up

--~--~-~--~~~---~--~~
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: application configuration file not found

2009-04-10 Thread hongxua...@gmail.com

say you have an C:\MyDemo\HelloWorld dir which include 2 files:
helloworld.py and app.yaml
then you should go to C:\MyDemo rather than C:\MyDemo\HelloWorld to
perform the cmd(dev_appserver.py helloworld/
). Hope this helps

On Mar 19, 7:34 am, joshua jos...@circusjoshua.com wrote:
 hi i made a test app just to play with it and when i try to run the
 webserver cmd tells me ERROR:root:application configuration file not
 found in my selected directory

 i am running windows XP (pro)
 with the newest python

 please if you have an answer post it here or send me an email at
 jos...@circusjoshua.com

--~--~-~--~~~---~--~~
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: Will Google support a relational database in the future?

2009-04-10 Thread cmcd

http://googleappengine.blogspot.com/2009/02/back-to-future-for-data-storage.html

Down with RDBMS'! (no, they didn't say that:D )


On Apr 8, 8:58 pm, Andrew Badera and...@badera.us wrote:
 It might not make sence but it certainly makes sense when you're living
 in a world full of RDBMS, and want to make the barrier to entry as low as
 possible.

 Thanks-
 - Andy Badera
 - and...@badera.us
 - Google me:http://www.google.com/search?q=andrew+badera

 Sent from Albany, NY, United States

 On Wed, Apr 8, 2009 at 1:56 PM, Barry Hunter 
 barrybhun...@googlemail.comwrote:



  similar, but it wouldnt make sence to have two database backends.

--~--~-~--~~~---~--~~
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: Need some help learning the structure of using Django templates making websites..

2009-04-10 Thread Konrad Martin

Hi Aaron

 The website uses Django  templates.  I also need resources I can look
 at that can help me learn data models for python which is used in
 google apps engine.

Have a look on appEnginePatch dedicated to deplpoy Django on appEngine
http://code.google.com/p/app-engine-patch/wiki/Documentation
http://code.google.com/p/app-engine-patch/

If you've got questions there is the app-engine-patch discussion group
http://groups.google.com/group/app-engine-patch?hl=en

Konrad

--~--~-~--~~~---~--~~
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: how to include CSS in Settings.py ...

2009-04-10 Thread Konrad Martin

Hi kalyan,

 using django I started

Using Django perhaps you should have a look at the concept of app-
engine-patch
Docs: http://code.google.com/p/app-engine-patch/wiki/Documentation
Source:http://code.google.com/p/app-engine-patch/
Group: http://groups.google.com/group/app-engine-patch?hl=en
making Django available on appEngine.

To demonstrate how to integrate images and css files there I wrote an
example
http://groups.google.com/group/app-engine-patch/msg/5f4842220dbe94de?hl=en
http://benchstat.appspot.com/fileHost/09/04/08/StaticDemo.jpg
you can download here
http://benchstat.appspot.com/fileHost/09/04/08/staticDemo.zip

Konrad

--~--~-~--~~~---~--~~
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: ApplicationError: 2 nonnumeric port: ''

2009-04-10 Thread Konrad Martin

Hi Jarred,

there is a ready made Django registration module
http://bitbucket.org/ubernostrum/django-registration/wiki/Home

which you can use integrated in appEnginePatch
http://code.google.com/p/app-engine-patch/wiki/Documentation
Download
http://app-engine-patch.googlecode.com/files/app-engine-patch-sample-1.0.zip
and try.

App Engine Patch is a project to deploy Django on appEngine. There is
a discussion group too:
http://groups.google.com/group/app-engine-patch?hl=en

Konrad

--~--~-~--~~~---~--~~
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: Allowing users to login in a non-intimidating, non-confusing way?

2009-04-10 Thread Konrad Martin

Hi Devel63,

you could try with Django. There is a Django registration module on
bitbucket
http://bitbucket.org/ubernostrum/django-registration/wiki/Home.

The app engine patch project integrated this module alredy in its code
sample. Download
http://app-engine-patch.googlecode.com/files/app-engine-patch-sample-1.1beta1.zip
and try if it fits your requirements.

You may discuss details in app engine patch discussion group
http://groups.google.com/group/app-engine-patch

Konrad


--~--~-~--~~~---~--~~
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] JSF Apps

2009-04-10 Thread 1ka

Hi Folks,

Has anyone had any success hosting JSF 1.2 apps, either MyFaces or
Sun's RI?

I can get JSF 1.1 to work OK, but have problems with 1.2.

MyFaces tends to report errors like:

java.lang.NoSuchMethodError:
javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/
ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
2.at
3.org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration
(Jsp21FacesInitializer.java:60)

Sun's RI reports:

failed
com.google.apphosting.utils.jetty.runtimeappenginewebappcont...@aefcbb
{/,/base/data/home/apps/softwyer-jsf-facelets/2.332687498765519933}
java.lang.NoSuchMethodError:
javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
at com.sun.faces.config.WebConfiguration.getServletContextName
(WebConfiguration.java:250)


I suspect it's a 'jar' problem in that I'm not including the right
jars, so if anyone has this working I'd love to know what jars are
included in their WEB-INF/lib directory.

Cheers.

--~--~-~--~~~---~--~~
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] PageContextImpl giving issues (java.lang.ClassCastException: java.security.AccessControlException) with Spring form tag?

2009-04-10 Thread N. Peeters

Hi, I'm getting the following error when the JSP page tries to
compile. Any idea?


Nested in org.springframework.web.util.NestedServletException: Request
processing failed; nested exception is java.lang.ClassCastException:
java.security.AccessControlException cannot be cast to
javax.servlet.ServletException:
java.lang.ClassCastException: java.security.AccessControlException
cannot be cast to javax.servlet.ServletException
at org.apache.jasper.runtime.PageContextImpl.handlePageException
(PageContextImpl.java:754)
at org.apache.jsp.WEB_002dINF.jsp.searchCustomerInput_jsp._jspService
(searchCustomerInput_jsp.java:64)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

The page code is as follows:

%@ include file=/WEB-INF/jsp/include.jsp%
%@ taglib prefix=form uri=http://www.springframework.org/tags/
form%
html
body
form:form commandName=searchCustomer
table
tr
tdFirst Name:/td
tdform:input path=firstName //td
/tr
tr
tdLast Name:/td
tdform:input path=lastName //td
/tr
tr
td colspan=3
input type=submit value=Search /
/td
/tr
/table
/form:form

--~--~-~--~~~---~--~~
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] Spring, Css mapping error, appending index.html.

2009-04-10 Thread paulm

I am using a css file in my jsp file like this:

link href=css/corp.css rel=stylesheet type=text/css /

I am getting:

- No mapping for [/css/corp.css/index.html] in DispatcherServlet with
name xxx

I do not know why App Eng appends index.html. Is it because I am using
Spring Framework for my app eng application? How can I fix the
problem?

Same for all images, it is also appending index.html after image file
names.

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-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: JSF apps

2009-04-10 Thread demetrio812

Hi,
I've successful done the JSF 1.1 running but encountered the same
problem on JSF 1.2 (http://blog.demetrio.it/2009/03/10/deploying-a-
jsf-11-app-on-google-app/), here there are the details:

http://www.seamframework.org/Community/SeamGoogleAppEngine#comment71623

If someone knows a way to fix it please help :)

demetrio

On 9 Apr, 09:28, georges.goe...@gmail.com georges.goe...@gmail.com
wrote:
 Hi,

 I tried to deploy a JSF application to test the new Java App Engine. I
 managed to upload the app but it does not work :-(

 when I try to run the app on my local machine './dev_appserver.sh
 myWar' I get the following error (at the end of the post)

 I think, he cannot read the jsf config files (faces-config.xml) from
 the web-inf folder
 I added the following to the appengine-web.xml without any luck

      static-files
         include path=/**.xml /
     /static-files
     resource-files
         include path=/**.xml /
     /resource-files

 Does anybody have a clue ???

 009-04-09 10:14:16.180 java[24854:80f] [Java CocoaComponent
 compatibility mode]: Enabled
 2009-04-09 10:14:16.181 java[24854:80f] [Java CocoaComponent
 compatibility mode]: Setting timeout for SWT to 0.10
 Apr 9, 2009 10:14:17 AM com.google.apphosting.utils.jetty.JettyLogger
 warn
 WARNING: Failed startup of context
 com.google.apphosting.utils.jetty.devappenginewebappcont...@94fe42{/,/
 Users/goebel/apache-tomcat-6.0.18/webapps/component-showcase}
 com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
 access denied (java.lang.RuntimePermission modifyThread)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:
 213)
         at com.sun.faces.config.ConfigureListener.contextInitialized
 (ConfigureListener.java:196)
         at org.mortbay.jetty.handler.ContextHandler.startContext
 (ContextHandler.java:530)
         at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
         at org.mortbay.jetty.webapp.WebAppContext.startContext
 (WebAppContext.java:1218)
         at org.mortbay.jetty.handler.ContextHandler.doStart
 (ContextHandler.java:500)
         at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
 448)
         at org.mortbay.component.AbstractLifeCycle.start
 (AbstractLifeCycle.java:40)
         at org.mortbay.jetty.handler.HandlerWrapper.doStart
 (HandlerWrapper.java:117)
         at org.mortbay.component.AbstractLifeCycle.start
 (AbstractLifeCycle.java:40)
         at org.mortbay.jetty.handler.HandlerWrapper.doStart
 (HandlerWrapper.java:117)
         at org.mortbay.jetty.Server.doStart(Server.java:217)
         at org.mortbay.component.AbstractLifeCycle.start
 (AbstractLifeCycle.java:40)
         at
 com.google.appengine.tools.development.JettyContainerService.startContainer
 (JettyContainerService.java:147)
         at
 com.google.appengine.tools.development.AbstractContainerService.startup
 (AbstractContainerService.java:115)
         at com.google.appengine.tools.development.DevAppServerImpl.start
 (DevAppServerImpl.java:205)
         at com.google.appengine.tools.development.DevAppServerMain
 $StartAction.apply(DevAppServerMain.java:136)
         at com.google.appengine.tools.util.Parser$ParseResult.applyArgs
 (Parser.java:48)
         at com.google.appengine.tools.development.DevAppServerMain.init
 (DevAppServerMain.java:90)
         at com.google.appengine.tools.development.DevAppServerMain.main
 (DevAppServerMain.java:84)
 Caused by: java.security.AccessControlException: access denied
 (java.lang.RuntimePermission modifyThread)
         at java.security.AccessControlContext.checkPermission
 (AccessControlContext.java:264)
         at java.security.AccessController.checkPermission
 (AccessController.java:427)
         at java.util.concurrent.ThreadPoolExecutor.shutdown
 (ThreadPoolExecutor.java:893)
         at com.sun.faces.config.ConfigManager.getConfigDocuments
 (ConfigManager.java:301)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:
 203)
         ... 19 more
 The server is running athttp://localhost:8080/

--~--~-~--~~~---~--~~
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: How to access normal files in google App engine

2009-04-10 Thread Konrad Martin

Hi Vaswani,

to my knowledge file IO isn't provided in appEngine cause file IO
doesn't work on a distributed database with high scalability.

So probalby you have to use Google datastore instead of your text
file. It's not that difficult.

Konrad

--~--~-~--~~~---~--~~
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] How does one do a != on a StringListProperty

2009-04-10 Thread molicule

Hi,

In the example below, I have a StringListProperty 'stems' and
when I try to do a != I do not get the desired result. Where it should
fetch no
results it fetches two.


 for q in Mymodel.all().filter(stems !=, purpl).fetch(10): print q.stems
...
[u'blue', u'black', u'green', u'grei', u'purpl']
[u'blue', u'green', u'orang', u'violet', u'purpl']


What filter would I need to use to achieve the desired result ?

Thanks
S. Sriram

--~--~-~--~~~---~--~~
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: Dynamically retrieve the class of a Model object

2009-04-10 Thread Tim Hoffman

When you say Model object to you mean a class inheriting from db.Model
or a instance of a class inheriting from db.Model.

Another Question ? If you know the kind name then you know the class
name
so why do you need to look it up ?

And lastly When you say  If I called mysteryFx(Pigeon) it would
return the class reference to Pigeon
don't you mean you mysterFx(Pigeon) would return the class called
Pigeon ?

Just trying to clarify what you are asking for before I chime in.

T

On Apr 10, 9:40 am, Stephen Cagle same...@gmail.com wrote:
 I have a collection of Model objects. I am wondering if there is any
 way to retrieve one of these Model objects dynamically, using nothing
 more than a string. As a example, say I had a Model object named
 Pigeon in my database, and I did not have a Model object named
 Pooridge. If I called mysteryFx(Pigeon) it would return the class
 reference to Pigeon, if I called mysteryFx(Pooridge) it would return
 None. Does anyone know the innards of mysteryFx?

 Note, I am not interested in importing every existent Model object,
 and then storing them in a dictionary or something like that. I want
 to ask AppEngine if it has a table (kind, whatever) that matches the
 provided string, and if it does, I want it to give me a reference to
 the class implementation that matches said table.

 Thank you
--~--~-~--~~~---~--~~
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: How to access normal files in google App engine

2009-04-10 Thread Tim Hoffman

Hi

You can read files but they must be in you appengine application
directory or a subdirectory.
of it and then uploaded when you deploy

You can't chmod and there is no need to.

Also these files shouldn't be accessible through the static files
directive in app.yaml (I believe)

T



On Apr 10, 12:49 pm, Vaswani gopal.vasw...@gmail.com wrote:
 Hi,

 I am a developing a web application which has no database but instead
 uses some text files(.txt) as a data store. While running on my local
 machine, I am able to access the folder which has these files (the
 folder is in my application directory). However, when I upload my
 application to the app engine server, I am denied permission to access
 this folder and files.

 I have tried using os.chmod to change permissions but still nothing
 works.
 What could be the problem?

 -Vaswani
--~--~-~--~~~---~--~~
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: How does one do a != on a StringListProperty

2009-04-10 Thread Tim Hoffman

HI

Unfortunately that won't work.

From the docs you can

In a query, comparing a list property to a value performs the test
against the list members: list_property = value tests if the value
appears anywhere in the list, list_property  value tests if any of
the members of the list are less than the given value, and so forth.

A query cannot compare two list values. There is no way to test two
lists for equality without testing each element for membership
separately.

(ie no != or not in )

In addition because of the way indexing works, you won't have a index
to objects that don't have a specific value.

T

On Apr 11, 12:40 am, molicule molic...@gmail.com wrote:
 Hi,

 In the example below, I have a StringListProperty 'stems' and
 when I try to do a != I do not get the desired result. Where it should
 fetch no
 results it fetches two.

  for q in Mymodel.all().filter(stems !=, purpl).fetch(10): print 
  q.stems

 ...
 [u'blue', u'black', u'green', u'grei', u'purpl']
 [u'blue', u'green', u'orang', u'violet', u'purpl']



 What filter would I need to use to achieve the desired result ?

 Thanks
 S. Sriram
--~--~-~--~~~---~--~~
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: Dynamically retrieve the class of a Model object

2009-04-10 Thread molicule

if db._kind_map.has_key(pigeon):
   # do your thing

db._kind_map.keys() gives you the complete list

S. Sriram

On Apr 9, 6:40 pm, Stephen Cagle same...@gmail.com wrote:
 I have a collection of Model objects. I am wondering if there is any
 way to retrieve one of these Model objects dynamically, using nothing
 more than a string. As a example, say I had a Model object named
 Pigeon in my database, and I did not have a Model object named
 Pooridge. If I called mysteryFx(Pigeon) it would return the class
 reference to Pigeon, if I called mysteryFx(Pooridge) it would return
 None. Does anyone know the innards of mysteryFx?

 Note, I am not interested in importing every existent Model object,
 and then storing them in a dictionary or something like that. I want
 to ask AppEngine if it has a table (kind, whatever) that matches the
 provided string, and if it does, I want it to give me a reference to
 the class implementation that matches said table.

 Thank you
--~--~-~--~~~---~--~~
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: PHP on GAE using Quercus

2009-04-10 Thread Moriyoshi Koizumi

Hi,

Finally I pushed my local work to GitHub. See HOWTO to reproduce the attempt.

http://github.com/moriyoshi/quercus-gae/

Enjoy!
Moriyoshi

On Fri, Apr 10, 2009 at 2:44 AM, moriyoshi m...@mozo.jp wrote:
 Hi,

 Probably this is not a news, but I couldn't find a similar attempt so
 here goes... I managed to get (patched) Quercus [1] to work on GAE.
 This means now you can run considerable number of PHP application.

 I'm going to post further details to my blog (http://d.hatena.ne.jp/
 moriyoshi/  - mostly in Japanese).

 Hope you are interested.
 Moriyoshi

 [1] http://quercus.caucho.com/


--~--~-~--~~~---~--~~
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: Dynamically retrieve the class of a Model object

2009-04-10 Thread molicule

For class introspection check out
http://docs.python.org/library/inspect.html
and
http://www.ibm.com/developerworks/library/l-pyint.html

S. Sriram

On Apr 9, 6:40 pm, Stephen Cagle same...@gmail.com wrote:
 I have a collection of Model objects. I am wondering if there is any
 way to retrieve one of these Model objects dynamically, using nothing
 more than a string. As a example, say I had a Model object named
 Pigeon in my database, and I did not have a Model object named
 Pooridge. If I called mysteryFx(Pigeon) it would return the class
 reference to Pigeon, if I called mysteryFx(Pooridge) it would return
 None. Does anyone know the innards of mysteryFx?

 Note, I am not interested in importing every existent Model object,
 and then storing them in a dictionary or something like that. I want
 to ask AppEngine if it has a table (kind, whatever) that matches the
 provided string, and if it does, I want it to give me a reference to
 the class implementation that matches said table.

 Thank you
--~--~-~--~~~---~--~~
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: List of all logged-in users + filtering that list.

2009-04-10 Thread Jeff S
Hi Salman,

It seems like there would be quite a few ways to detecting when a user is
not longer active in the application and deciding how long without an
incoming request is too long would be up to you.

When you receive an incoming HTTP request in your app, you can check the
current user using the Google accounts API. One suggestion for keeping the
user list fresh could be to have an Ajax request periodically hit the
server, when the user closes the tab/window, the requests would stop flowing
in. Just an idea, you could do this many other ways.

To filter on certain properties of your users, you'll need to have entities
in the datastore with this additional information and associate them with a
user. I'm not sure how much you've used App Engine before, but if you are
completely new to App Engine, the getting started guide's guestbook example
would be a good place to start.

Happy coding,

Jeff

On Fri, Apr 10, 2009 at 7:13 AM, slmnhq salman@gmail.com wrote:


 Hi,

 I am trying to build a community website which has a very familiar
 pattern:
  - it displays the list of all users that are currently logged-in
  - it allows each user to filter the above list by some criteria (eg:
 geo-location, age, etc).

 I've never done this before, so I was hoping somebody could point me
 to articles that talk about the ins-and-outs of these features. Also,
 I want to understand how the DB and Memcache will factor into this.

 One issue that is completely stumping me is when a user may be logged
 in, but has been inactive for a long enough period of time that he/she
 is effectively logged-out and should be removed from the list.

 I will appreciate any ideas.

 Thanks,
 Salman



 


--~--~-~--~~~---~--~~
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: python app upload issues - appcfg.py

2009-04-10 Thread vv

upon adding more debug statements to appcfg.py and urllib2, it seems
like the following http request fails. i am *not* behind a firewall,
so that is probably not the issue. any thoughts?


request =
http://appengine.google.com/api/appversion/create?version=1app_id=unboxer

payload =
api_version: '1'
application: unboxer
handlers:
- static_dir: stylesheets
  url: /stylesheets
- script: main.py
  url: .*
runtime: python
version: '1'

On Apr 10, 12:48 am, vv venu...@gmail.com wrote:
 im having some trouble uploading a locally running program to
 appengine. i'm using python release 2.5.4 and appengine sdk version
 1.1.9. the trace is as below. help much appreciated - vv

 -
 C:\Documents and Settings\venuv\Desktop\google app eng\appsappcfg.py
 --noisy --no_cookies update unboxer
 2009-04-10 00:26:08,983 INFO appengine_rpc.py:120 Server:
 appengine.google.com
 2009-04-10 00:26:08,983 INFO appcfg.py:319 Checking for updates to the
 SDK.
 2009-04-10 00:26:09,108 INFO appcfg.py:328 Update check failed:
 urlopen error (11001, 'getaddrinfo failed')
 2009-04-10 00:26:09,108 INFO appcfg.py:1178 Reading app configuration.
 Scanning files on local disk.
 2009-04-10 00:26:09,108 INFO appcfg.py:1189 Ignoring file 'app.yaml':
 File matches ignore regex.
 2009-04-10 00:26:09,108 INFO appcfg.py:1189 Ignoring file
 'index.yaml': File matches ignore regex.
 2009-04-10 00:26:09,125 INFO appcfg.py:1197 Processing file 'main.py'
 2009-04-10 00:26:09,140 INFO appcfg.py:1197 Processing file
 'stylesheets/main.css'
 2009-04-10 00:26:09,155 INFO appcfg.py:1197 Processing file 'gdata/
 auth.py'
 2009-04-10 00:26:09,171 INFO appcfg.py:1189 Ignoring file 'gdata/
 auth.pyc': File matches ignore regex.
 2009-04-10 00:26:09,171 INFO appcfg.py:1197 Processing file 'gdata/
 service.py'
 2009-04-10 00:26:09,171 INFO appcfg.py:1189 Ignoring file 'gdata/
 service.pyc': File matches ignore regex.
 2009-04-10 00:26:09,187 INFO appcfg.py:1197 Processing file 'gdata/
 urlfetch.py'

 2009-04-10 00:26:09,187 INFO appcfg.py:1189 Ignoring file 'gdata/
 urlfetch.pyc':
 File matches ignore regex.
 2009-04-10 00:26:09,187 INFO appcfg.py:1197 Processing file 'gdata/
 __init__.py'

 2009-04-10 00:26:09,203 INFO appcfg.py:1189 Ignoring file 'gdata/
 __init__.pyc':
 File matches ignore regex.
 2009-04-10 00:26:09,203 INFO appcfg.py:1197 Processing file 'gdata/
 youtube/servi
 ce.py'
 2009-04-10 00:26:09,217 INFO appcfg.py:1189 Ignoring file 'gdata/
 youtube/service.pyc': File matches ignore regex.
 2009-04-10 00:26:09,217 INFO appcfg.py:1197 Processing file 'gdata/
 youtube/__init__.py'
 2009-04-10 00:26:09,217 INFO appcfg.py:1189 Ignoring file 'gdata/
 youtube/__init_
 _.pyc': File matches ignore regex.
 2009-04-10 00:26:09,217 INFO appcfg.py:1197 Processing file 'gdata/
 media/__init_
 _.py'
 2009-04-10 00:26:09,250 INFO appcfg.py:1189 Ignoring file 'gdata/media/
 __init__.
 pyc': File matches ignore regex.
 2009-04-10 00:26:09,250 INFO appcfg.py:1197 Processing file 'gdata/geo/
 __init__.
 py'
 2009-04-10 00:26:09,265 INFO appcfg.py:1189 Ignoring file 'gdata/geo/
 __init__.py
 c': File matches ignore regex.
 2009-04-10 00:26:09,265 INFO appcfg.py:1197 Processing file 'atom/
 service.py'
 2009-04-10 00:26:09,296 INFO appcfg.py:1189 Ignoring file 'atom/
 service.pyc': Fi
 le matches ignore regex.
 2009-04-10 00:26:09,296 INFO appcfg.py:1197 Processing file 'atom/
 __init__.py'
 2009-04-10 00:26:09,312 INFO appcfg.py:1189 Ignoring file 'atom/
 __init__.pyc': F
 ile matches ignore regex.
 2009-04-10 00:26:09,312 INFO appcfg.py:1189 Ignoring file '.idlerc/
 breakpoints.l
 st': File matches ignore regex.
 2009-04-10 00:26:09,312 INFO appcfg.py:1189 Ignoring file '.idlerc/
 recent-files.
 lst': File matches ignore regex.
 Initiating update.
 2009-04-10 00:26:09,328 ERROR appcfg.py:1235 An unexpected error
 occurred. Aborting.
 Traceback (most recent call last):
   File C:\Program Files\Google\google_appengine\google\appengine\tools
 \appcfg.p
 y, line 1213, in DoUpload
     missing_files = self.Begin()
   File C:\Program Files\Google\google_appengine\google\appengine\tools
 \appcfg.py, line 1009, in Begin
     version=self.version, payload=self.config.ToYAML())
   File c:\Program Files\Google\google_appengine\google\appengine\tools
 \appengine_rpc.py, line 303, in Send
     f = self.opener.open(req)
   File C:\Python25\lib\urllib2.py, line 381, in open
     response = self._open(req, data)
   File C:\Python25\lib\urllib2.py, line 399, in _open
     '_open', req)
   File C:\Python25\lib\urllib2.py, line 360, in _call_chain
     result = func(*args)
   File C:\Python25\lib\urllib2.py, line 1107, in http_open
     return self.do_open(httplib.HTTPConnection, req)
   File C:\Python25\lib\urllib2.py, line 1082, in do_open
     raise URLError(err)
 URLError: urlopen error (11001, 'getaddrinfo failed')
 Traceback (most recent call last):
   File C:\Program Files\Google\google_appengine\appcfg.py, line 60,
 in module

     

[google-appengine] Embedded Django 0.96 versus Django 1.0

2009-04-10 Thread Devel63

We've been using Django 0.96 (since it's already available within App
Engine), mostly just to get i18n support.

What are the drawbacks of going all the way to the latest version?
- We have to upload all the files (and I understand there's a zip way
to do that)
- Startup times are even slower when instantiated on a new machine
(how much?)
- Other?

Any key advantages?
- Gaebar requires 1.0
- The registration module requires 1.0
- Other?

Any sense of when/if Google will make this migration themselves?
--~--~-~--~~~---~--~~
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: Monthly cron jobs

2009-04-10 Thread theillustratedlife

In that case:
http://code.google.com/p/googleappengine/issues/detail?id=1261
--~--~-~--~~~---~--~~
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: Embedded Django 0.96 versus Django 1.0

2009-04-10 Thread Andy Freeman

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


On Apr 10, 11:08 am, Devel63 danstic...@gmail.com wrote:
 We've been using Django 0.96 (since it's already available within App
 Engine), mostly just to get i18n support.

 What are the drawbacks of going all the way to the latest version?
 - We have to upload all the files (and I understand there's a zip way
 to do that)
 - Startup times are even slower when instantiated on a new machine
 (how much?)
 - Other?

 Any key advantages?
 - Gaebar requires 1.0
 - The registration module requires 1.0
 - Other?

 Any sense of when/if Google will make this migration themselves?
--~--~-~--~~~---~--~~
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: app upload issues - appcfg.py

2009-04-10 Thread Jeff S
Hi vv,

Are you behind a proxy? It looks like appcfg was unable to perform a DNS
lookup for the App Engine server. Could you give me more information about
your OS and settings.

There are some suggestions mentioned in this issue, but not all of them will
be applicable to your configuration:

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

Thank you,

Jeff

On Thu, Apr 9, 2009 at 10:48 PM, vv venu...@gmail.com wrote:


 im having some trouble uploading a locally running program to
 appengine. i'm using python release 2.5.4 and appengine sdk version
 1.1.9. the trace is as below. help much appreciated - vv

 -
 C:\Documents and Settings\venuv\Desktop\google app eng\appsappcfg.py
 --noisy --no_cookies update unboxer
 2009-04-10 00:26:08,983 INFO appengine_rpc.py:120 Server:
 appengine.google.com
 2009-04-10 00:26:08,983 INFO appcfg.py:319 Checking for updates to the
 SDK.
 2009-04-10 00:26:09,108 INFO appcfg.py:328 Update check failed:
 urlopen error (11001, 'getaddrinfo failed')
 2009-04-10 00:26:09,108 INFO appcfg.py:1178 Reading app configuration.
 Scanning files on local disk.
 2009-04-10 00:26:09,108 INFO appcfg.py:1189 Ignoring file 'app.yaml':
 File matches ignore regex.
 2009-04-10 00:26:09,108 INFO appcfg.py:1189 Ignoring file
 'index.yaml': File matches ignore regex.
 2009-04-10 00:26:09,125 INFO appcfg.py:1197 Processing file 'main.py'
 2009-04-10 00:26:09,140 INFO appcfg.py:1197 Processing file
 'stylesheets/main.css'
 2009-04-10 00:26:09,155 INFO appcfg.py:1197 Processing file 'gdata/
 auth.py'
 2009-04-10 00:26:09,171 INFO appcfg.py:1189 Ignoring file 'gdata/
 auth.pyc': File matches ignore regex.
 2009-04-10 00:26:09,171 INFO appcfg.py:1197 Processing file 'gdata/
 service.py'
 2009-04-10 00:26:09,171 INFO appcfg.py:1189 Ignoring file 'gdata/
 service.pyc': File matches ignore regex.
 2009-04-10 00:26:09,187 INFO appcfg.py:1197 Processing file 'gdata/
 urlfetch.py'

 2009-04-10 00:26:09,187 INFO appcfg.py:1189 Ignoring file 'gdata/
 urlfetch.pyc':
 File matches ignore regex.
 2009-04-10 00:26:09,187 INFO appcfg.py:1197 Processing file 'gdata/
 __init__.py'

 2009-04-10 00:26:09,203 INFO appcfg.py:1189 Ignoring file 'gdata/
 __init__.pyc':
 File matches ignore regex.
 2009-04-10 00:26:09,203 INFO appcfg.py:1197 Processing file 'gdata/
 youtube/servi
 ce.py'
 2009-04-10 00:26:09,217 INFO appcfg.py:1189 Ignoring file 'gdata/
 youtube/service.pyc': File matches ignore regex.
 2009-04-10 00:26:09,217 INFO appcfg.py:1197 Processing file 'gdata/
 youtube/__init__.py'
 2009-04-10 00:26:09,217 INFO appcfg.py:1189 Ignoring file 'gdata/
 youtube/__init_
 _.pyc': File matches ignore regex.
 2009-04-10 00:26:09,217 INFO appcfg.py:1197 Processing file 'gdata/
 media/__init_
 _.py'
 2009-04-10 00:26:09,250 INFO appcfg.py:1189 Ignoring file 'gdata/media/
 __init__.
 pyc': File matches ignore regex.
 2009-04-10 00:26:09,250 INFO appcfg.py:1197 Processing file 'gdata/geo/
 __init__.
 py'
 2009-04-10 00:26:09,265 INFO appcfg.py:1189 Ignoring file 'gdata/geo/
 __init__.py
 c': File matches ignore regex.
 2009-04-10 00:26:09,265 INFO appcfg.py:1197 Processing file 'atom/
 service.py'
 2009-04-10 00:26:09,296 INFO appcfg.py:1189 Ignoring file 'atom/
 service.pyc': Fi
 le matches ignore regex.
 2009-04-10 00:26:09,296 INFO appcfg.py:1197 Processing file 'atom/
 __init__.py'
 2009-04-10 00:26:09,312 INFO appcfg.py:1189 Ignoring file 'atom/
 __init__.pyc': F
 ile matches ignore regex.
 2009-04-10 00:26:09,312 INFO appcfg.py:1189 Ignoring file '.idlerc/
 breakpoints.l
 st': File matches ignore regex.
 2009-04-10 00:26:09,312 INFO appcfg.py:1189 Ignoring file '.idlerc/
 recent-files.
 lst': File matches ignore regex.
 Initiating update.
 2009-04-10 00:26:09,328 ERROR appcfg.py:1235 An unexpected error
 occurred. Aborting.
 Traceback (most recent call last):
  File C:\Program Files\Google\google_appengine\google\appengine\tools
 \appcfg.p
 y, line 1213, in DoUpload
missing_files = self.Begin()
  File C:\Program Files\Google\google_appengine\google\appengine\tools
 \appcfg.py, line 1009, in Begin
version=self.version, payload=self.config.ToYAML())
  File c:\Program Files\Google\google_appengine\google\appengine\tools
 \appengine_rpc.py, line 303, in Send
f = self.opener.open(req)
  File C:\Python25\lib\urllib2.py, line 381, in open
response = self._open(req, data)
  File C:\Python25\lib\urllib2.py, line 399, in _open
'_open', req)
  File C:\Python25\lib\urllib2.py, line 360, in _call_chain
result = func(*args)
  File C:\Python25\lib\urllib2.py, line 1107, in http_open
return self.do_open(httplib.HTTPConnection, req)
  File C:\Python25\lib\urllib2.py, line 1082, in do_open
raise URLError(err)
 URLError: urlopen error (11001, 'getaddrinfo failed')
 Traceback (most recent call last):
  File C:\Program Files\Google\google_appengine\appcfg.py, line 60,
 in module
 
run_file(__file__, globals())
  File C:\Program 

[google-appengine] Re: How to shut the server down

2009-04-10 Thread Jeff S
Hi Banaticus,

How are you executing the dev server and which OS are you using? Was this
for the Python SDK , Java SDK?

Thank you,

Jeff

On Thu, Apr 9, 2009 at 7:10 PM, Banaticus banati...@gmail.com wrote:


 If Ctrl-C doesn't work, after closing the cmd window, apparently
 ending the GoogleUpdater process kills the server.

 


--~--~-~--~~~---~--~~
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: JSF apps

2009-04-10 Thread vhf slayer
2009/4/10 demetrio812 filocamodemet...@gmail.com


 Hi,
 I've successful done the JSF 1.1 running but encountered the same
 problem on JSF 1.2 (http://blog.demetrio.it/2009/03/10/deploying-a-
 jsf-11-app-on-google-app/), here there are the details:

 http://www.seamframework.org/Community/SeamGoogleAppEngine#comment71623

 If someone knows a way to fix it please help :)

 demetrio

 On 9 Apr, 09:28, georges.goe...@gmail.com georges.goe...@gmail.com
 wrote:
   Hi,
 
  I tried to deploy a JSF application to test the new Java App Engine. I
  managed to upload the app but it does not work :-(
 
  when I try to run the app on my local machine './dev_appserver.sh
  myWar' I get the following error (at the end of the post)
 
  I think, he cannot read the jsf config files (faces-config.xml) from
  the web-inf folder
  I added the following to the appengine-web.xml without any luck
 
   static-files
  include path=/**.xml /
  /static-files
  resource-files
  include path=/**.xml /
  /resource-files
 
  Does anybody have a clue ???
 
  009-04-09 10:14:16.180 java[24854:80f] [Java CocoaComponent
  compatibility mode]: Enabled
  2009-04-09 10:14:16.181 java[24854:80f] [Java CocoaComponent
  compatibility mode]: Setting timeout for SWT to 0.10
  Apr 9, 2009 10:14:17 AM com.google.apphosting.utils.jetty.JettyLogger
  warn
  WARNING: Failed startup of context
  com.google.apphosting.utils.jetty.devappenginewebappcont...@94fe42{/,/
  Users/goebel/apache-tomcat-6.0.18/webapps/component-showcase}
  com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
  access denied (java.lang.RuntimePermission modifyThread)
  at
 com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:
  213)
  at com.sun.faces.config.ConfigureListener.contextInitialized
  (ConfigureListener.java:196)
  at org.mortbay.jetty.handler.ContextHandler.startContext
  (ContextHandler.java:530)
  at
 org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
  at org.mortbay.jetty.webapp.WebAppContext.startContext
  (WebAppContext.java:1218)
  at org.mortbay.jetty.handler.ContextHandler.doStart
  (ContextHandler.java:500)
  at
 org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
  448)
  at org.mortbay.component.AbstractLifeCycle.start
  (AbstractLifeCycle.java:40)
  at org.mortbay.jetty.handler.HandlerWrapper.doStart
  (HandlerWrapper.java:117)
  at org.mortbay.component.AbstractLifeCycle.start
  (AbstractLifeCycle.java:40)
  at org.mortbay.jetty.handler.HandlerWrapper.doStart
  (HandlerWrapper.java:117)
  at org.mortbay.jetty.Server.doStart(Server.java:217)
  at org.mortbay.component.AbstractLifeCycle.start
  (AbstractLifeCycle.java:40)
  at
 
 com.google.appengine.tools.development.JettyContainerService.startContainer
  (JettyContainerService.java:147)
  at
  com.google.appengine.tools.development.AbstractContainerService.startup
  (AbstractContainerService.java:115)
  at com.google.appengine.tools.development.DevAppServerImpl.start
  (DevAppServerImpl.java:205)
  at com.google.appengine.tools.development.DevAppServerMain
  $StartAction.apply(DevAppServerMain.java:136)
  at com.google.appengine.tools.util.Parser$ParseResult.applyArgs
  (Parser.java:48)
  at com.google.appengine.tools.development.DevAppServerMain.init
  (DevAppServerMain.java:90)
  at com.google.appengine.tools.development.DevAppServerMain.main
  (DevAppServerMain.java:84)
  Caused by: java.security.AccessControlException: access denied
  (java.lang.RuntimePermission modifyThread)
  at java.security.AccessControlContext.checkPermission
  (AccessControlContext.java:264)
  at java.security.AccessController.checkPermission
  (AccessController.java:427)
  at java.util.concurrent.ThreadPoolExecutor.shutdown
  (ThreadPoolExecutor.java:893)
  at com.sun.faces.config.ConfigManager.getConfigDocuments
  (ConfigManager.java:301)
  at
 com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:
  203)
  ... 19 more
  The server is running athttp://localhost:8080/

 
 I also have the same problem !!!

--~--~-~--~~~---~--~~
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] Can I read the directory structure in the file system?

2009-04-10 Thread James Zhang

Hello, May I ask a question ?

Just like the function readdir() under Linux, Can I read the directory
structure and the sub directory recursively in App Engine file
system . So I can publish the file link in HTML.

Thank you for your help.


--~--~-~--~~~---~--~~
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: Will Google support a relational database in the future?

2009-04-10 Thread ctran

I can definitely see your need.  I know Heroku offers this kind of
service, if you don't mind using Rails :-)

On Apr 9, 1:41 pm, Marcel Overdijk marceloverd...@gmail.com wrote:
 Hi Micheal,

 Just 1 db is fine enough for me.
 I would choose a cloud platform because I don't want to maintain the
 hardware myself and install os, application server etc.
 Or even worse have to put up another application server and have to
 load balance it.

 That's why I like the elasticity of the Cloud. If I would more
 resources, cpu etc. I will pay for it.
 Again 1 db is fine enough, in most web applications I have seen so far
 the application server and web servers are clusters but there is
 always just 1 db.

 So why not support e.g. MySQL as relational database within GAE? ;-)
 I agree a relational database is a very sophisticated technology.
 That's why so many people like it!
 That's also why Amazon support both SimpleDB and e.g. MySQL I guess.
 They had the same questions.

 Whatever hosting environment you choose (shared hosting or nowadays
 cloud, ...) a relational database is always supported (and used by
 many people).
 I don't agree with your statement That is why folks like Microsoft
 and Sun are willing to offer relational databases as part of their
 cloud platforms. There is almost no chance that any customer will
 actually need this.

 Cheers,
 Marcel

 On 9 apr, 19:55, michaelg mike...@gmail.com wrote:

  Horizontal scaling of relational databases is non-trivial and Google
  does not offer it. I can't say if they have something internally that
  could work for some people, but it is such a tricky subject that it
  would be hard to offer a general purpose, turnkey solution. As an
  example, Google donated Hibernate Shards, a layer on top of the
  popular Hibernate ORM that is designed to work with a horizontally
  scaled database. They released this two years ago and it has been
  sitting and rotting ever since.

  However, very few applications actually need a horizontally scaled
  database. That is why folks like Microsoft and Sun are willing to
  offer relational databases as part of their cloud platforms. There is
  almost no chance that any customer will actually need this. And
  chances are that a customer that did need this would probably be well
  past the stage where they would want to use a cloud platform
  anyways...

  As for Amazon, MySQL running on EC2 is not a horizontally scaled
  database. It is a vertically scaled database (i.e. you can make the
  box it runs on bigger, but it is still one DB on one box, plus maybe
  some read slaves.) Again, this is perfect for the vast majority of
  applications. Amazon's SimpleDB is very similar to Google's DataStore.
  It is not relational, but it will scale horizontally. It has many of
  the same restrictions and downsides that DataStore 
  has:http://highscalability.com/current-pros-and-cons-list-simpledb

  Finally, make no mistake that there is no substitute for a relational
  database. RDBMS is very sophisticated technology. There are decades of
  complex mathematics and computer science behind it. Things like joins,
  views, ACID transactions, and integrity constraints are easy to take
  for granted, but not so easy to reproduce/reinvent. Many applications
  can greatly benefit from these standard features of most relational
  databases. Weighing the simplicity and scalability of GAE DataStore
  vs. the benefits of a relational database is one of the most critical
  factors in picking a cloud platform.

--~--~-~--~~~---~--~~
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: app upload issues - appcfg.py

2009-04-10 Thread Jeff S

Moved discussion to this thread:

http://groups.google.com/group/google-appengine-python/browse_thread/thread/1f8b8f69c7999cf5

On Apr 10, 11:19 am, Jeff S j...@google.com wrote:
 Hi vv,

 Are you behind a proxy? It looks like appcfg was unable to perform a DNS
 lookup for the App Engine server. Could you give me more information about
 your OS and settings.

 There are some suggestions mentioned in this issue, but not all of them will
 be applicable to your configuration:

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

 Thank you,

 Jeff

 On Thu, Apr 9, 2009 at 10:48 PM, vv venu...@gmail.com wrote:

  im having some trouble uploading a locally running program to
  appengine. i'm using python release 2.5.4 and appengine sdk version
  1.1.9. the trace is as below. help much appreciated - vv

  -
  C:\Documents and Settings\venuv\Desktop\google app eng\appsappcfg.py
  --noisy --no_cookies update unboxer
  2009-04-10 00:26:08,983 INFO appengine_rpc.py:120 Server:
  appengine.google.com
  2009-04-10 00:26:08,983 INFO appcfg.py:319 Checking for updates to the
  SDK.
  2009-04-10 00:26:09,108 INFO appcfg.py:328 Update check failed:
  urlopen error (11001, 'getaddrinfo failed')
  2009-04-10 00:26:09,108 INFO appcfg.py:1178 Reading app configuration.
  Scanning files on local disk.
  2009-04-10 00:26:09,108 INFO appcfg.py:1189 Ignoring file 'app.yaml':
  File matches ignore regex.
  2009-04-10 00:26:09,108 INFO appcfg.py:1189 Ignoring file
  'index.yaml': File matches ignore regex.
  2009-04-10 00:26:09,125 INFO appcfg.py:1197 Processing file 'main.py'
  2009-04-10 00:26:09,140 INFO appcfg.py:1197 Processing file
  'stylesheets/main.css'
  2009-04-10 00:26:09,155 INFO appcfg.py:1197 Processing file 'gdata/
  auth.py'
  2009-04-10 00:26:09,171 INFO appcfg.py:1189 Ignoring file 'gdata/
  auth.pyc': File matches ignore regex.
  2009-04-10 00:26:09,171 INFO appcfg.py:1197 Processing file 'gdata/
  service.py'
  2009-04-10 00:26:09,171 INFO appcfg.py:1189 Ignoring file 'gdata/
  service.pyc': File matches ignore regex.
  2009-04-10 00:26:09,187 INFO appcfg.py:1197 Processing file 'gdata/
  urlfetch.py'

  2009-04-10 00:26:09,187 INFO appcfg.py:1189 Ignoring file 'gdata/
  urlfetch.pyc':
  File matches ignore regex.
  2009-04-10 00:26:09,187 INFO appcfg.py:1197 Processing file 'gdata/
  __init__.py'

  2009-04-10 00:26:09,203 INFO appcfg.py:1189 Ignoring file 'gdata/
  __init__.pyc':
  File matches ignore regex.
  2009-04-10 00:26:09,203 INFO appcfg.py:1197 Processing file 'gdata/
  youtube/servi
  ce.py'
  2009-04-10 00:26:09,217 INFO appcfg.py:1189 Ignoring file 'gdata/
  youtube/service.pyc': File matches ignore regex.
  2009-04-10 00:26:09,217 INFO appcfg.py:1197 Processing file 'gdata/
  youtube/__init__.py'
  2009-04-10 00:26:09,217 INFO appcfg.py:1189 Ignoring file 'gdata/
  youtube/__init_
  _.pyc': File matches ignore regex.
  2009-04-10 00:26:09,217 INFO appcfg.py:1197 Processing file 'gdata/
  media/__init_
  _.py'
  2009-04-10 00:26:09,250 INFO appcfg.py:1189 Ignoring file 'gdata/media/
  __init__.
  pyc': File matches ignore regex.
  2009-04-10 00:26:09,250 INFO appcfg.py:1197 Processing file 'gdata/geo/
  __init__.
  py'
  2009-04-10 00:26:09,265 INFO appcfg.py:1189 Ignoring file 'gdata/geo/
  __init__.py
  c': File matches ignore regex.
  2009-04-10 00:26:09,265 INFO appcfg.py:1197 Processing file 'atom/
  service.py'
  2009-04-10 00:26:09,296 INFO appcfg.py:1189 Ignoring file 'atom/
  service.pyc': Fi
  le matches ignore regex.
  2009-04-10 00:26:09,296 INFO appcfg.py:1197 Processing file 'atom/
  __init__.py'
  2009-04-10 00:26:09,312 INFO appcfg.py:1189 Ignoring file 'atom/
  __init__.pyc': F
  ile matches ignore regex.
  2009-04-10 00:26:09,312 INFO appcfg.py:1189 Ignoring file '.idlerc/
  breakpoints.l
  st': File matches ignore regex.
  2009-04-10 00:26:09,312 INFO appcfg.py:1189 Ignoring file '.idlerc/
  recent-files.
  lst': File matches ignore regex.
  Initiating update.
  2009-04-10 00:26:09,328 ERROR appcfg.py:1235 An unexpected error
  occurred. Aborting.
  Traceback (most recent call last):
   File C:\Program Files\Google\google_appengine\google\appengine\tools
  \appcfg.p
  y, line 1213, in DoUpload
     missing_files = self.Begin()
   File C:\Program Files\Google\google_appengine\google\appengine\tools
  \appcfg.py, line 1009, in Begin
     version=self.version, payload=self.config.ToYAML())
   File c:\Program Files\Google\google_appengine\google\appengine\tools
  \appengine_rpc.py, line 303, in Send
     f = self.opener.open(req)
   File C:\Python25\lib\urllib2.py, line 381, in open
     response = self._open(req, data)
   File C:\Python25\lib\urllib2.py, line 399, in _open
     '_open', req)
   File C:\Python25\lib\urllib2.py, line 360, in _call_chain
     result = func(*args)
   File C:\Python25\lib\urllib2.py, line 1107, in http_open
     return self.do_open(httplib.HTTPConnection, req)
   File C:\Python25\lib\urllib2.py, line 

[google-appengine] Re: Embedded Django 0.96 versus Django 1.0

2009-04-10 Thread Konrad Martin

Hi Devel63

the appEnginePatch project did it already - using Django 1.0 and even
1.1beta.

Zip, i18n, Django registration, a sample app and much more is
integrated in the app engine patch code .
http://code.google.com/p/app-engine-patch/wiki/Documentation
http://groups.google.com/group/app-engine-patch?

I don't see any important drawbacks. Naturally, if your app is
requested first time, Google needs to unzip your zipped Django pack
what means about 3 seconds additional processing time.

The result is available in Google memcache for about 15 seconds. So if
your app is requested often you get the same reaction time as version
0.96. Applications not requested that often will need about 3 seconds
more to answer first request - an acceptable timespan to my opinion.

Konrad


--~--~-~--~~~---~--~~
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: How to deal with Your application is exceeding a quota: Datastore Indices Count ?

2009-04-10 Thread Tom Wu

Hi Jeff,

I can't get credited back after vacuumed_indexes


Best Regards
Tom Wu


On 4月10日, 上午2時09分, Jeff S j...@google.com wrote:
 Hi Tom,

 I would start by editing the index.yaml file then use

 appcfg.py vacuum_indexes

 to remove indexes from the app which are no longer specified in your
 index.yaml. You might have tried this already, so please let me know if this
 fixes the issue. If not, could you email me your app ID?

 Thank you,

 Jeff

 On Wed, Apr 8, 2009 at 1:43 AM, Tom Wu service.g2...@gmail.com wrote:

  How to deal with  Your application is exceeding a quota: Datastore
  Indices Count ?

  Best Regards
  Tom Wu


--~--~-~--~~~---~--~~
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: How to deal with Your application is exceeding a quota: Datastore Indices Count ?

2009-04-10 Thread Tom Wu

Sorry,

My app is billing enabled.
The indexes still in building status even the kind is empty.


Best Regards
Tom Wu


On 4月10日, 上午2時09分, Jeff S j...@google.com wrote:
 Hi Tom,

 I would start by editing the index.yaml file then use

 appcfg.py vacuum_indexes

 to remove indexes from the app which are no longer specified in your
 index.yaml. You might have tried this already, so please let me know if this
 fixes the issue. If not, could you email me your app ID?

 Thank you,

 Jeff

 On Wed, Apr 8, 2009 at 1:43 AM, Tom Wu service.g2...@gmail.com wrote:

  How to deal with  Your application is exceeding a quota: Datastore
  Indices Count ?

  Best Regards
  Tom Wu


--~--~-~--~~~---~--~~
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: How to shut the server down

2009-04-10 Thread WallyDD

After pressing Ctrl-C, request a page from the server, then it will
stop.

On Apr 9, 10:10 pm, Banaticus banati...@gmail.com wrote:
 If Ctrl-C doesn't work, after closing the cmd window, apparently
 ending the GoogleUpdater process kills the server.
--~--~-~--~~~---~--~~
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 I read the directory structure in the file system?

2009-04-10 Thread Kannaiyan [Kasangadu.com]

Even whatever the current query that is not to the full compatible
with SQL or anything of higher advantage to the user.
Let us wait atleast Proper database we get it. There is no support for
searchable query like 'like' etc.,.

On Apr 10, 12:00 pm, WallyDD shaneb...@gmail.com wrote:
 I don't think this is possible.

 On Apr 10, 12:40 pm, James Zhang maxxxf...@gmail.com wrote:

  Hello, May I ask a question ?

  Just like the function readdir() under Linux, Can I read the directory
  structure and the sub directory recursively in App Engine file
  system . So I can publish the file link in HTML.

  Thank you for your help.
--~--~-~--~~~---~--~~
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: Still no full-text search? Mystified by the priorities.

2009-04-10 Thread Jonathan Feinberg

On Apr 9, 1:21 pm, Adam Sah adam@gmail.com wrote:

 In the meantime, you might consider Google Base

You know, I was going to tell you to get real, but that's not so
crazy. I have two questions for you:

Google base correctly handles unstructured text in its index, with
stemming and legitimate scoring, etc.?

Will there be a pragmatic way for me to get the text data from my
existing 720,000 data items into Google base without blowing through
my CPU quotas?
--~--~-~--~~~---~--~~
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] How to delete the logs of a python application ?/

2009-04-10 Thread ramu

Hi everyone,

I have tried to search the documentation but there doesn't seem a way
to delete the logs of the application. I have downloaded them on my
computer and no longer wants them to cluster a big mess there. Any
idea how to delete them ?

--~--~-~--~~~---~--~~
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 I read the directory structure in the file system?

2009-04-10 Thread Wooble

If you want an RDBMS, you're probably going to be dissatified with App
Engine forever.  Why not use one of the other hosting providers out
there?

On Apr 10, 3:10 pm, Kannaiyan [Kasangadu.com] gbpnk...@gmail.com
wrote:
 Even whatever the current query that is not to the full compatible
 with SQL or anything of higher advantage to the user.
 Let us wait atleast Proper database we get it. There is no support for
 searchable query like 'like' etc.,.

 On Apr 10, 12:00 pm, WallyDD shaneb...@gmail.com wrote:

  I don't think this is possible.

  On Apr 10, 12:40 pm, James Zhang maxxxf...@gmail.com wrote:

   Hello, May I ask a question ?

   Just like the function readdir() under Linux, Can I read the directory
   structure and the sub directory recursively in App Engine file
   system . So I can publish the file link in HTML.

   Thank you for your help.
--~--~-~--~~~---~--~~
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: Spring, Css mapping error, appending index.html.

2009-04-10 Thread Jeff S
Hi paulm,

Would you mind posting your web.xml file and your appengine-web.xml file?
The static files should be mapped in appengine-web.xml (though you can map
them to a default serlet in web.xml). For specific details, see:

http://code.google.com/appengine/docs/java/config/appconfig.html#Static_Files_and_Resource_Files

Thank you,

Jeff


On Fri, Apr 10, 2009 at 8:32 AM, paulm paulmarso...@gmail.com wrote:


 I am using a css file in my jsp file like this:

 link href=css/corp.css rel=stylesheet type=text/css /

 I am getting:

 - No mapping for [/css/corp.css/index.html] in DispatcherServlet with
 name xxx

 I do not know why App Eng appends index.html. Is it because I am using
 Spring Framework for my app eng application? How can I fix the
 problem?

 Same for all images, it is also appending index.html after image file
 names.

 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-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: css mapping error

2009-04-10 Thread Jeff S

Hi Jun,

This looks like the same question as in this thread so I think we'll
consolidate this question here:

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

Thank you,

Jeff

On Apr 9, 6:37 am, Jun junshen2...@gmail.com wrote:
 Hi,

 I am using acssfile in my jsp file like this:

 link href=css/corp.css rel=stylesheet type=text/css /

 But I am gettingerror:

 - Nomappingfor [/css/corp.css/index.html] in DispatcherServlet with
 name xxx

 I do not know why App Eng appends index.html. Is it because I am using
 Spring Framework for my app eng application? How can I fix the
 problem?

 Same for all images, it is also appending index.html after image file
 names.

 Thanks,

 Jun
--~--~-~--~~~---~--~~
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: How to deal with Your application is exceeding a quota: Datastore Indices Count ?

2009-04-10 Thread Jeff S
Hi Tom,

Could you send me the app ID? I'll investigate further.

Thank you,

Jeff

2009/4/10 Tom Wu service.g2...@gmail.com


 Sorry,

 My app is billing enabled.
 The indexes still in building status even the kind is empty.


 Best Regards
 Tom Wu


 On 4月10日, 上午2時09分, Jeff S j...@google.com wrote:
  Hi Tom,
 
  I would start by editing the index.yaml file then use
 
  appcfg.py vacuum_indexes
 
  to remove indexes from the app which are no longer specified in your
  index.yaml. You might have tried this already, so please let me know if
 this
  fixes the issue. If not, could you email me your app ID?
 
  Thank you,
 
  Jeff
 
  On Wed, Apr 8, 2009 at 1:43 AM, Tom Wu service.g2...@gmail.com wrote:
 
   How to deal with  Your application is exceeding a quota: Datastore
   Indices Count ?
 
   Best Regards
   Tom Wu
 
 
 


--~--~-~--~~~---~--~~
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: How to access normal files in google App engine

2009-04-10 Thread Gopal Vaswani
Hi TIm and Konrad,

Thanks for your reply.

Ok, Here is the problem in a bit more detail.
When I have a single (or more) text file/s in my application directory,
appcfg.py uploads the files but if I have a folder inside my application
directory it ignores that folder while updating unless I have specified it
at static_dir in app.yaml.

So my question is How can we upload a directory without specifying it in the
app.yaml.

Regards
Vaswani

On Fri, Apr 10, 2009 at 10:09 AM, Tim Hoffman zutes...@gmail.com wrote:


 Hi

 You can read files but they must be in you appengine application
 directory or a subdirectory.
 of it and then uploaded when you deploy

 You can't chmod and there is no need to.

 Also these files shouldn't be accessible through the static files
 directive in app.yaml (I believe)

 T



 On Apr 10, 12:49 pm, Vaswani gopal.vasw...@gmail.com wrote:
  Hi,
 
  I am a developing a web application which has no database but instead
  uses some text files(.txt) as a data store. While running on my local
  machine, I am able to access the folder which has these files (the
  folder is in my application directory). However, when I upload my
  application to the app engine server, I am denied permission to access
  this folder and files.
 
  I have tried using os.chmod to change permissions but still nothing
  works.
  What could be the problem?
 
  -Vaswani
 


--~--~-~--~~~---~--~~
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: Will Google support a relational database in the future?

2009-04-10 Thread Marcel Overdijk

I'm still not conviced the GAE datastore can suit my needs.
I believe I can do the same at the end of the day, but with a lot of
more manual work...

So I'm still not sure if I will go with GAE or some other solution
(Java hosting like Mor.ph, or PHP) as alternative.

On 10 apr, 19:00, ctran ct...@pragmaquest.com wrote:
 I can definitely see your need.  I know Heroku offers this kind of
 service, if you don't mind using Rails :-)

 On Apr 9, 1:41 pm, Marcel Overdijk marceloverd...@gmail.com wrote:



  Hi Micheal,

  Just 1 db is fine enough for me.
  I would choose a cloud platform because I don't want to maintain the
  hardware myself and install os, application server etc.
  Or even worse have to put up another application server and have to
  load balance it.

  That's why I like the elasticity of the Cloud. If I would more
  resources, cpu etc. I will pay for it.
  Again 1 db is fine enough, in most web applications I have seen so far
  the application server and web servers are clusters but there is
  always just 1 db.

  So why not support e.g. MySQL as relational database within GAE? ;-)
  I agree a relational database is a very sophisticated technology.
  That's why so many people like it!
  That's also why Amazon support both SimpleDB and e.g. MySQL I guess.
  They had the same questions.

  Whatever hosting environment you choose (shared hosting or nowadays
  cloud, ...) a relational database is always supported (and used by
  many people).
  I don't agree with your statement That is why folks like Microsoft
  and Sun are willing to offer relational databases as part of their
  cloud platforms. There is almost no chance that any customer will
  actually need this.

  Cheers,
  Marcel

  On 9 apr, 19:55, michaelg mike...@gmail.com wrote:

   Horizontal scaling of relational databases is non-trivial and Google
   does not offer it. I can't say if they have something internally that
   could work for some people, but it is such a tricky subject that it
   would be hard to offer a general purpose, turnkey solution. As an
   example, Google donated Hibernate Shards, a layer on top of the
   popular Hibernate ORM that is designed to work with a horizontally
   scaled database. They released this two years ago and it has been
   sitting and rotting ever since.

   However, very few applications actually need a horizontally scaled
   database. That is why folks like Microsoft and Sun are willing to
   offer relational databases as part of their cloud platforms. There is
   almost no chance that any customer will actually need this. And
   chances are that a customer that did need this would probably be well
   past the stage where they would want to use a cloud platform
   anyways...

   As for Amazon, MySQL running on EC2 is not a horizontally scaled
   database. It is a vertically scaled database (i.e. you can make the
   box it runs on bigger, but it is still one DB on one box, plus maybe
   some read slaves.) Again, this is perfect for the vast majority of
   applications. Amazon's SimpleDB is very similar to Google's DataStore.
   It is not relational, but it will scale horizontally. It has many of
   the same restrictions and downsides that DataStore 
   has:http://highscalability.com/current-pros-and-cons-list-simpledb

   Finally, make no mistake that there is no substitute for a relational
   database. RDBMS is very sophisticated technology. There are decades of
   complex mathematics and computer science behind it. Things like joins,
   views, ACID transactions, and integrity constraints are easy to take
   for granted, but not so easy to reproduce/reinvent. Many applications
   can greatly benefit from these standard features of most relational
   databases. Weighing the simplicity and scalability of GAE DataStore
   vs. the benefits of a relational database is one of the most critical
   factors in picking a cloud platform.- Tekst uit oorspronkelijk bericht 
   niet weergeven -

 - Tekst uit oorspronkelijk bericht weergeven -
--~--~-~--~~~---~--~~
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: Will Google support a relational database in the future?

2009-04-10 Thread Rubem Azenha
Marcel,

Many high performace scalable efficient web 2.0 websites developers
recomend no using sum, avg, etc aggregate functions functions.

On Wed, Apr 8, 2009 at 4:31 PM, Marcel Overdijk marceloverd...@gmail.comwrote:


 Maybe for performance the datastore as it is now is best.
 But when working with data (e.g. aggregate functions like sum, avg
 etc.) a relational database has also advantages.


 On 8 apr, 19:58, Andrew Badera and...@badera.us wrote:
  It might not make sence but it certainly makes sense when you're
 living
  in a world full of RDBMS, and want to make the barrier to entry as low as
  possible.
 
  Thanks-
  - Andy Badera
  - and...@badera.us
  - Google me:http://www.google.com/search?q=andrew+badera
 
  Sent from Albany, NY, United States
 
  On Wed, Apr 8, 2009 at 1:56 PM, Barry Hunter 
 barrybhun...@googlemail.comwrote:
 
 
 
 
 
   similar, but it wouldnt make sence to have two database backends.-
 Tekst uit oorspronkelijk bericht niet weergeven -
 
  - Tekst uit oorspronkelijk bericht weergeven -
 



-- 
http://razenha.wordpress.com/
Norman Mailerhttp://www.brainyquote.com/quotes/authors/n/norman_mailer.html
- Writing books is the closest men ever come to childbearing.

--~--~-~--~~~---~--~~
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 I read the directory structure in the file system?

2009-04-10 Thread Tim Hoffman

You can read files, not directories.

You don't need to manually do this, you can
just reference the directory with the static directive in app.yaml.

You won't be able to present a list of files this way.
Though because you can only add files in your dev environment you know
them
all of them exist already, so you could create a static html page with
links to all
of the static files in the directory and then upload that when the app
is deployed.

Making gae a static html server isn't really super appropriate  ;-)

T




On Apr 11, 12:40 am, James Zhang maxxxf...@gmail.com wrote:
 Hello, May I ask a question ?

 Just like the function readdir() under Linux, Can I read the directory
 structure and the sub directory recursively in App Engine file
 system . So I can publish the file link in HTML.

 Thank you for your help.
--~--~-~--~~~---~--~~
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: How to access normal files in google App engine

2009-04-10 Thread Tim Hoffman

Hi

In my apps I have heaps of templates in a folder, and don't need to
specify anything
to get them uploaded.  (You will note the same with any django based
app - mines not)

How do you know it is being ignored ?

How do you plan to access them (as templates ?) once they are uploaded


Do these text files have strange extensions on them ?

As long as they are in the app folder or subfolder they will get
uploaded (sames as any python code, zcml, etc,..)

T

On Apr 11, 6:22 am, Gopal Vaswani gopal.vasw...@gmail.com wrote:
 Hi TIm and Konrad,

 Thanks for your reply.

 Ok, Here is the problem in a bit more detail.
 When I have a single (or more) text file/s in my application directory,
 appcfg.py uploads the files but if I have a folder inside my application
 directory it ignores that folder while updating unless I have specified it
 at static_dir in app.yaml.

 So my question is How can we upload a directory without specifying it in the
 app.yaml.

 Regards
 Vaswani

 On Fri, Apr 10, 2009 at 10:09 AM, Tim Hoffman zutes...@gmail.com wrote:

  Hi

  You can read files but they must be in you appengine application
  directory or a subdirectory.
  of it and then uploaded when you deploy

  You can't chmod and there is no need to.

  Also these files shouldn't be accessible through the static files
  directive in app.yaml (I believe)

  T

  On Apr 10, 12:49 pm, Vaswani gopal.vasw...@gmail.com wrote:
   Hi,

   I am a developing a web application which has no database but instead
   uses some text files(.txt) as a data store. While running on my local
   machine, I am able to access the folder which has these files (the
   folder is in my application directory). However, when I upload my
   application to the app engine server, I am denied permission to access
   this folder and files.

   I have tried using os.chmod to change permissions but still nothing
   works.
   What could be the problem?

   -Vaswani
--~--~-~--~~~---~--~~
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: List of all logged-in users + filtering that list.

2009-04-10 Thread Tim Hoffman

How about writing or updating a memcache entry for each user and
specifying a lifetime,
each time they view a page.

The use these entries to see if a user is logged in.

You will need datastore entities representing each user.

The trick will be doing an efficient intersection between all the user
entities and those that are
have an entry in memcache,

Just an idea

T

On Apr 10, 10:13 pm, slmnhq salman@gmail.com wrote:
 Hi,

 I am trying to build a community website which has a very familiar
 pattern:
  - it displays the list of all users that are currently logged-in
  - it allows each user to filter the above list by some criteria (eg:
 geo-location, age, etc).

 I've never done this before, so I was hoping somebody could point me
 to articles that talk about the ins-and-outs of these features. Also,
 I want to understand how the DB and Memcache will factor into this.

 One issue that is completely stumping me is when a user may be logged
 in, but has been inactive for a long enough period of time that he/she
 is effectively logged-out and should be removed from the list.

 I will appreciate any ideas.

 Thanks,
 Salman
--~--~-~--~~~---~--~~
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] App Engine Security

2009-04-10 Thread vij...@gmail.com

Hi

I am very interested in the app engine and the cloud computing
approach. However, I have a question regarding Google data centre
security.

I work in the insurance / financial services sector and when I have to
pitch solutions to clients, often managers, especially ones who are
not very technical, ask about the security at the data centre. They
wouldn't know or probably even care or understand the answers;
however, they look at industry certifications.

Basically, I need to name-drop certifications in lieu of technical
talk. I was wondering which certifications of the google data centres
I could talk about.

Thanks

Regards

vw


--~--~-~--~~~---~--~~
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] Could you give me an idea?

2009-04-10 Thread Daniel F. Pigatto
Hi everyone,

I'm Brazilian and I'm starting to use Google App Engine right now.

I'm a student of Computing and my thesis will be about Cloud Computing. A
good example of that new technology is the GAE, of course. I want to create
a simple application on GAE in order to use it as example in my thesis. I'm
learning Python and I think it won't be difficult, because my application
can be very simple.

Is there someone who could give me an idea of application to develop?

Thanks and sorry because my English is not so good yet.

-- 
Daniel

--~--~-~--~~~---~--~~
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: Google Gadgets running GAE app via URL, problems with authentication cookies in IE

2009-04-10 Thread Nash-t

bump.

Safari would still be a problem but.. anybody get p3p headers to
work on appspot logins?


On Mar 31, 5:01 pm, Jim jeb62...@gmail.com wrote:
 Hi,

 I've created an appliation using Google App Engine that integrates
 with Google Accounts using login/logout URLs as described 
 here:http://code.google.com/appengine/docs/python/users/loginurls.html.
 Everything works great when running the application directly.  You can
 check out the app here:  http://www.paymeplz.com/free

 But recently I decided to build a Google Gadget that contains a
 snippet of my functionality in a the home Gadget view, and the whole
 thing in the canvas view using the URL approach to defining my
 Gadget .xml file as described 
 here:http://code.google.com/apis/gadgets/docs/fundamentals.html#Content_Type
 The gadget resides here:http://www.paymeplz.com/gadget.xml

 It worked fine under Firefox and Chrome, but when I ran the Gadget
 under IE I discovered that the login functionality didn't work.  I
 could follow the login URL to the Google Account login page, login and
 when re-directed back to my app the users.get_current_user() function
 would return nothing as if the user wasn't logged in.

 I quickly suspected cookies and dug around to discover the fact that
 IE, starting with version 6, started blocking third party cookies
 that didn't have a W3C P3P policy.  I've never dealt with cookies much
 before, and I definitely wasn't familiar with P3P policies and how
 they impact delivery of cookies between servers and browsers.  This
 site describes it well:http://www.p3ptoolbox.org/guide/section2.shtml

 After some research into the P3P topic, I realized I needed to
 configure a P3P policy and deploy it on my App Engine site.  A little
 trial, error and free software from IBM got my policy setup and
 visible to the browsers including IE.  But my cookies were still
 getting blocked by IE when running in the iGoogle Gadget container
 (ie. a third party cookie).

 Further research revealed that IE looks not only at the P3P policy
 files stored on your server, as required by the W3C specification,
 they also require a Compact Policy to be embedded in the HTTP HEADER
 response from the server to the browser.  A little poking around the
 Python doc revealed the self.response.headers.add_header() function
 which allowed me to send the requisite P3P headers for the Compact
 Policy.

 After these steps IE would allow my cookies through.  Hooray!  Right?
 Wrong.  Then I found that my cookies were still getting blocked during
 the login process.  Here's why: IE requires both the policy files on
 the server and the Compact Policy in the HTTP HEADER.  And the only
 way to set the HTTP header is programatically in the request
 handler .py program.  Handler progams for the URLs used in the Login
 process reside in the reserved _ah directory which cannot be accessed
 as described here:  
 http://code.google.com/appengine/docs/python/tools/configuration.html...

 So, the pages I emit from my .py programs can get cookies through to
 IE under a Gadget, but it's all for naught if the crucial Login step
 can't get it's cookie through.

 Is there any way to set the default HTTP HEADERs for my entire app
 through some configuration setting?  Or is there a way to over-ride
 the HEADERs in the responses generated by the login programs in
 _ah?    Any other suggestions?

 Thanks for your time,

 Jim
--~--~-~--~~~---~--~~
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: Will Google support a relational database in the future?

2009-04-10 Thread Brett Morgan
What do you mean by manual work?
Pushing calculations from read time to write time makes sense in that reads
seriously out number writes for most web applications.

On Sat, Apr 11, 2009 at 8:47 AM, Marcel Overdijk
marceloverd...@gmail.comwrote:


 I'm still not conviced the GAE datastore can suit my needs.
 I believe I can do the same at the end of the day, but with a lot of
 more manual work...

 So I'm still not sure if I will go with GAE or some other solution
 (Java hosting like Mor.ph, or PHP) as alternative.

 On 10 apr, 19:00, ctran ct...@pragmaquest.com wrote:
  I can definitely see your need.  I know Heroku offers this kind of
  service, if you don't mind using Rails :-)
 
  On Apr 9, 1:41 pm, Marcel Overdijk marceloverd...@gmail.com wrote:
 
 
 
   Hi Micheal,
 
   Just 1 db is fine enough for me.
   I would choose a cloud platform because I don't want to maintain the
   hardware myself and install os, application server etc.
   Or even worse have to put up another application server and have to
   load balance it.
 
   That's why I like the elasticity of the Cloud. If I would more
   resources, cpu etc. I will pay for it.
   Again 1 db is fine enough, in most web applications I have seen so far
   the application server and web servers are clusters but there is
   always just 1 db.
 
   So why not support e.g. MySQL as relational database within GAE? ;-)
   I agree a relational database is a very sophisticated technology.
   That's why so many people like it!
   That's also why Amazon support both SimpleDB and e.g. MySQL I guess.
   They had the same questions.
 
   Whatever hosting environment you choose (shared hosting or nowadays
   cloud, ...) a relational database is always supported (and used by
   many people).
   I don't agree with your statement That is why folks like Microsoft
   and Sun are willing to offer relational databases as part of their
   cloud platforms. There is almost no chance that any customer will
   actually need this.
 
   Cheers,
   Marcel
 
   On 9 apr, 19:55, michaelg mike...@gmail.com wrote:
 
Horizontal scaling of relational databases is non-trivial and Google
does not offer it. I can't say if they have something internally that
could work for some people, but it is such a tricky subject that it
would be hard to offer a general purpose, turnkey solution. As an
example, Google donated Hibernate Shards, a layer on top of the
popular Hibernate ORM that is designed to work with a horizontally
scaled database. They released this two years ago and it has been
sitting and rotting ever since.
 
However, very few applications actually need a horizontally scaled
database. That is why folks like Microsoft and Sun are willing to
offer relational databases as part of their cloud platforms. There is
almost no chance that any customer will actually need this. And
chances are that a customer that did need this would probably be well
past the stage where they would want to use a cloud platform
anyways...
 
As for Amazon, MySQL running on EC2 is not a horizontally scaled
database. It is a vertically scaled database (i.e. you can make the
box it runs on bigger, but it is still one DB on one box, plus maybe
some read slaves.) Again, this is perfect for the vast majority of
applications. Amazon's SimpleDB is very similar to Google's
 DataStore.
It is not relational, but it will scale horizontally. It has many of
the same restrictions and downsides that DataStore has:
 http://highscalability.com/current-pros-and-cons-list-simpledb
 
Finally, make no mistake that there is no substitute for a relational
database. RDBMS is very sophisticated technology. There are decades
 of
complex mathematics and computer science behind it. Things like
 joins,
views, ACID transactions, and integrity constraints are easy to take
for granted, but not so easy to reproduce/reinvent. Many applications
can greatly benefit from these standard features of most relational
databases. Weighing the simplicity and scalability of GAE DataStore
vs. the benefits of a relational database is one of the most critical
factors in picking a cloud platform.- Tekst uit oorspronkelijk
 bericht niet weergeven -
 
  - Tekst uit oorspronkelijk bericht weergeven -
 



-- 

Brett Morgan http://brett.morgan.googlepages.com/

--~--~-~--~~~---~--~~
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: How to access normal files in google App engine

2009-04-10 Thread Konrad Martin

Hi Vaswani ant Tim

On 11 Apr., 01:56, Tim Hoffman zutes...@gmail.com wrote:
 How do you know it is being ignored ?

How could you know, that's my key question too, as to my knowledge
there is no way to `see` what's uploaded.

When uploading my experience is you either get an error message or
everything in the root and its subfolders is uploaded, at least `not
uploaded data' never happened to me.


Programmig for a high scalable distributed network is just diffrerent.
Some simple tasks, taken for granted on a single machine, just don't
work there. It`s impossible to have a look on all your uploaded
folders for example.

So working with appEngine you better try not to transfer existing
concepts but to build on small steps. Break up your program into small
steps and try each step on its own. If it's working on appEngine OK,
if not read appEngine docs and google for a working solution to reach
your target.

To be more specific you need to copy code and error messages related
to your problem.

Konrad

--~--~-~--~~~---~--~~
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 I read the directory structure in the file system?

2009-04-10 Thread James Zhang

Oh,,sounds a bad news. Anyway, thanks to all of you.

On Apr 11, 7:51 am, Tim Hoffman zutes...@gmail.com wrote:
 You can read files, not directories.

 You don't need to manually do this, you can
 just reference the directory with the static directive in app.yaml.

 You won't be able to present a list of files this way.
 Though because you can only add files in your dev environment you know
 them
 all of them exist already, so you could create a static html page with
 links to all
 of the static files in the directory and then upload that when the app
 is deployed.

 Making gae a static html server isn't really super appropriate  ;-)

 T

 On Apr 11, 12:40 am, James Zhang maxxxf...@gmail.com wrote:

  Hello, May I ask a question ?

  Just like the function readdir() under Linux, Can I read the directory
  structure and the sub directory recursively in App Engine file
  system . So I can publish the file link in HTML.

  Thank you for your help.
--~--~-~--~~~---~--~~
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 I read the directory structure in the file system?

2009-04-10 Thread Konrad Martin

Hi Tim,

On 11 Apr., 01:51, Tim Hoffman zutes...@gmail.com wrote:
 Making gae a static html server isn't really super appropriate  ;-)

In my view it's a quite attractive possibility to use one of your ten
appNames as nice file host.

You got 1 GB free space for up to 1,000 files with up to 10 MB each.

To demonstrate usage of appEngine as file host and for static html I
wrote a little demo, you can download from:
http://benchstat.appspot.com/fileHost/09/04/11/staticDemoVers1.zip
Unzip and follow readme.

Konrad

--~--~-~--~~~---~--~~
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: Could you give me an idea?

2009-04-10 Thread 风笑雪
Maybe you can study its datastore, which called bigtable. It's much
difference from relationship database.
I can give you an example: http://acgpedia.appspot.com/

And you can find source here:http://www.keakon.cn/bbs/thread-716-1-1.html

Well, it's written in Chinese, you can translate it by Google.

Good luck~

2009/4/11 Daniel F. Pigatto dhann...@gmail.com

 Hi everyone,

 I'm Brazilian and I'm starting to use Google App Engine right now.

 I'm a student of Computing and my thesis will be about Cloud Computing. A
 good example of that new technology is the GAE, of course. I want to create
 a simple application on GAE in order to use it as example in my thesis. I'm
 learning Python and I think it won't be difficult, because my application
 can be very simple.

 Is there someone who could give me an idea of application to develop?

 Thanks and sorry because my English is not so good yet.

 --
 Daniel

 


--~--~-~--~~~---~--~~
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: How to deal with Your application is exceeding a quota: Datastore Indices Count ?

2009-04-10 Thread service G2100
Hi Jeff,

My app ID  is gae0081. Thanks in advance.


Best Regards
Tom Wu


2009/4/11 Jeff S j...@google.com

 Hi Tom,

 Could you send me the app ID? I'll investigate further.

 Thank you,

 Jeff

 2009/4/10 Tom Wu service.g2...@gmail.com


 Sorry,

 My app is billing enabled.
 The indexes still in building status even the kind is empty.


 Best Regards
 Tom Wu


 On 4月10日, 上午2時09分, Jeff S j...@google.com wrote:
  Hi Tom,
 
  I would start by editing the index.yaml file then use
 
  appcfg.py vacuum_indexes
 
  to remove indexes from the app which are no longer specified in your
  index.yaml. You might have tried this already, so please let me know if
 this
  fixes the issue. If not, could you email me your app ID?
 
  Thank you,
 
  Jeff
 
  On Wed, Apr 8, 2009 at 1:43 AM, Tom Wu service.g2...@gmail.com wrote:
 
   How to deal with  Your application is exceeding a quota: Datastore
   Indices Count ?
 
   Best Regards
   Tom Wu
 
 



 


--~--~-~--~~~---~--~~
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: How to delete the logs of a python application ?/

2009-04-10 Thread 风笑雪
You just can't delete them, Google don't offer this operation(maybe for
safety reason).

2009/4/11 ramu rslet...@gmail.com


 Hi everyone,

 I have tried to search the documentation but there doesn't seem a way
 to delete the logs of the application. I have downloaded them on my
 computer and no longer wants them to cluster a big mess there. Any
 idea how to delete them ?

 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---