[google-appengine] Issue with GAE caching which gives undesirable results

2009-07-19 Thread PatHaugen

I have multiple domains pointed to Python code merely reporting the
domain name as a test within a H1 tag in a Django template:

{{ domain }}

Python code:

class GetDomain():
domain = os.environ['SERVER_NAME']
...
domain = GetDomain.domain
template_values = {
'domain': domain,
}
path = os.path.join(os.path.dirname(__file__), 'index.html')
self.response.out.write(template.render(path, template_values))

The issue I'm having is possibly with GAE caching output and not
processing each time the page is hit.

Example domains:
www.domain1.com
www.domain2.com
www.domain3.com

When I visit any domain the first time, I get the expected result:
www.domain3.com

However for the next 5 or so minutes, going to www.domain1.com or
www.domain2.com shows the SAME output:
www.domain3.com

GAE is caching the output possibly? What is going on causing this
unexpected result in code that works properly?
--~--~-~--~~~---~--~~
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] Need index quota reset

2009-07-19 Thread Ben

Hi i'm running into the "Your application is exceeding a quota:
Datastore Indices Count" error.  I had over 100 indexes, but have
since cleaned them up to be under the limit. I have run a
vacuum_indexes, but several of my indexes seem to be stuck in building
status.

Can i get a quota reset?

App ID: orangeVsBlack
--~--~-~--~~~---~--~~
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: Performance of indexes

2009-07-19 Thread Jose Florido

erwtwertwert

On Jul 18, 1:22 pm, Tonny  wrote:
> Hello
>
> I have a simple query like this: MyEntity.all().filter('prop1 =',
> value1).filter('prop2 =', value2).get()
>
> Every now and then it times out. To me it looks simply enough, but as
> I started digging into the issue i came to doubt that I had the proper
> indexes in place. In a relational database I would have made a
> composite index for prop1 and prop2, but I can't find anything in the
> app engine documentation about such an index. Rather I think it
> suggests that the default indexes are sufficient for handling fetches
> filtered by two attributes.
>
> Does anybody know if default indexes are just as efficient as a
> composite index, would the composite index be used at all?
>
> Cheers
> Tonny
--~--~-~--~~~---~--~~
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] Weird Quotas Error

2009-07-19 Thread Federico Builes

When I log into my dashboard I find the following error message:

   "Your application is exceeding a quota: App Config Service Config  
App Call Count"

And when trying to update I get:

   HTTPError: HTTP Error 403: Forbidden
   Rolling back the update.
   Error 403: --- begin server output ---

   Too Many Versions (403)
   The application already has the maximum number of versions.

My current number of versions showing in the dashboard is 4.

Besides that, no dynamic content is being served (although 
http://code.google.com/status/appengine 
  says everything is fine).

My app-id is garota-social, any suggestions on what might be wrong?  
This is an app that's already live :(


--
Federico


--~--~-~--~~~---~--~~
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: Details about the the GAE Log

2009-07-19 Thread NealWalters

I thought all the info available on logging was here:
http://code.google.com/appengine/articles/logging.html

So the page you gave, says I can download it.

Doesn't say if I can read the log via Python running online.  Doesn't
say how long the log is kept (forever, or purge after x days or
months).

Thanks,
Neal

--~--~-~--~~~---~--~~
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] https support for dev_appserver.py?

2009-07-19 Thread Jeff Enderwick

Looks like dev_appserver.py doesn't support http (secure in app.yaml).
Any thoughts about adding that?
Or did I miss something?

Thanks!
Jeff

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