[google-appengine] multi-tenant data model

2009-03-02 Thread wei

Hi,

I want to create a business application designed for multiple
companies. When I design the data model for big table, I wonder if
there is any best practice on multi-tenant data model. Shall I create
several columns (user, organization) for each table(model), and return
the data only belong to this particular user and organization? or
shall I create model using polymodel and create a subclass for each
company?

when a company want to customize the data model, how should I do it?
Option A: use expando to add dynamic column, maintain a list user
defined columns in a separate meta data table.
Option B: Use a text column to store a JSON for all additional columns
user want. Any other better options?

wei
--~--~-~--~~~---~--~~
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: using keys in an IN statement

2009-03-02 Thread ryan

On Mar 1, 11:06 am, pedepy  wrote:
> I would like to fetch results only against a particular subset of
> keys. I'm trying to use 'WHERE __key__ IN (:1), list_of_keys ... the
> gql object accepts that as a valid query, but returns no result..

hmm, __key__ IN ... works for me. from http://shell.appspot.com/ :

>>> class Foo(db.Expando):
  pass
>>> foos = Foo.all().filter('x >', 0).fetch(3)
>>> keys = [f.key() for f in foos]
>>> keys
[datastore_types.Key.from_path('Foo', 32425L, _app=u'shell'),
datastore_types.Key.from_path('Foo', 33376L, _app=u'shell'),
datastore_types.Key.from_path('Foo', 33399L, _app=u'shell')]
>>> got = Foo.gql('where __key__ in :1', keys).fetch(3)
>>> [f.key() for f in got]
[datastore_types.Key.from_path('Foo', 32425L, _app=u'shell'),
datastore_types.Key.from_path('Foo', 33376L, _app=u'shell'),
datastore_types.Key.from_path('Foo', 33399L, _app=u'shell')]


out of curiosity, are you actually including those parentheses around :
1 in your GQL query?

--~--~-~--~~~---~--~~
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: Brazil and Hong Kong now supported for Billing

2009-03-02 Thread Tony

Good!

On Mar 3, 8:21 am, Brett Slatkin  wrote:
> Hey there,
>
> At launch, Brazil and Hong Kong were not in our list of supported
> countries for billing. I'm happy to announce that application
> administrators in these countries may now purchase additional
> resources for App Engine. Thanks for your patience!
>
> -Brett
>
> Google App Engine Team
--~--~-~--~~~---~--~~
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] Which server errors are reflected in the Dashboard?

2009-03-02 Thread Bill

After the timeouts and 502 server errors today, I've been looking at
the dashboard area "Errors" and the logs.  Some (not all) of my own
warnings made it into the logs, but the "Errors" area didn't reflect
any of the turmoil.

In the documentation (http://code.google.com/appengine/kb/
general.html#erroruris), it says:

"If any error occurs when attempting to load a URI, our system records
that error. We then show the URIs that record the most errors in the
past 24 hrs in the admin console."

What errors are not covered?  I'd like to know so I don't get a false
sense of security if nothing shows in logs or dashboard but my users
are severely affected.

Thanks,
Bill
--~--~-~--~~~---~--~~
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: 502 Server Errors after upgrade?

2009-03-02 Thread Brenton

Still bad for us at insightdining.
--~--~-~--~~~---~--~~
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: LinkProperty and Null/None values.

2009-03-02 Thread Ian Lewis
Thanks for creating the issue Bill.

On Tue, Mar 3, 2009 at 2:19 PM, Bill  wrote:

>
> I've seen at least one Google team member in this forum saying that's
> the way it is and use string if you want it to be None.  That doesn't
> prevent us, though, from starting an issue:
>
> http://code.google.com/p/googleappengine/issues/detail?id=1117
>
> Star it if you'd like the default behavior to change.
> -Bill
>
> On Mar 2, 8:42 pm, Ian Lewis  wrote:
> > Bill,
> >
> > Agreed.
> >
> > But if it's by design then is there a design that says so? like
> > documentation? Otherwise I might consider it a bug.
> >
> > Ian
> >
> >
> >
> > On Tue, Mar 3, 2009 at 4:34 AM, Bill  wrote:
> >
> > > Ian,
> >
> > > This is by design and one of my peeves at the moment.  A number of the
> > > datastore properties will throw an exception when given None values,
> > > so it makes them useless for storing optional properties.  I think I
> > > ran into the same problem with LinkProperty and EmailProperty.  The
> > > general solution is to just use a StringProperty.  You could use a
> > > "None" marker like "http://nolink"; or "not specified" depending on
> > > validation of the property, but I find this less appealing.
> >
> > > -Bill
> >
> > > On Mar 2, 4:22 am, Ian Lewis  wrote:
> > > > I have a model set up with a LinkProperty which is not required
> however
> > > when
> > > > trying to save the entity with a value of None I get a BadValue error
> > > saying
> > > > the Link cannot be empty. Is this by design and/or documented
> somewhere?
> >
> > > > ...
> > > > class Profile(db.Model):
> > > >   ...
> > > >   homepage = db.LinkProperty(verbose_name=_(u"Homepage
> > > URL"),required=False)
> > > >   ...
> >
> > --
> > ===
> > 株式会社ビープラウド  イアン・ルイス
> > 〒150-0012
> > 東京都渋谷区広尾1-11-2アイオス広尾ビル604
> > email: ianmle...@beproud.jp
> > TEL:03-5795-2707
> > FAX:03-5795-2708http://www.beproud.jp/
> > ===
> >
>


-- 
===
株式会社ビープラウド  イアン・ルイス
〒150-0012
東京都渋谷区広尾1-11-2アイオス広尾ビル604
email: ianmle...@beproud.jp
TEL:03-5795-2707
FAX:03-5795-2708
http://www.beproud.jp/
===

--~--~-~--~~~---~--~~
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: LinkProperty and Null/None values.

2009-03-02 Thread Bill

I've seen at least one Google team member in this forum saying that's
the way it is and use string if you want it to be None.  That doesn't
prevent us, though, from starting an issue:

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

Star it if you'd like the default behavior to change.
-Bill

On Mar 2, 8:42 pm, Ian Lewis  wrote:
> Bill,
>
> Agreed.
>
> But if it's by design then is there a design that says so? like
> documentation? Otherwise I might consider it a bug.
>
> Ian
>
>
>
> On Tue, Mar 3, 2009 at 4:34 AM, Bill  wrote:
>
> > Ian,
>
> > This is by design and one of my peeves at the moment.  A number of the
> > datastore properties will throw an exception when given None values,
> > so it makes them useless for storing optional properties.  I think I
> > ran into the same problem with LinkProperty and EmailProperty.  The
> > general solution is to just use a StringProperty.  You could use a
> > "None" marker like "http://nolink"; or "not specified" depending on
> > validation of the property, but I find this less appealing.
>
> > -Bill
>
> > On Mar 2, 4:22 am, Ian Lewis  wrote:
> > > I have a model set up with a LinkProperty which is not required however
> > when
> > > trying to save the entity with a value of None I get a BadValue error
> > saying
> > > the Link cannot be empty. Is this by design and/or documented somewhere?
>
> > > ...
> > > class Profile(db.Model):
> > >   ...
> > >   homepage = db.LinkProperty(verbose_name=_(u"Homepage
> > URL"),required=False)
> > >   ...
>
> --
> ===
> 株式会社ビープラウド  イアン・ルイス
> 〒150-0012
> 東京都渋谷区広尾1-11-2アイオス広尾ビル604
> email: ianmle...@beproud.jp
> TEL:03-5795-2707
> FAX:03-5795-2708http://www.beproud.jp/
> ===
--~--~-~--~~~---~--~~
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: scheduled maintenance

2009-03-02 Thread yobin
Hi, My app still 403,but  my App is not Over Quota

url:http://yiqichao.appspot.com/

Could you help me to solve this problem? Thanks

 

  Over Quota
  This Google App Engine application is temporarily over its serving quota. 
Please try again later. 







- Original Message - 
From: "Pete Koomen" 
To: "Google App Engine" 
Sent: Tuesday, March 03, 2009 12:48 PM
Subject: [google-appengine] Re: scheduled maintenance


> 
> Hi all,
> 
> Thanks very much for your posts--we're definitely reading.
> 
> Regarding the timing of our scheduled maintenance, we try our best to
> pick times that will have the smallest effect on our developers.  This
> isn't easy and, as you've pointed out, it's never going to work
> seamlessly for everyone.
> 
> Regarding the existence of scheduled maintenance--we completely
> agree.  We're working on eliminating the need for these and will keep
> you posted on our progress.  For now, you can subscribe to our
> downtime-notify group:
> 
> http://groups.google.com/group/google-appengine-downtime-notify
> 
> and monitor our system status page:
> 
> http://code.google.com/status/appengine
> 
> for updates.
> 
> Thanks,
> Pete Koomen, App Engine Team
> 
> On Mar 2, 8:11 pm, GregF  wrote:
>> My rant about the same thing here...
>>
>> http://groups.google.com/group/google-appengine/browse_thread/thread/...
> >
--~--~-~--~~~---~--~~
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: scheduled maintenance

2009-03-02 Thread Pete Koomen

Hi all,

Thanks very much for your posts--we're definitely reading.

Regarding the timing of our scheduled maintenance, we try our best to
pick times that will have the smallest effect on our developers.  This
isn't easy and, as you've pointed out, it's never going to work
seamlessly for everyone.

Regarding the existence of scheduled maintenance--we completely
agree.  We're working on eliminating the need for these and will keep
you posted on our progress.  For now, you can subscribe to our
downtime-notify group:

http://groups.google.com/group/google-appengine-downtime-notify

and monitor our system status page:

http://code.google.com/status/appengine

for updates.

Thanks,
Pete Koomen, App Engine Team

On Mar 2, 8:11 pm, GregF  wrote:
> My rant about the same thing here...
>
> http://groups.google.com/group/google-appengine/browse_thread/thread/...
--~--~-~--~~~---~--~~
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: LinkProperty and Null/None values.

2009-03-02 Thread Ian Lewis
Bill,

Agreed.

But if it's by design then is there a design that says so? like
documentation? Otherwise I might consider it a bug.

Ian

On Tue, Mar 3, 2009 at 4:34 AM, Bill  wrote:

>
> Ian,
>
> This is by design and one of my peeves at the moment.  A number of the
> datastore properties will throw an exception when given None values,
> so it makes them useless for storing optional properties.  I think I
> ran into the same problem with LinkProperty and EmailProperty.  The
> general solution is to just use a StringProperty.  You could use a
> "None" marker like "http://nolink"; or "not specified" depending on
> validation of the property, but I find this less appealing.
>
> -Bill
>
> On Mar 2, 4:22 am, Ian Lewis  wrote:
> > I have a model set up with a LinkProperty which is not required however
> when
> > trying to save the entity with a value of None I get a BadValue error
> saying
> > the Link cannot be empty. Is this by design and/or documented somewhere?
> >
> > ...
> > class Profile(db.Model):
> >   ...
> >   homepage = db.LinkProperty(verbose_name=_(u"Homepage
> URL"),required=False)
> >   ...
> >
>


-- 
===
株式会社ビープラウド  イアン・ルイス
〒150-0012
東京都渋谷区広尾1-11-2アイオス広尾ビル604
email: ianmle...@beproud.jp
TEL:03-5795-2707
FAX:03-5795-2708
http://www.beproud.jp/
===

--~--~-~--~~~---~--~~
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 do disable cache on urlfetch?

2009-03-02 Thread lenza

Turns out that this issue is in the issue tracker:

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

The answer is to make your request in the following manner:

   result = urlfetch.fetch(url, headers = {'Cache-Control' : 'max-
age=300'})

Where "max-age" is the oldest you want data returned from the cache to
be.


On Mar 2, 6:41 pm, admin go2  wrote:
> You can add a random number after the url. For instance,
>
> url=http://yourapp.appspot.com/yourpath
> url=url+'?'+ random.random()
>
> Good luck.
>
> go2.appspot.com
>
>
>
> My app needs to get a fresh copy of a dynamic webpage page every few
>
> minutes.  I am fetching date from a URL with this function:
>
> def getUrlData(url):
>
>     result = urlfetch.fetch(url, headers = {'Cache-Control' : 'no-
>
> cache', 'Pragma' : 'no-cache'})
>
>     if(result.status_code != 200):
>
>          logging.error( "Error getting URL data: %d" %
>
> result.status_code)
>
>          return None
>
>     logging.warn("Fetch %s response headers: %s" % (url, repr
>
> (result.headers)))
>
>     return result.content
>
> However, it seems like I am still getting cached data.  The logging
>
> statement output the following:
>
> Fetch [URL] response headers: {'Content-Length': '21883', 'X-Google-
>
> Cache-Control': 'remote-cache-hit', 'Age': '    633', 'Expires': 'Mon,
>
> 02 Mar 2009 23:49:23 GMT', 'Vary': 'Accept-Encoding', 'Server':
>
> 'Apache', 'last-modified': 'Mon, 02 Mar 2009 23:34:23 GMT',
>
> 'Connection': 'close', 'Via': 'HTTP/1.1 GWA (remote cache hit)',
>
> 'Cache-control': 'public; max-age=600', 'Date': 'Mon, 02 Mar 2009
>
> 23:34:23 GMT', 'Content-Type': 'text/html; charset=ISO-8859-1'}
>
> Does anyone know how to ensure a fresh page?
>
> --~--~-~--~~~---~--~~
--~--~-~--~~~---~--~~
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: BUG:Win 98 hard drive

2009-03-02 Thread krz

Thank you bd and Pratham, i installed Linux version and it works.
--~--~-~--~~~---~--~~
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 do disable cache on urlfetch?

2009-03-02 Thread admin go2
You can add a random number after the url. For instance,

url=http://yourapp.appspot.com/yourpath
url=url+'?'+ random.random()

Good luck.

go2.appspot.com


>>



My app needs to get a fresh copy of a dynamic webpage page every few

minutes.  I am fetching date from a URL with this function:



def getUrlData(url):

result = urlfetch.fetch(url, headers = {'Cache-Control' : 'no-

cache', 'Pragma' : 'no-cache'})

if(result.status_code != 200):

 logging.error( "Error getting URL data: %d" %

result.status_code)

 return None

logging.warn("Fetch %s response headers: %s" % (url, repr

(result.headers)))

return result.content



However, it seems like I am still getting cached data.  The logging

statement output the following:



Fetch [URL] response headers: {'Content-Length': '21883', 'X-Google-

Cache-Control': 'remote-cache-hit', 'Age': '633', 'Expires': 'Mon,

02 Mar 2009 23:49:23 GMT', 'Vary': 'Accept-Encoding', 'Server':

'Apache', 'last-modified': 'Mon, 02 Mar 2009 23:34:23 GMT',

'Connection': 'close', 'Via': 'HTTP/1.1 GWA (remote cache hit)',

'Cache-control': 'public; max-age=600', 'Date': 'Mon, 02 Mar 2009

23:34:23 GMT', 'Content-Type': 'text/html; charset=ISO-8859-1'}



Does anyone know how to ensure a fresh page?



--~--~-~--~~~---~--~~

--~--~-~--~~~---~--~~
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: scheduled maintenance

2009-03-02 Thread GregF

My rant about the same thing here...

http://groups.google.com/group/google-appengine/browse_thread/thread/2ce6fdeb3fe58605
--~--~-~--~~~---~--~~
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: 502 Server Errors after upgrade?

2009-03-02 Thread Bill

Here's the word:

- cut from email --

For a period of 10 minutes after this maintenance completed all apps
saw elevated latencies, and a very small number of apps saw an
increase in error rates.  This problem has been fixed, and apps are
now serving normally.

Pete Koomen, App Engine Team

On Mar 2, 7:46 pm, "yobin"  wrote:
> me2:(
>
> - Original Message -
> From: "Kuber" 
> To: "Google App Engine" 
> Sent: Tuesday, March 03, 2009 11:28 AM
> Subject: [google-appengine] Re: 502 Server Errors after upgrade?
>
> I'm running into this problem too.
> Is this related to the GAE scheduled maintenancea hour ago?
>
> http://groups.google.com/group/google-appengine-downtime-notify/brows...
>
> On Mar 3, 11:06 am, Bill  wrote:
> > Anyone else having trouble with their apps? I'm getting 502 Server
> > Errors and even looking at logs in the console are glacially slow.
--~--~-~--~~~---~--~~
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: Has anybody noticed any serious performance degradation today?

2009-03-02 Thread Bill

See the 502 Server Error thread.  My apps weren't working then started
working but very slowly.  I linked to a few of the millisecond/request
charts showing how bad they're lagging.

On Mar 2, 7:36 pm, Jillian  wrote:
> Everything on my app takes a long time. Simple database or url fetches
> that used to take no time, now takes more than 10 or 20 seconds. Or
> times out all together.
--~--~-~--~~~---~--~~
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: 502 Server Errors after upgrade?

2009-03-02 Thread yobin
me2:(

- Original Message - 
From: "Kuber" 
To: "Google App Engine" 
Sent: Tuesday, March 03, 2009 11:28 AM
Subject: [google-appengine] Re: 502 Server Errors after upgrade?



I'm running into this problem too.
Is this related to the GAE scheduled maintenancea hour ago?

http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/90c7fde1e5ccbd4b#

On Mar 3, 11:06 am, Bill  wrote:
> Anyone else having trouble with their apps? I'm getting 502 Server
> Errors and even looking at logs in the console are glacially slow.

--~--~-~--~~~---~--~~
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: 502 Server Errors after upgrade?

2009-03-02 Thread Bill

Don't know, but the timing is suspect.

My apps are up but were doggedly slow.  Here are the ms/request
charts:

http://static.writertopia.com/chart.png
http://static.writertopia.com/chart2.png

These were pages that served reasonably fast before.
So something is going on I think.

On Mar 2, 7:28 pm, Kuber  wrote:
> I'm running into this problem too.
> Is this related to the GAE scheduled maintenancea hour ago?
>
> http://groups.google.com/group/google-appengine-downtime-notify/brows...
>
> On Mar 3, 11:06 am, Bill  wrote:
>
> > Anyone else having trouble with their apps?  I'm getting 502 Server
> > Errors and even looking at logs in the console are glacially slow.
--~--~-~--~~~---~--~~
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] Has anybody noticed any serious performance degradation today?

2009-03-02 Thread Jillian

Everything on my app takes a long time. Simple database or url fetches
that used to take no time, now takes more than 10 or 20 seconds. Or
times out all together.
--~--~-~--~~~---~--~~
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: 502 Server Errors after upgrade?

2009-03-02 Thread Kuber

I'm running into this problem too.
Is this related to the GAE scheduled maintenancea hour ago?

http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/90c7fde1e5ccbd4b#

On Mar 3, 11:06 am, Bill  wrote:
> Anyone else having trouble with their apps?  I'm getting 502 Server
> Errors and even looking at logs in the console are glacially slow.
--~--~-~--~~~---~--~~
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: 502 Server Errors after upgrade?

2009-03-02 Thread B.J.

me also

On Mar 2, 9:12 pm, Tony Arkles - home  wrote:
> Me too
>
> app id: steprep
> app id: steprep-demo
>
> On Mar 2, 9:09 pm, Gee  wrote:
>
> > me too
>
> > app id: rotzy
>
> > On Mar 2, 7:06 pm, Bill  wrote:
>
> > > Anyone else having trouble with their apps?  I'm getting 502 Server
> > > Errors and even looking at logs in the console are glacially slow.
--~--~-~--~~~---~--~~
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: 502 Server Errors after upgrade?

2009-03-02 Thread Tony Arkles - home

Me too

app id: steprep
app id: steprep-demo


On Mar 2, 9:09 pm, Gee  wrote:
> me too
>
> app id: rotzy
>
> On Mar 2, 7:06 pm, Bill  wrote:
>
> > Anyone else having trouble with their apps?  I'm getting 502 Server
> > Errors and even looking at logs in the console are glacially slow.
--~--~-~--~~~---~--~~
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: 502 Server Errors after upgrade?

2009-03-02 Thread Gee

me too

app id: rotzy

On Mar 2, 7:06 pm, Bill  wrote:
> Anyone else having trouble with their apps?  I'm getting 502 Server
> Errors and even looking at logs in the console are glacially slow.
--~--~-~--~~~---~--~~
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] 502 Server Errors after upgrade?

2009-03-02 Thread Bill

Anyone else having trouble with their apps?  I'm getting 502 Server
Errors and even looking at logs in the console are glacially slow.
--~--~-~--~~~---~--~~
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 I build a SEO application at GAE?

2009-03-02 Thread wahaha


To my knowledge, the solution is to send Http request to my GAE App,
to collect data from WebSites.
The disadvantage is that:
(1) Not enough data space
(2) GAE App need Http request to triggle.

Is it suitable to do the SEO similar thing at GAE?
Thanks a lot!


--~--~-~--~~~---~--~~
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: Viewing a non default version log (appspot uri)

2009-03-02 Thread Nick Winter

In the upper lefthand corner of the admin dashboard, where the logs
and everything else live, it should have your app id and your
currently selected app version. Logs are for the currently selected
version only, so select the new version and then click on the logs.

(For some reason, for me, the version resets to the default version
whenever I upload anything, and I have to select the latest (debug)
version again.)
--~--~-~--~~~---~--~~
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: What happened to minor version numbers?

2009-03-02 Thread Bender

Hey Dan,

Thanks for the quick response.  I didn't realize the version number
could be an arbitrary string.  That's great information, and resolves
my sense of being very limited.  That would be great to see in the
official documentation.  That said, the documentation is for the most
part, excellent -- concise and sufficient.

Thanks again!!

-Christian


On Mar 2, 4:28 pm, Dan Sanderson  wrote:
> Hi Bender -
> Yes, that paragraph needs to be updated.  A long time ago the Admin Console
> displayed the number of times a given major version was uploaded as a
> "minor" version number.  (And that last sentence should read, "Only the
> latest *minor* version is retained for each major version.")
>
> As for integrating with source control, keep in mind that the version
> identifier (the "major" version number) can be any string.  I know
> developers who have their build process automatically update app.yaml to use
> the source control revision number as the version identifier for every
> deployment.  This technique requires manually switching the public
> ("default") version after each deployment and regularly cleaning up old
> versions, but that may be worth doing anyway.
>
> -- Dan
>
> On Mon, Mar 2, 2009 at 12:52 PM, Bender  wrote:
>
> > Hi -- I have a follow up to this question.
>
> > In the GAE documentation (http://code.google.com/appengine/docs/python/
> > tools/configuration.html), it says:
>
> > "On the Administration Console, the version number appears as a major
> > version (version), and a minor version that corresponds to the number
> > of times this major version has been uploaded. Only the latest major
> > version is retained."
>
> > Google may maintain minor version numbers internally somehow, but
> > there don't appear to be any minor version numbers that are visible to
> > GAE developers.  If your e-mail is true, then the above quote is
> > misleading.  Additionally, if only major version numbers are available
> > to developers, then that doesn't give us a lot to work with in terms
> > of source control/tracking/maintenance.
>
> > Thanks!!
>
> > On Feb 27, 12:07 pm, Marzia Niccolai  wrote:
> > > Alex,
>
> > > It should never have been the case that we displayed distinct minor
> > version
> > > numbers allowing you to switch between them.  The system was always
> > designed
> > > to make different major versions accessible through the admin console.
>
> > > Previously, if you had, say, major version 1.3 and 2.5, you would have
> > > accessed each version through:
> > > 1.3.app-id.appspot.com and 2.5.app-id.appspot.com
>
> > > The problem with this is everytime you deployed a new minor version you
> > > would have to iterate the number in the URL.  Now, however, with major
> > > versions 1 and 2 you can always access the versions at the URL:
> > > 1.latest.app-id.appspot.com and 2.latest.app-id.appspot.com
>
> > > The default version will also be the one deployed onhttp://
> > app-id.appspot.com.
>
> > > -Marzia
>
> > > On Thu, Feb 26, 2009 at 6:56 PM, Alex Epshteyn <
> > alexander.epsht...@gmail.com
>
> > > > wrote:
>
> > > > Last summer, when I would upload my app with app_cfg without changing
> > > > the version number in app.yaml, the admin console showed a minor
> > > > version number.  Example:
>
> > > > Say I upload version "3" twice - I would get roughly the following in
> > > > the console:
>
> > > > version 3.1 (default)
> > > > version 3.2
>
> > > > The subdomain 3.latest would have pointed to 3.2, but the default url
> > > > still went to 3.1 until you change the default version.
>
> > > > That system was very nice because it allowed you to rollback if you
> > > > forgot to change the version number in app.yaml by accident.
>
> > > > Now, however, uploading the same version number seems to clobber the
> > > > previous version.
>
> > > > Where did the minor versions go?
--~--~-~--~~~---~--~~
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] Brazil and Hong Kong now supported for Billing

2009-03-02 Thread Brett Slatkin

Hey there,

At launch, Brazil and Hong Kong were not in our list of supported
countries for billing. I'm happy to announce that application
administrators in these countries may now purchase additional
resources for App Engine. Thanks for your patience!

-Brett

Google App Engine Team

--~--~-~--~~~---~--~~
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] Clarification of Term 4.4

2009-03-02 Thread TAN KH

4.4. You may not develop multiple Applications to simulate or act as a 
single Application or otherwise access the Service in a manner intended
to avoid incurring fees.


Clarification

I am currently developing my app to operate on 1 application instance
per company/organisation. These application instances can have
content/xml messages that flows in/out between them.
Is this considered to be in violation of the above terms ? 

This would also mean that a large number of organisations
equates to a large number of applications. Is this also considered a
violation when I manage multiple application instances thru'
multiple gmail accounts since there is a 10 application limit ?

Appreciate the clarification.


--~--~-~--~~~---~--~~
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: I have problem with Urllib2 commands..

2009-03-02 Thread Steve

Hi prasy,

I got exactly the same thing in my local dev environment when I tried
to open any URL with urllib2.urlopen(url)

The same code worked fine when I uploaded it to the real AppEngine
environment, but not locally.  I was running the 1.1.5 SDK, but the
problem was resolved using 1.1.9.  I suggest that you upgrade as
Marzia has recommended.

On Feb 21, 8:21 am, prasy  wrote:
> while trying to run this snippet i got de following error..
>
> File "C:\Program Files\Google\google_appengine\app\appspot.py", line
> 45, in getcontent
>     response = urllib2.urlopen(u)
>   File "C:\Python25\lib\urllib2.py", line 124, in urlopen
>     return _opener.open(url, data)
>   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 1081, in do_open
>     except socket.error, err: # XXX what error?
> AttributeError: 'module' object has no attribute 'error'

--~--~-~--~~~---~--~~
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 do disable cache on urlfetch?

2009-03-02 Thread le...@lenza.org

My app needs to get a fresh copy of a dynamic webpage page every few
minutes.  I am fetching date from a URL with this function:

def getUrlData(url):
result = urlfetch.fetch(url, headers = {'Cache-Control' : 'no-
cache', 'Pragma' : 'no-cache'})
if(result.status_code != 200):
 logging.error( "Error getting URL data: %d" %
result.status_code)
 return None
logging.warn("Fetch %s response headers: %s" % (url, repr
(result.headers)))
return result.content

However, it seems like I am still getting cached data.  The logging
statement output the following:

Fetch [URL] response headers: {'Content-Length': '21883', 'X-Google-
Cache-Control': 'remote-cache-hit', 'Age': '633', 'Expires': 'Mon,
02 Mar 2009 23:49:23 GMT', 'Vary': 'Accept-Encoding', 'Server':
'Apache', 'last-modified': 'Mon, 02 Mar 2009 23:34:23 GMT',
'Connection': 'close', 'Via': 'HTTP/1.1 GWA (remote cache hit)',
'Cache-control': 'public; max-age=600', 'Date': 'Mon, 02 Mar 2009
23:34:23 GMT', 'Content-Type': 'text/html; charset=ISO-8859-1'}

Does anyone know how to ensure a fresh page?

--~--~-~--~~~---~--~~
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: AppEngine Users API not working for my domain

2009-03-02 Thread Marzia Niccolai
Hi Kariem,

HTTPS is restricted to appspot.com domains, so it is not possible at this
time to restrict login to Google Apps and serve HTTPS traffic.  This is
because you can only authenticate Google Apps users when serving off of that
Google Apps domain.

However, we are working a solution that will allow you to accept Google Apps
logins on appspot domains, which should allow you to have both Google Apps
login and secure traffic (serving off of appspot).  However, we do not
currently have a release date to announce for this feature.

-Marzia

On Sun, Mar 1, 2009 at 6:22 AM, Kariem  wrote:

>
> This is a reply to the (already closed) thread at
>
> http://groups.google.com/group/google-appengine/browse_thread/thread/4c93c01f75ee3ce4
>
> This problem still exists and somehow conflicts with the security
> options described at
> http://code.google.com/appengine/docs/python/tools/configuration.html#Secure_URLs
> At least this is how I understood it.
>
> You have two exclusive options for a restricted/secure application
>
> a) Serve the application at myapp.example.com (with Google Apps) and
> have it restricted to users from this domain during the registration
> setup for this application.
>
> b) Serve the application from myapp.appspot.com and provide secure
> connections via HTTPs.
>
>
> Variations: you could use a (fragile) hybrid approach for applications
> on (b) and check whether the user's email address has the same domain
> you planned to restrict to.
>
>
> I just want to verify what others think about that, or whether there
> is ongoing discussion on this subject, or even a feature request or
> defect that I haven't found with a primitive selection of search
> terms.
>
> Thank you,
> Kariem
>
> >
>

--~--~-~--~~~---~--~~
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: Serving static files

2009-03-02 Thread Manuel Ignacio

hi, i had the same problem , when i type this application:
laboratorio_puerto_real and i changed for this application:
laboratoriopuertoreal
and it worked
i hope this help you
regards

On Jan 26, 5:41 am, James Ashley  wrote:
> I feel like a complete idiot.
>
> Here's my app.yaml:
>
> application: whatever
> version: 1
> runtime: python
> api_version: 1
>
> handlers:
> - url: /static
>    static_dir: static
>
> When I try to run dev_appserver, I get this exception/stack trace:
>
> $ python ./dev_appserver.py  -d ../pyjamas/
> ERROR    2009-01-26 04:15:15,236 dev_appserver_main.py] Fatal error
> when loading
>  application configuration:
> mapping values are not allowed here
>   in "../pyjamas/app.yaml", line 8, column 14
>
> I've compared it with app.yaml's from various working projects, and I
> just don't see the difference.
>
> What am I doing that's bone-headed here?
>
> Thanks,
> James

--~--~-~--~~~---~--~~
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] Override request class

2009-03-02 Thread JoergA

Is there a possibility to override or extend the request class to
support a  PROPFIND method?

I would like to use some WEBDAV methods that are currently not
supported and I wonder if there is a way to do it by myself.

Thanks

Jörg

--~--~-~--~~~---~--~~
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 Engine geographic distribution

2009-03-02 Thread Jeffrey Rosen

Bump for Google

On Feb 28, 5:23 pm, Jeffrey Rosen  wrote:
> Hello, I was just talking in IRC about this and would like some
> clarification from Google.
>
> I was under the impression that when you deployed an App Engine app,
> it was distributed over the world and wherever possible, people are
> served from local data centers.
>
> In IRC, someone was saying that this is not correct, and in fact, App
> Engine apps are deployed to a single data center location which all
> requests are routed to regardless of geographic location.
--~--~-~--~~~---~--~~
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: what is the budget to use google app engine for one year?

2009-03-02 Thread Marzia Niccolai
Hi,

With out knowing more information on they type of application you plan to
build, even with only 500 users, it's difficult to do this estimation.

For instance, if the app was low traffic, each person only using it once or
twice a day, it's certainly possible you could run the application for very
little or nothing with our free quotas:
http://code.google.com/appengine/docs/quotas.html

After that it depends mostly on what resources you expect to use (CPU
intensive? Bandwidth intensive?).  For instance, with CPU Intensive
applications we've suggested that 80% of your daily budget go to CPU, 8% to
Bandwidth out, 2% for bandwidth in, and 10% to stored data.  So, spending
$1/day would get you an additional 8 CPU hours, .66GB data out, .19 GB of
data In, and 21 GB of storage over the free amount.

You can choose any custom configuration for your budget, so it's possible to
dial any of those numbers up or down based on need.

-Marzia

On Sat, Feb 28, 2009 at 5:13 PM, DiveIntoGAE  wrote:

>
> Suppose i have a company that has 500 people, and i want to built a
> website using google app engine for the people in my company, how can
> i estimate the one year budget using google app engine?Can anybody
> give the detailed process to work out the results?You can suppose some
> datas when dealing with it.
> >
>

--~--~-~--~~~---~--~~
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 logging still work during scheduled maintenance?

2009-03-02 Thread Jon McAlister

Log messages emitted by your app will also continue to be collected
and will appear in the admin console's log viewer. However, there may
be a brief window in which not all of the logs will be available.
However, they will all eventually show up.

On Sat, Feb 28, 2009 at 5:09 PM, Greg  wrote:
>
> Can Google confirm that logging will still work during scheduled
> maintenance?
>
> In other words, does anyone know if logging depends on the datastore?
> >

--~--~-~--~~~---~--~~
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: What happened to minor version numbers?

2009-03-02 Thread Dan Sanderson
Hi Bender -
Yes, that paragraph needs to be updated.  A long time ago the Admin Console
displayed the number of times a given major version was uploaded as a
"minor" version number.  (And that last sentence should read, "Only the
latest *minor* version is retained for each major version.")

As for integrating with source control, keep in mind that the version
identifier (the "major" version number) can be any string.  I know
developers who have their build process automatically update app.yaml to use
the source control revision number as the version identifier for every
deployment.  This technique requires manually switching the public
("default") version after each deployment and regularly cleaning up old
versions, but that may be worth doing anyway.

-- Dan

On Mon, Mar 2, 2009 at 12:52 PM, Bender  wrote:

>
> Hi -- I have a follow up to this question.
>
> In the GAE documentation (http://code.google.com/appengine/docs/python/
> tools/configuration.html), it says:
>
> "On the Administration Console, the version number appears as a major
> version (version), and a minor version that corresponds to the number
> of times this major version has been uploaded. Only the latest major
> version is retained."
>
> Google may maintain minor version numbers internally somehow, but
> there don't appear to be any minor version numbers that are visible to
> GAE developers.  If your e-mail is true, then the above quote is
> misleading.  Additionally, if only major version numbers are available
> to developers, then that doesn't give us a lot to work with in terms
> of source control/tracking/maintenance.
>
> Thanks!!
>
> On Feb 27, 12:07 pm, Marzia Niccolai  wrote:
> > Alex,
> >
> > It should never have been the case that we displayed distinct minor
> version
> > numbers allowing you to switch between them.  The system was always
> designed
> > to make different major versions accessible through the admin console.
> >
> > Previously, if you had, say, major version 1.3 and 2.5, you would have
> > accessed each version through:
> > 1.3.app-id.appspot.com and 2.5.app-id.appspot.com
> >
> > The problem with this is everytime you deployed a new minor version you
> > would have to iterate the number in the URL.  Now, however, with major
> > versions 1 and 2 you can always access the versions at the URL:
> > 1.latest.app-id.appspot.com and 2.latest.app-id.appspot.com
> >
> > The default version will also be the one deployed onhttp://
> app-id.appspot.com.
> >
> > -Marzia
> >
> > On Thu, Feb 26, 2009 at 6:56 PM, Alex Epshteyn <
> alexander.epsht...@gmail.com
> >
> > > wrote:
> >
> > > Last summer, when I would upload my app with app_cfg without changing
> > > the version number in app.yaml, the admin console showed a minor
> > > version number.  Example:
> >
> > > Say I upload version "3" twice - I would get roughly the following in
> > > the console:
> >
> > > version 3.1 (default)
> > > version 3.2
> >
> > > The subdomain 3.latest would have pointed to 3.2, but the default url
> > > still went to 3.1 until you change the default version.
> >
> > > That system was very nice because it allowed you to rollback if you
> > > forgot to change the version number in app.yaml by accident.
> >
> > > Now, however, uploading the same version number seems to clobber the
> > > previous version.
> >
> > > Where did the minor versions go?
>
> >
>

--~--~-~--~~~---~--~~
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: What happened to minor version numbers?

2009-03-02 Thread Bender

Hi -- I have a follow up to this question.

In the GAE documentation (http://code.google.com/appengine/docs/python/
tools/configuration.html), it says:

"On the Administration Console, the version number appears as a major
version (version), and a minor version that corresponds to the number
of times this major version has been uploaded. Only the latest major
version is retained."

Google may maintain minor version numbers internally somehow, but
there don't appear to be any minor version numbers that are visible to
GAE developers.  If your e-mail is true, then the above quote is
misleading.  Additionally, if only major version numbers are available
to developers, then that doesn't give us a lot to work with in terms
of source control/tracking/maintenance.

Thanks!!

On Feb 27, 12:07 pm, Marzia Niccolai  wrote:
> Alex,
>
> It should never have been the case that we displayed distinct minor version
> numbers allowing you to switch between them.  The system was always designed
> to make different major versions accessible through the admin console.
>
> Previously, if you had, say, major version 1.3 and 2.5, you would have
> accessed each version through:
> 1.3.app-id.appspot.com and 2.5.app-id.appspot.com
>
> The problem with this is everytime you deployed a new minor version you
> would have to iterate the number in the URL.  Now, however, with major
> versions 1 and 2 you can always access the versions at the URL:
> 1.latest.app-id.appspot.com and 2.latest.app-id.appspot.com
>
> The default version will also be the one deployed onhttp://app-id.appspot.com.
>
> -Marzia
>
> On Thu, Feb 26, 2009 at 6:56 PM, Alex Epshteyn 
> > wrote:
>
> > Last summer, when I would upload my app with app_cfg without changing
> > the version number in app.yaml, the admin console showed a minor
> > version number.  Example:
>
> > Say I upload version "3" twice - I would get roughly the following in
> > the console:
>
> > version 3.1 (default)
> > version 3.2
>
> > The subdomain 3.latest would have pointed to 3.2, but the default url
> > still went to 3.1 until you change the default version.
>
> > That system was very nice because it allowed you to rollback if you
> > forgot to change the version number in app.yaml by accident.
>
> > Now, however, uploading the same version number seems to clobber the
> > previous version.
>
> > Where did the minor versions go?

--~--~-~--~~~---~--~~
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: scheduled maintenance

2009-03-02 Thread Bill

I agree with Ben.  On the developer side, some programmatic access to
downtime information would also be helpful.  I've opened a feature
request here:
http://code.google.com/p/googleappengine/issues/detail?id=1116
-Bill

On Mar 2, 9:53 am, Ben Nevile  wrote:
> Hi GAE team,
>
> I'm writing to express frustration about the scheduled maintenances of
> March 2 and March 9.  I'm using GAE to host several time-dependent
> games being played by tens of thousands of people.  Having datastore
> writes unavailable for 30 minutes during the peak traffic time is
> frustrating and expensive.  The cost to my small business will be
> significant.
>
> I acknowledge that with a globally distributed service every hour of
> the day is equally bad.  I also acknowledge that downtime is a
> statistical inevitability. However I would like to believe that
> *scheduled* downtime is not inevitable. There must be a way for a
> company with Google's resources and talent to upgrade server hardware
> without taking the entire system offline for up to 30 minutes.
>
> As a customer who's investing considerably in this platform, I'd
> appreciate some insight into the mechanics of these "scheduled
> maintenance" decisions. How often can we expect these outages? If I
> were a provider of a social service based around baseball, for
> instance, what recourse would I have if Google decided to perform a
> scheduled maintenance during the seventh game of the World Series?
>
> Ben
--~--~-~--~~~---~--~~
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: LinkProperty and Null/None values.

2009-03-02 Thread Bill

Ian,

This is by design and one of my peeves at the moment.  A number of the
datastore properties will throw an exception when given None values,
so it makes them useless for storing optional properties.  I think I
ran into the same problem with LinkProperty and EmailProperty.  The
general solution is to just use a StringProperty.  You could use a
"None" marker like "http://nolink"; or "not specified" depending on
validation of the property, but I find this less appealing.

-Bill

On Mar 2, 4:22 am, Ian Lewis  wrote:
> I have a model set up with a LinkProperty which is not required however when
> trying to save the entity with a value of None I get a BadValue error saying
> the Link cannot be empty. Is this by design and/or documented somewhere?
>
> ...
> class Profile(db.Model):
>   ...
>   homepage = db.LinkProperty(verbose_name=_(u"Homepage URL"),required=False)
>   ...
--~--~-~--~~~---~--~~
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] cost of running appengine_django

2009-03-02 Thread Nash-t

Does anyone have a rough estimate as to what it cost to run a site on
appengine_django vs. running on the django 0.96 that comes with GAE?

Perhaps you migrated your application one way or the other and could
comment on what you saw? Higher CPU? Slower response times?

Also: Does appengine_django run instead of django0.96 or does it run
on top of it?

Thanks,
Tim

--~--~-~--~~~---~--~~
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: Deleting CounterShards

2009-03-02 Thread Bill

Ian,

We're both in agreement.  I was confused by what you meant by "count"
and didn't realize you were talking about the count() method.  Looking
back, it's clear now how you meant fetch and count methods and my
response could be misinterpreted if "count" meant count().

My first instinct now is to amortize expensive operations (counting,
ranking, etc) on each put.  The count() method should be avoided by
using counters, which can either be implemented as an entity with
integer property or shards, neither of which have any limitations.  So
I meant to say counting is not an issue and can be implemented much
more easily than Bloog's current sharded counter, since no Bloogs will
probably get more than one comment per second.  The next version of
Bloog will use an integer property in a single entity.

-Bill

On Mar 2, 12:47 am, Ian Lewis  wrote:
> Bill,
>
> The docs say otherwise. count() on a query object returns a maximum of 
> 1000.http://code.google.com/appengine/docs/python/datastore/queryclass.htm...
>
> Sharded counters are used to ease contention for highly updated objects but
> that doesn't downplay the need for counters. You need to either put a
> counter on a separate entity or create sharded counter if you want to count
> more than 1000 entities.
>
> Ian
>
>
>
> On Mon, Mar 2, 2009 at 5:40 PM, Bill  wrote:
>
> > You can count well over 1000 objects -- the limitation is in the
> > fetching, but that's not the reason for sharded counters in Bloog.
>
> > I wrote Bloog way back when App Engine was new and I was trying out
> > different "best practices" for datastore ops.  Sharded counters are a
> > way to handle heavily-used counters, e.g. if the counter was getting
> > updated dozens of times per second.  If you have that many increments/
> > decrements on a counter, if you put the counter in a single integer
> > property, you'd start getting write contention.
>
> > In retrospect, doing the sharded counter in Bloog was complete
> > overkill.  It was useful to me at the time, because I was learning.
> > But the next version of Bloog will likely use a single integer
> > property for the counter and scrap the sharded counter.
> > -Bill
>
> > On Mar 1, 9:11 pm, Ian Lewis  wrote:
> > > Krishna,
>
> > > The datastore can only return or count up to 1000 objects so if you have
> > > more than 1000 objects in the database you cannot count them without a
> > > counter. I assume the code in Bloog is keeping counts of objects in case
> > it
> > > runs up against this limitation.
>
> > > Ian
>
> > > On Mon, Mar 2, 2009 at 2:02 PM, Krishna 
> > wrote:
>
> > > > Ian,
>
> > > > I'm using some open source code (Bloog) and I don't really understand
> > > > how it works. So I'll trust your cautious approach although I don't
> > > > quite understand why something would need to "keep counts of objects
> > > > in the datastore". Best not to meddle although I was hoping to clean
> > > > things up if I could.
>
> > > > Thank you for responding.
> > > > Krishna
>
> > > > On Mar 1, 11:31 pm, Ian Lewis  wrote:
> > > > > Krishna,
>
> > > > > Anything you see in the data viewer is created by some application
> > code.
> > > > It
> > > > > wouldn't be put there by google appengine specifically. That said it
> > > > looks
> > > > > like something is using a sharded counter to keep counts of objects
> > in
> > > > the
> > > > > datastore or something similar. This data would not likely be
> > regenerated
> > > > if
> > > > > deleted, it would likely reset all the counters to zero so I would
> > leave
> > > > it
> > > > > alone.
>
> > > > > Ian
>
> > > > > On Mon, Mar 2, 2009 at 9:34 AM, Krishna 
> > > > wrote:
>
> > > > > > On the Data Viewer I have an entity called CounterShards. I
> > considered
> > > > > > deleting some extraneous data there but was afraid it would blow
> > > > > > something up. If I delete data here, will it be regenerated
> > > > > > automatically or should I leave it alone?
>
> > > > > --
> > > > > ===
> > > > > 株式会社ビープラウド  イアン・ルイス
> > > > > 〒150-0012
> > > > > 東京都渋谷区広尾1-11-2アイオス広尾ビル604
> > > > > email: ianmle...@beproud.jp
> > > > > TEL:03-5795-2707
> > > > > FAX:03-5795-2708http://www.beproud.jp/
> > > > > ===
>
> > > --
> > > ===
> > > 株式会社ビープラウド  イアン・ルイス
> > > 〒150-0012
> > > 東京都渋谷区広尾1-11-2アイオス広尾ビル604
> > > email: ianmle...@beproud.jp
> > > TEL:03-5795-2707
> > > FAX:03-5795-2708http://www.beproud.jp/
> > > ===
>
> --
> ===
> 株式会社ビープラウド  イアン・ルイス
> 〒150-0012
> 東京都渋谷区広尾1-11-2アイオス広尾ビル604
> email: ianmle...@beproud.jp
> TEL:03-5795-2707
> FAX:03-5795-2708http://www.beproud.jp/
> ===
--~--~-~--~~~---~--~~
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@googleg

[google-appengine] Re: gaedav - Use Google App Engine as WebDAV server

2009-03-02 Thread DukeOfWu

Congratulations. This is a great idea!
-Tim

On Mar 1, 3:30 am, KillIEbrowser  wrote:
> Thanks :-)
>
> On Feb 28, 2:39 pm, Haoyu Bai  wrote:
>
> > Hi,
>
> > I have ported Ho Chun Wei's PyFileServer [1] to Google App Engine, so
> > we can use GAE's datastore as a WebDAV cloud storage server. An
> > unofficial GDrive! :-)
>
> > The port now has only basic functions, there's no authentication, no
> > locking yet. But I already done some successfully file storage/sync on
> > it. Due to the limit of GAE, the max size of a single file would be
> > 10M. It would be enough for your pics, docs and etc. Thanks to
> > Google's infrastructure, it is quite fast.
>
> > I have setup an public demo app so you can play with it by accessing
> > the following address with your webdav client [2]: (eg. Nautilus for
> > Gnome, Dolphin for KDE, and Windows Web Folder)
>
> >http://gaedavtest.appspot.com/dav/
>
> > However there's no user authentication and data safe assurance so
> > please don't put your important and private data on it. :-)
>
> > The code is hosted on Google Code [3]. There's no release yet, but you
> > can just checkout the code, fill the app.yaml.template and upload to
> > your app engine, then there's 1G super fast cloud storage for you. :-)
>
> > References:
> > [1]http://pyfilesync.berlios.de/pyfileserver.html
> > [2]http://www.webdav.org/projects/
> > [3]http://code.google.com/p/gaedav/
>
> > Best regards,
> > Haoyu Bai
--~--~-~--~~~---~--~~
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] scheduled maintenance

2009-03-02 Thread Ben Nevile

Hi GAE team,

I'm writing to express frustration about the scheduled maintenances of
March 2 and March 9.  I'm using GAE to host several time-dependent
games being played by tens of thousands of people.  Having datastore
writes unavailable for 30 minutes during the peak traffic time is
frustrating and expensive.  The cost to my small business will be
significant.

I acknowledge that with a globally distributed service every hour of
the day is equally bad.  I also acknowledge that downtime is a
statistical inevitability. However I would like to believe that
*scheduled* downtime is not inevitable. There must be a way for a
company with Google's resources and talent to upgrade server hardware
without taking the entire system offline for up to 30 minutes.

As a customer who's investing considerably in this platform, I'd
appreciate some insight into the mechanics of these "scheduled
maintenance" decisions. How often can we expect these outages? If I
were a provider of a social service based around baseball, for
instance, what recourse would I have if Google decided to perform a
scheduled maintenance during the seventh game of the World Series?

Ben
--~--~-~--~~~---~--~~
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 logging still work during scheduled maintenance?

2009-03-02 Thread Marzia Niccolai
Hi,

Logging in and out should still work, this does not rely on the datastore.
We use Google Accounts/ Google Apps for account authentication with App
Engine.

-Marzia

On Sat, Feb 28, 2009 at 5:09 PM, Greg  wrote:

>
> Can Google confirm that logging will still work during scheduled
> maintenance?
>
> In other words, does anyone know if logging depends on the datastore?
> >
>

--~--~-~--~~~---~--~~
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: Error Trying To Create New Account

2009-03-02 Thread Marzia Niccolai
Hi,

Please fill out the SMS issues form:
http://appengine.google.com/waitlist/sms_issues

This information can also be found in the FAQ:
http://code.google.com/appengine/kb/sms.html

-Marzia

On Fri, Feb 27, 2009 at 8:58 PM, interactivecl...@gmail.com <
interactivecl...@gmail.com> wrote:

>
> You know, its odd how no one seems to know how to correct this error.
> Just look it up and see that others have this error and that IF you
> get an reply, its some wild goose chase into the unknown.   Just
> calling it as it seems.  Makes me go hmmm..   Too bad, it may have
> been a neat thing to try out.  Microsoft, here I come.
>
> On Feb 26, 4:35 pm, "interactivecl...@gmail.com"
>  wrote:
> > I can not get past the initial screen.  I receive error:
> >
> > "The phone number has been sent too many messages or has already been
> > used to confirm an account."
> >
> > I do not believe that I've tried to create App Engine account with my
> > phone number, nor have I already confirmed an account..  Is there a
> > way to reset my phone number so that I may begin?
> >
>

--~--~-~--~~~---~--~~
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: I got a problem with Appengine + Flex-HttpService

2009-03-02 Thread Andrew Badera

use a network sniffer or transparent proxy to figure out what the
differences are, and address them.


On Sun, Mar 1, 2009 at 11:09 PM, Legend Zhang <52openplatf...@gmail.com> wrote:
>
> I can not access Appengine from flex using httpservice when I use IE6,
> using get and post.
>
> Did someone have this problem too?
>
> >
>

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



[google-appengine] what the app are sorted by?

2009-03-02 Thread duan wenhui

I find that the top apps are sorted, not by time or alpha-beta. by
what? random?
any body konw this?


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: Can't deploy anymore?!

2009-03-02 Thread 张传奇
You should modify first line of app.yaml and change the application name to
your own.
I got same problem when upload my first test program.

2009/3/2 Brett Slatkin 

>
> Nick: Have you accepted the latest Terms of Service? A new one was
> released with our Billing launch this past Tuesday. I wonder if that
> could be the cause.
>
> On Fri, Feb 27, 2009 at 3:19 PM, Nick Bauman 
> wrote:
> >
> > I'm using the Apple version of the SDK GoogleAppEngineLauncher
> >
> > When I do a deploy, the SDK console prompts for my password, which it
> > pulls from the OS keychain. I submit this and I get:
> >
> > HTTPError: HTTP Error 403: Forbidden
> > Error 403: --- begin server output ---
> > You do not have permission to modify this app (app_id=u'cirrusmachina').
> >
> > I didn't change anything and I couldn't remember my password (my
> > keychain handled it for me in the past, waaah!)
> >
> > What recourse do I have?
> >
> > >
> >
>
> >
>

--~--~-~--~~~---~--~~
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 got a problem with Appengine + Flex-HttpService

2009-03-02 Thread Legend Zhang

I can not access Appengine from flex using httpservice when I use IE6,
using get and post.

Did someone have this problem too?

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



[google-appengine] Re: ImportError: No module named google

2009-03-02 Thread Gary Davis

Terribly sorry to mention this, but you reminded me of this classic
old joke:

Patient: "Doctor, it hurts when I do this" (poking himself in the
eyeball)
Doctor: "Then don't do that."

In your case, I'll recommend that you don't do that,
and instead, do this:

1)start menu
2)cmd
3)C:\Program Files\Google\google_appengine\appcfg.py update path-to--
your-app.yaml

The Google App Engine people tried to trick you into poking yourself
in the eye, by making two different modules, each named appcfg.py.
And they didn't make it clear in their documentation which file you
should use.  So don't feel too bad.

and, while I'm giving you recommendations:
2) Download the latest version of the SDK; it will probably save you
from hurting yourself a few more times.


On Mar 1, 2:07 am, andrewliu  wrote:
> the environment:
> 1) GoogleAppEngine_1.1.0.msi (1.1.0 - 5/28/08)
> 2)Python2.5.4(Dec 23.2008)
>
> the step is
> 1)start menu
> 2)cmd
> 3)C:\Program Files\Google>google_appengine\google\appengine\tools
> \appcfg.py update
>  1
> Traceback (most recent call last):
>   File "C:\Program Files\Google\google_appengine\google\appengine\tools
> \appcfg.p
> y", line 48, in 
>     import google
> ImportError: No module named google
>
> Can you help me?
--~--~-~--~~~---~--~~
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] Django 1.1 updates need patch in App Engine Django helper

2009-03-02 Thread Robert

Found out this afternoon that when I checked out the latest Django, I
needed to patch the appengine_django package, very slightly.
 Simply needed to move the lines that set the "DJANGO_SETTINGS_MODULE"
a few lines up to before the line that force Django to reload its
settings. Around line 459. Note I did only try this on a local dev
server, not yet on the actual GAE.


Index: __init__.py
===
--- __init__.py (revision 74)
+++ __init__.py (working copy)
@@ -456,12 +456,12 @@
 logging.getLogger().setLevel(logging.INFO)
   logging.debug("Loading the Google App Engine Helper for Django...")

+  # Must set this env var *before* importing any more of Django.
+  os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
+
   # Force Django to reload its settings.
   settings._target = None

-  # Must set this env var *before* importing any more of Django.
-  os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
-
   LoadAppengineEnvironment()
   InstallReplacementImpModule()
   InstallAppengineDatabaseBackend()

--~--~-~--~~~---~--~~
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: about upload, I have a problem, who can help me

2009-03-02 Thread Wooble



On Mar 1, 7:18 am, ks72  wrote:
> when I upload,  input "appcfg.py update myapp/",then input email,all
> are correct,but I can not input password, any key can not input. may
> be is simple problem, but I  don't understand.
>   who can help me, thanks!

Umm, your password isn't displayed when you type it so no one can read
it over your shoulder.  This has been standard practice on computers
of all kinds for, well, practically forever.  You're kidding, right?
--~--~-~--~~~---~--~~
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 Engine vs Amazon S3

2009-03-02 Thread julian.amaya

I've been using both for the last 8 months or so and they can work
together

Pricing for both services:

S3 Pricing
$0.150 per GB – first 50 TB / month of storage used
$0.140 per GB – next 50 TB / month of storage used
$0.100 per GB – all data transfer in
$0.170 per GB – first 10 TB / month data transfer out
$0.130 per GB – next 40 TB / month data transfer out
$0.110 per GB – next 100 TB / month data transfer out
$0.100 per GB – data transfer out / month over 150 TB


App Engine Pricing
$0.15 per GB of data stored by the application per month.
$0.10 per GB bandwidth incoming,
$0.12 per GB bandwidth outgoing.
$0.10 per CPU core hour. This covers the actual CPU time an
application uses to process a given request, as well as the CPU used
for any Datastore usage.



Amazon S3 cost = Storage + Data Transfer In + Data Transfer Out
 = 0.15 GB/Mo + 0.1 GB/Mo +  0.17GB/Mo
App Engine cost = Storage + Data Transfer In + Data Transfer Out + CPU
used for storing and serving
 = 0.15 GB/Mo + 0.1 GB/Mo +  0.12GB/Mo + 0.1
CPU/h
So there is not a simple formula for calculating how much you'll gonna
spend using each service...


Why choose s3?
-You can use some apps like browsers for browsing the files you have
there.
-You could connect it to the Amazon CloudFront and have your content
on the Edge...
-if you need to protect your files, this is already implemented in s3
(signed URL with expiration time)
-304 Not modified already implemented...

Why choose GAE?
-you can use the image API
-creating a protection code for your files isn't hard and you could
have a more sophisticated schema (one time use URL?)


My guess: GAE is cheaper i've been using S3 because of the (now
old) 500MB limit in storage that GAE had...

Hope this helps!


Akshar wrote:
> Hi There-
>
> If I am planning to host an application around images then should I
> choose app engine or not?
>
> I know image size limitation is around 1 MB for app engine so assuming
> this limitation is not an issue which service would be better, app
> engine or s3.
>
> Please comment on pricing aspect also in case the usage becomes 100 K
> daily actives ;o)
>
> 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] Viewing a non default version log (appspot uri)

2009-03-02 Thread Ubaldo Huerta

Preliminaries: my deployment script gets svn version number (via svn
info), sets the version in app.yml and does the upload via appcfg.py

I increase version number to be able to test the app before going live
using the uri in the admin dashboard. For example, if my default
version is 200 and I upload version 201 I could use this url
http://201.latest.my-app-id.appspot.com to test (manually or
otherwise) before going live, that is, promote 201 to the default
version

Now, my question is, if version 201 throws an uncaught exception

"""
Error: Server Error

The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this
error message and the query that caused it.
"


where can I see the stack trace?

I've tried already to call webapp.WSGIApplication with debug=true.
Still nothing in the logs. I  could override handle_exception method
and send stack trace in the response, but my feeling is that I'm
missing something obvious here? Where are the logs for non default
version?

--~--~-~--~~~---~--~~
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] LinkProperty and Null/None values.

2009-03-02 Thread Ian Lewis
I have a model set up with a LinkProperty which is not required however when
trying to save the entity with a value of None I get a BadValue error saying
the Link cannot be empty. Is this by design and/or documented somewhere?

...
class Profile(db.Model):
  ...
  homepage = db.LinkProperty(verbose_name=_(u"Homepage URL"),required=False)
  ...

--~--~-~--~~~---~--~~
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: Help regarding ajax on appengine

2009-03-02 Thread app engine dude

The requests are going on my local host.when i see my console they are
visible.the classes are getting called.But when i  use it live(firefox)
requests are not made.
plzz help me...

On Feb 27, 4:28 pm, Brandon Thomson 
wrote:
> Did you look in your error console? I can take a look if you post your
> app's name. I wrote an app with jquery and it works fine in
> production.
>
> On Feb 27, 1:07 am, app engine dude  wrote:
>
> > Hello.i have some problem when iam developing an application. i have
> > some simple form that has to be submitted to database.i used jquery
> > andajaxin jquery so that form gets submitted to database. i have
> > some click functions that are being written in query for displaying
> > other pages.Those pages are displayed when i use the app on localhost
> > +appengine. but when i upload the app on server its not showing the
> > pages that i click.some1 help me with this...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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: BUG:Win 98 hard drive

2009-03-02 Thread Pratham

I use the Linux version (zip file) on Win 2000.
You could try it on Win 98 as well.

On Mar 2, 12:19 am, SiVi  wrote:
> Hi
>
> I tried to install latest msi (1.1.9) on win 98 se
> but when it ask for directory to be installed in
> it says that installation must be on loclal hard drive
> although i point to hard drive (both C: and D: didnt work)
>
> How i can overcome this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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: Print-friendly Google App Engine documentation

2009-03-02 Thread Ian Lewis
Aha, I was hoping you had worked up an html scraper or something to build
the pdfs.

On Mon, Mar 2, 2009 at 5:41 PM, Aurimas  wrote:

>
> Nothing special here, just an old school copy/paste.
>
> On Mar 1, 4:11 pm, Ian Lewis  wrote:
> > Aurimas,
> >
> > Pretty slick. How did you create the pdfs? I'd like to make a copy of the
> > Japanese documentation in the same way.
> >
> > Ian
> >
> > On Sat, Feb 28, 2009 at 5:57 PM, Aurimas 
> wrote:
> >
> > > 1. Intro - 37 pages
> > >http://aurimas.rimsa.name/App-Engine-Docs/1-Intro.pdf
> > > 2. Python - 34 pages
> > >http://aurimas.rimsa.name/App-Engine-Docs/2-Python.pdf
> > > 3. Webapp - 16 pages
> > >http://aurimas.rimsa.name/App-Engine-Docs/3-Webapp.pdf
> > > 4. Datastore - 72 pages
> > >http://aurimas.rimsa.name/App-Engine-Docs/4-Datastore.pdf
> > > 5. Services - 47 pages
> > >http://aurimas.rimsa.name/App-Engine-Docs/5-Services.pdf
> >
> > --
> > ===
> > 株式会社ビープラウド  イアン・ルイス
> > 〒150-0012
> > 東京都渋谷区広尾1-11-2アイオス広尾ビル604
> > email: ianmle...@beproud.jp
> > TEL:03-5795-2707
> > FAX:03-5795-2708http://www.beproud.jp/
> > ===
> >
>


-- 
===
株式会社ビープラウド  イアン・ルイス
〒150-0012
東京都渋谷区広尾1-11-2アイオス広尾ビル604
email: ianmle...@beproud.jp
TEL:03-5795-2707
FAX:03-5795-2708
http://www.beproud.jp/
===

--~--~-~--~~~---~--~~
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: Deleting CounterShards

2009-03-02 Thread Ian Lewis
Bill,

The docs say otherwise. count() on a query object returns a maximum of 1000.
http://code.google.com/appengine/docs/python/datastore/queryclass.html#Query_count

Sharded counters are used to ease contention for highly updated objects but
that doesn't downplay the need for counters. You need to either put a
counter on a separate entity or create sharded counter if you want to count
more than 1000 entities.

Ian

On Mon, Mar 2, 2009 at 5:40 PM, Bill  wrote:

>
> You can count well over 1000 objects -- the limitation is in the
> fetching, but that's not the reason for sharded counters in Bloog.
>
> I wrote Bloog way back when App Engine was new and I was trying out
> different "best practices" for datastore ops.  Sharded counters are a
> way to handle heavily-used counters, e.g. if the counter was getting
> updated dozens of times per second.  If you have that many increments/
> decrements on a counter, if you put the counter in a single integer
> property, you'd start getting write contention.
>
> In retrospect, doing the sharded counter in Bloog was complete
> overkill.  It was useful to me at the time, because I was learning.
> But the next version of Bloog will likely use a single integer
> property for the counter and scrap the sharded counter.
> -Bill
>
> On Mar 1, 9:11 pm, Ian Lewis  wrote:
> > Krishna,
> >
> > The datastore can only return or count up to 1000 objects so if you have
> > more than 1000 objects in the database you cannot count them without a
> > counter. I assume the code in Bloog is keeping counts of objects in case
> it
> > runs up against this limitation.
> >
> > Ian
> >
> >
> >
> > On Mon, Mar 2, 2009 at 2:02 PM, Krishna 
> wrote:
> >
> > > Ian,
> >
> > > I'm using some open source code (Bloog) and I don't really understand
> > > how it works. So I'll trust your cautious approach although I don't
> > > quite understand why something would need to "keep counts of objects
> > > in the datastore". Best not to meddle although I was hoping to clean
> > > things up if I could.
> >
> > > Thank you for responding.
> > > Krishna
> >
> > > On Mar 1, 11:31 pm, Ian Lewis  wrote:
> > > > Krishna,
> >
> > > > Anything you see in the data viewer is created by some application
> code.
> > > It
> > > > wouldn't be put there by google appengine specifically. That said it
> > > looks
> > > > like something is using a sharded counter to keep counts of objects
> in
> > > the
> > > > datastore or something similar. This data would not likely be
> regenerated
> > > if
> > > > deleted, it would likely reset all the counters to zero so I would
> leave
> > > it
> > > > alone.
> >
> > > > Ian
> >
> > > > On Mon, Mar 2, 2009 at 9:34 AM, Krishna 
> > > wrote:
> >
> > > > > On the Data Viewer I have an entity called CounterShards. I
> considered
> > > > > deleting some extraneous data there but was afraid it would blow
> > > > > something up. If I delete data here, will it be regenerated
> > > > > automatically or should I leave it alone?
> >
> > > > --
> > > > ===
> > > > 株式会社ビープラウド  イアン・ルイス
> > > > 〒150-0012
> > > > 東京都渋谷区広尾1-11-2アイオス広尾ビル604
> > > > email: ianmle...@beproud.jp
> > > > TEL:03-5795-2707
> > > > FAX:03-5795-2708http://www.beproud.jp/
> > > > ===
> >
> > --
> > ===
> > 株式会社ビープラウド  イアン・ルイス
> > 〒150-0012
> > 東京都渋谷区広尾1-11-2アイオス広尾ビル604
> > email: ianmle...@beproud.jp
> > TEL:03-5795-2707
> > FAX:03-5795-2708http://www.beproud.jp/
> > ===
> >
>


-- 
===
株式会社ビープラウド  イアン・ルイス
〒150-0012
東京都渋谷区広尾1-11-2アイオス広尾ビル604
email: ianmle...@beproud.jp
TEL:03-5795-2707
FAX:03-5795-2708
http://www.beproud.jp/
===

--~--~-~--~~~---~--~~
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: Print-friendly Google App Engine documentation

2009-03-02 Thread Aurimas

Nothing special here, just an old school copy/paste.

On Mar 1, 4:11 pm, Ian Lewis  wrote:
> Aurimas,
>
> Pretty slick. How did you create the pdfs? I'd like to make a copy of the
> Japanese documentation in the same way.
>
> Ian
>
> On Sat, Feb 28, 2009 at 5:57 PM, Aurimas  wrote:
>
> > 1. Intro - 37 pages
> >http://aurimas.rimsa.name/App-Engine-Docs/1-Intro.pdf
> > 2. Python - 34 pages
> >http://aurimas.rimsa.name/App-Engine-Docs/2-Python.pdf
> > 3. Webapp - 16 pages
> >http://aurimas.rimsa.name/App-Engine-Docs/3-Webapp.pdf
> > 4. Datastore - 72 pages
> >http://aurimas.rimsa.name/App-Engine-Docs/4-Datastore.pdf
> > 5. Services - 47 pages
> >http://aurimas.rimsa.name/App-Engine-Docs/5-Services.pdf
>
> --
> ===
> 株式会社ビープラウド  イアン・ルイス
> 〒150-0012
> 東京都渋谷区広尾1-11-2アイオス広尾ビル604
> email: ianmle...@beproud.jp
> TEL:03-5795-2707
> FAX:03-5795-2708http://www.beproud.jp/
> ===
--~--~-~--~~~---~--~~
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: Deleting CounterShards

2009-03-02 Thread Bill

You can count well over 1000 objects -- the limitation is in the
fetching, but that's not the reason for sharded counters in Bloog.

I wrote Bloog way back when App Engine was new and I was trying out
different "best practices" for datastore ops.  Sharded counters are a
way to handle heavily-used counters, e.g. if the counter was getting
updated dozens of times per second.  If you have that many increments/
decrements on a counter, if you put the counter in a single integer
property, you'd start getting write contention.

In retrospect, doing the sharded counter in Bloog was complete
overkill.  It was useful to me at the time, because I was learning.
But the next version of Bloog will likely use a single integer
property for the counter and scrap the sharded counter.
-Bill

On Mar 1, 9:11 pm, Ian Lewis  wrote:
> Krishna,
>
> The datastore can only return or count up to 1000 objects so if you have
> more than 1000 objects in the database you cannot count them without a
> counter. I assume the code in Bloog is keeping counts of objects in case it
> runs up against this limitation.
>
> Ian
>
>
>
> On Mon, Mar 2, 2009 at 2:02 PM, Krishna  wrote:
>
> > Ian,
>
> > I'm using some open source code (Bloog) and I don't really understand
> > how it works. So I'll trust your cautious approach although I don't
> > quite understand why something would need to "keep counts of objects
> > in the datastore". Best not to meddle although I was hoping to clean
> > things up if I could.
>
> > Thank you for responding.
> > Krishna
>
> > On Mar 1, 11:31 pm, Ian Lewis  wrote:
> > > Krishna,
>
> > > Anything you see in the data viewer is created by some application code.
> > It
> > > wouldn't be put there by google appengine specifically. That said it
> > looks
> > > like something is using a sharded counter to keep counts of objects in
> > the
> > > datastore or something similar. This data would not likely be regenerated
> > if
> > > deleted, it would likely reset all the counters to zero so I would leave
> > it
> > > alone.
>
> > > Ian
>
> > > On Mon, Mar 2, 2009 at 9:34 AM, Krishna 
> > wrote:
>
> > > > On the Data Viewer I have an entity called CounterShards. I considered
> > > > deleting some extraneous data there but was afraid it would blow
> > > > something up. If I delete data here, will it be regenerated
> > > > automatically or should I leave it alone?
>
> > > --
> > > ===
> > > 株式会社ビープラウド  イアン・ルイス
> > > 〒150-0012
> > > 東京都渋谷区広尾1-11-2アイオス広尾ビル604
> > > email: ianmle...@beproud.jp
> > > TEL:03-5795-2707
> > > FAX:03-5795-2708http://www.beproud.jp/
> > > ===
>
> --
> ===
> 株式会社ビープラウド  イアン・ルイス
> 〒150-0012
> 東京都渋谷区広尾1-11-2アイオス広尾ビル604
> email: ianmle...@beproud.jp
> TEL:03-5795-2707
> FAX:03-5795-2708http://www.beproud.jp/
> ===
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---