[google-appengine] Re: Stackoverflow

2011-08-01 Thread MLTrim
StackOverflow is perfect to handle technical questions but the other types of discussion do not fit very well and are not well accepted on SO. Speaking about Android, the tag on SO is pretty florid and crowded but with some quality problem (http://meta.stackoverflow.com/questions/ 100529/help-us-cl

Re: [google-appengine] Re: How to use Datastore Statistics.

2011-08-01 Thread Nick Johnson (Google)
Hi Kwame, You can get the size of an entity by calling len(db.model_to_protobuf(your_model)). This doesn't include index overhead (just like the datastore stats), so you'll need to estimate that. -Nick Johnson On Mon, Aug 1, 2011 at 8:33 PM, Kwame wrote: > Thanks Nick. > Any tips on how to get

Re: [google-appengine] Dynamic delete property fail

2011-08-01 Thread Robert Kluin
Hi, I think this is because you're trying to delete a property included on the schema. The following should demonstrate this: class Test(db.Expando): first_name = db.StringProperty() t = Test(first_name='Jim') t.last_name = 'smith' del t.last_name # ok del t.first_n

Re: [google-appengine] Re: Cannot start local dev server with a previous local_db.bin file: java.io.StreamCorruptedException

2011-08-01 Thread Robert Kluin
Might try asking on the java specific app engine group, or maybe stackoverflow. On Sun, Jul 31, 2011 at 13:38, Tinesoft wrote: > Can anyone help, please ? > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To view this discussi

[google-appengine] Re: Federated Login redirecting to Google OpenID and not /_ah/login_required on Java GAE

2011-08-01 Thread Vishal
Anyone? I still can't get Federated Login to work correctly. Vishal On Jul 29, 12:05 am, Vishal wrote: > Hello Wise AppEngineers, > > I need your help to figure out what I'm doing wrong. I've enabled > Federated Login for my Java app, but whenever I visit a security- > constraint protected url-p

Re: [google-appengine] Crazy number of Deadine Exceeded exceptions recently

2011-08-01 Thread Robert Kluin
Hi Will, I assume this is on the master-slave datastore? I think there were a number of large latency spikes in both the datastore and serving last week. Some things to try: - do work in smaller batches. - if you're doing work serially, do it in batches. - use async interfaces to

Re: [google-appengine] Having no change on my site for a long time,Suddenly, "'The requested URL / was not found on this server.'"

2011-08-01 Thread Robert Kluin
Have you recently enabled Sites on your domain? Perhaps you should try to enable / disable sites on that domain. Robert On Mon, Aug 1, 2011 at 09:56, ZH wrote: > My Site: http://www.imzh.me > It's DOWN. > > But http://zhbjshdq.appspot.com works fine. > > -- > You received this message be

Re: [google-appengine] Website Spam posing by appid: aking-741 using IP 64.233.172.1

2011-08-01 Thread Robert Kluin
On Sat, Jul 30, 2011 at 15:52, Murray W wrote: > Hi all, I have a few questions about how to report and notify your group of > a application abusing websites. > > On the 28th and 29th I saw an interesting useragent and a Google IP address > listed in my banned IP connections due to website abuse.

Re: [google-appengine] How to find out the existing Namespaces for a Kind

2011-08-01 Thread Robert Kluin
Hi, Metadata queries might help you out here. http://code.google.com/appengine/docs/python/datastore/metadataqueries.html#Namespace_Queries Robert On Sat, Jul 30, 2011 at 21:06, waldi wrote: > I stored some entities with a specified namespace in the datastore via > dashboard and wou

Re: [google-appengine] Re: appengine seems to giving zero byte response for small responses

2011-08-01 Thread Robert Kluin
Include your whole handler file if possible. It is very hard to debug by guessing about your code. Robert On Mon, Aug 1, 2011 at 16:43, piased wrote: > > > On Jul 18, 8:46 pm, "Nick Johnson (Google)" > wrote: >> Hi, >> >> You are missing this stanza from the end of your handler script:

Re: [google-appengine] "Enforced Rate" in task queues ruining performance

2011-08-01 Thread Robert Kluin
Excellent question. Hopefully a Googler will give a detailed explanation of all the causes. What is your average latency within the slow queues? What about the error rates? If I'm not mistaken, those two things have been used to throttle queues at various times. Robert On Mon, Aug 1,

Re: [google-appengine] Pre-allocating datastore IDs - plumbing this with db.Model

2011-08-01 Thread Robert Kluin
I currently pre-allocate ids using a global pool for each kind. However, I treat them as key_names when using them (ie Kind(key_name=str(id),...)). I'm not sure if you're tied to using integer ids, but you could also generate UUIDs. Pretty low collision risk, especially if you're using entity gro

[google-appengine] 回复:How to select version of Django when using 'import template'

2011-08-01 Thread lezizi
I've tried adding os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' from google.appengine.dist import use_library use_library('django', '1.1') to my application ,but it reports 'No module named django'. What's wrong? -- You received this message because you are subscribed to the Google Grou

Re: [google-appengine] Stackoverflow

2011-08-01 Thread Robert Kluin
I think the two medias are good for different types of questions. Personally, I think stackoverflow is not as good for questions needing or benefitting from discussion. On Mon, Aug 1, 2011 at 10:03, Vivek Puri wrote: > Is it possible to migrate AppEngine group to Stackoverflow or a white > la

Re: [google-appengine] Re: hosting a c compiler on gae

2011-08-01 Thread Robert Kluin
Or compilers implemented in Java. Might be more likely to find those. On Mon, Aug 1, 2011 at 21:54, Greg wrote: > You could have another server provide a compile service, and have your > Appengine app communicate with it via URLfetch, as you suggest. There > will be inefficiencies here ob

[google-appengine] Re: hosting a c compiler on gae

2011-08-01 Thread Greg
You could have another server provide a compile service, and have your Appengine app communicate with it via URLfetch, as you suggest. There will be inefficiencies here obviously, and you'll have to contend with the URLfetch size and time limits. You could also look for pure python compilers, whic

[google-appengine] Re: Financial App on GAE + Python

2011-08-01 Thread Greg
On Jul 30, 12:04 am, spritedocsadmin wrote: > As this is is my first app on GAE, just wanted to make sure people can > really access it from anywhere in the world with the same speed. Chinese people may have difficulty accessing your app depending on their governments mood on the day, but the oth

Re: [google-appengine] Pre-allocating datastore IDs - plumbing this with db.Model

2011-08-01 Thread Nick Johnson (Google)
On Tue, Aug 2, 2011 at 2:14 AM, Tim wrote: > > > On Monday, 1 August 2011 11:16:40 UTC+1, Stephen wrote: >> >> Even though you're allocating from two ranges rather than one, that's >> still less than the datastore would do things automatically, so you >> still have to be careful. >> >> For exampl

Re: [google-appengine] Re: Stackoverflow

2011-08-01 Thread Nick Johnson (Google)
In the meantime, it's worth noting that there's a thriving community of App Engine askers and answerers on Stack Overflow, including myself. -Nick Johnson On Tue, Aug 2, 2011 at 10:56 AM, Ikai Lan (Google) wrote: > We considered doing this a year and a half ago. I'll talk to the team and > see w

Re: [google-appengine] Re: Stackoverflow

2011-08-01 Thread Ikai Lan (Google)
We considered doing this a year and a half ago. I'll talk to the team and see what the enthusiasm level is on this. The Android team does this and, at least last I heard, they were pretty happy with it. I'll see what they think of it now. -- Ikai Lan Developer Programs Engineer, Google App Engine

Re: [google-appengine] Re: Development Server Performance Issue

2011-08-01 Thread Ikai Lan (Google)
The thing to remember here is that the datastore stub is that: a stub. The whole thing gets loaded into memory. That's how we're able to determine what indexes are required, do full datastore scans, etc. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai

Re: [google-appengine] Google App Engine and Dedicated IP

2011-08-01 Thread Nick Johnson (Google)
Hi Alok, The IP addresses for both incoming and outgoing requests are shared amongst all apps. We have no plans to offer static IPs except insofar as will be necessary for SSL on incoming requests. You should not rely on IP addresses for authentication. -Nick Johnson On Sat, Jul 30, 2011 at 4:58

[google-appengine] "Enforced Rate" in task queues ruining performance

2011-08-01 Thread Brian Olson
Why do we sometimes get vastly underperforming task queues? I've attached a screenshot showing how we're getting 0.62/s on a task queue that's configured to run at 10/s. (and another getting 1.25/s where it should be 10/s). What's the magic word to tell AppEngine "yes, really, run at full speed"?

Re: [google-appengine] Pre-allocating datastore IDs - plumbing this with db.Model

2011-08-01 Thread Stephen
On Mon, Aug 1, 2011 at 5:14 PM, Tim wrote: > > Of course I could just manage my own ID allocation, but I'm never > really keen on that when a data persistance layer has its own ID/Key > mechanism. There's nothing extra to manage here except making sure you're consistent. Enforce this in Car's mak

[google-appengine] Re: appengine seems to giving zero byte response for small responses

2011-08-01 Thread piased
On Jul 18, 8:46 pm, "Nick Johnson (Google)" wrote: > Hi, > > You are missing this stanza from the end of your handler script: > > if __name__ == '__main__': >   main() > I do have that in the handler. The above was a snippet from the script. Without that I don't think it would work, which is no

Re: [google-appengine] Google Apps + Google App Engine, проблемы, не могу использовать GAE из аккаунта Google Apps

2011-08-01 Thread Timofey Koolin
Пишите по-английски или задайте вопрос в русскоязычной группе https://groups.google.com/forum/#!forum/google-appengine-ru Write english please or send your question to russian-language group https://groups.google.com/forum/#!forum/google-appengine-ru 1 августа 2011 г. 20:26 пользователь Артур С

[google-appengine] Re: FAQ for out of preview pricing changes

2011-08-01 Thread Anders
I just wanted to add that being greedy is not necessarily a 'bad' thing for businesses seen from a larger perspective, because a company who is very greedy opens up opportunities for other companies! So almost paradoxically, being greedy can be a generous thing. But when it comes to Google App E

[google-appengine] Re: Stackoverflow

2011-08-01 Thread Kaan Soral
+1 On Aug 1, 5:03 pm, Vivek Puri wrote: > Is it possible to migrate AppEngine group to Stackoverflow or a white > label solution -http://stackexchange.com/. It is becoming impossible > to search anything meaningful and identify top threads in the current > form of the group. Any good solutions pr

Re: [google-appengine] Issues with redirects - getting 302 in browser

2011-08-01 Thread Chris Copeland
Are you testing this from a regular browser? What you're seeing are the headers that the browser should be reading. You could try using django.http.HttpResponseRedirect directly instead of the shortcut and see if that helps. -Chris On Sun, Jul 31, 2011 at 9:04 AM, darrell wrote: > Hi, > > I'm

Re: [google-appengine] Re: GAE Starts dynamic instances for no reason... causing unnecessary cold start delays

2011-08-01 Thread Jon McAlister
@Per, thanks for the data, that is very helpful! There are a couple of things going on here. The first is that it is spinning up several new dynamic instances at a time. That's definitely a bug, and I've confirmed why its happening. We'll fix that for the next release. For your warmup requests, I

[google-appengine] Re: Really high request response time for trivial Python handlers (not explained by App Stats)

2011-08-01 Thread Pol
I didn't look for that info and the logs are gone by now. I'll make sure to check time. However, I didn't play with the scheduler settings and I highly doubt that's relevant as there were *no* users of the app besides me at this time. There are also 3 resident instances. On Jul 31, 8:18 am, Rober

[google-appengine] Google Apps + Google App Engine, проблемы, не могу использовать GAE из аккаунта Google Apps

2011-08-01 Thread Артур С
Я проверил список ЧаВо и искал ответ на мой вопрос в уже отвеченных ветках форума: ДА Адрес моего сайта: www.citiweb.net (это адрес приложения в gae) Описание проблемы (как давно она появилась, какие меры предпринимались для ее решения): Зарегистрировал домен в Google Apps, всё настроил, работает.

[google-appengine] Stackoverflow

2011-08-01 Thread Vivek Puri
Is it possible to migrate AppEngine group to Stackoverflow or a white label solution - http://stackexchange.com/ . It is becoming impossible to search anything meaningful and identify top threads in the current form of the group. Any good solutions provided are buried quickly below getting stated k

[google-appengine] Issues with redirects - getting 302 in browser

2011-08-01 Thread darrell
Hi, I'm using Django nonrel with App Engine and having an issue with redirects. Very simple redirects in my view handlers: @login_required def dashboard(request): if check_if_user_needs_to_import(request.user): return redirect("user_welcome") Are not redirecting properly in App Engi

[google-appengine] How to find out the existing Namespaces for a Kind

2011-08-01 Thread waldi
I stored some entities with a specified namespace in the datastore via dashboard and wounder how I can find out the namespaces I used. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://group

Re: [google-appengine] Re: Searching logs in log viewer fails

2011-08-01 Thread Sajid Manzoor
http://hostinpakistan.com On Fri, Jul 29, 2011 at 9:39 PM, Chris Copeland wrote: > I'm having a very similar issue. When searching logs by path, certain log > entries are only shown if I give a "since" date. > > I wrote up this issue with repro steps and screenshots. Please star it if > you

[google-appengine] Website Spam posing by appid: aking-741 using IP 64.233.172.1

2011-08-01 Thread Murray W
Hi all, I have a few questions about how to report and notify your group of a application abusing websites. On the 28th and 29th I saw an interesting useragent and a Google IP address listed in my banned IP connections due to website abuse. Abuse Report Date: 7/28/2011 1:49:31 PM PSTIP: 64.

Re: [google-appengine] Re: Financial App on GAE + Python

2011-08-01 Thread Alexander Jeliuc
Really like your app... :) seems you add authentication to it... is it written using tipfy??? 2011/7/29 spritedocsadmin > Dear Greg > > Thank you for visiting the app. > > Actually I have kept it open (without login) for now , just for public > review. > > As this is is my first app on GAE, just

[google-appengine] Having no change on my site for a long time,Suddenly, "'The requested URL / was not found on this server.'"

2011-08-01 Thread ZH
My Site: http://www.imzh.me It's DOWN. But http://zhbjshdq.appspot.com works fine. -- 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

[google-appengine] Re: Problems Deploying App - 500 Internal server Error

2011-08-01 Thread Pol
>From my experience, when these happens they don't happen once, but for a continuous period of time say 15mn. So they appear to be reproducible 100% during this period. If you provide an direct email address people can use next time it happens, then the affected developer can provide the app id and

Re: [google-appengine] Exception during JDO getObjectById

2011-08-01 Thread Bevis
Dears, Please try to replace your code with following code and try. * @PrimaryKey* * @Persistent* * private Key contextKey;* * * And persist your object to store by following way. (User is an Pojo in my application) Key key=KeyFactory.createKey(User.class.getSimpleName(), use

[google-appengine] hosting a c compiler on gae

2011-08-01 Thread madmax
Hi, I am writing a coding website. I want to provide an option to the users to compile their c,c++ or java code. Basically I want to host a compiler in my app. Some google links said that it is not possible to host an external program on gae. Is there any alternative? Like connecting to a Linod

[google-appengine] JDO schema change nightmare, app going live

2011-08-01 Thread miwcoder
Hi, We are in the process of going live with our app but struggling with schema changes. We intentionally adopted JDO as we wanted to keep changes minimum in case we need to port. But it is biting us now as it is a nightmare to change the schema. We are trying to add only Object types as suggest

[google-appengine] Problem fetching db.ListProperty data

2011-08-01 Thread Simon
Hi, I'm new to appengine and I'm trying to write an app in python, however I don't think that my problem is python specific. If somebody else already asked the same question, I'm sorry for repeating it. I searched for quite a while and couldn't find anything. My app is a message board applicati

Re: [google-appengine] Google App Engine and Dedicated IP

2011-08-01 Thread alok bhardwaj
Hi Nick, Is the set or bundle of IP addresses assigned to an App stable at all? Any progress in having static IP to make calls from a GAE app? Thanks, Alok -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on

[google-appengine] Crazy number of Deadine Exceeded exceptions recently

2011-08-01 Thread Will Reiher
I'm trying to debug this issue but I keep hitting a wall. I keep trying new things on one of my deployments to see if I an get the number of errors down but nothing seems to help. It all started in the last week or so ago. I also have some existing deployments that I have not changed and are

Re: [google-appengine] Pre-allocating datastore IDs - plumbing this with db.Model

2011-08-01 Thread Tim
On Monday, 1 August 2011 11:16:40 UTC+1, Stephen wrote: > > Even though you're allocating from two ranges rather than one, that's > still less than the datastore would do things automatically, so you > still have to be careful. > > For example, suppose you later add an admin web interface that ca

[google-appengine] Re: Back-ends instances are dying and not restoring

2011-08-01 Thread Tim Hoffman
If you haven't already done so I suggest you also lodge a production issue. T -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/F_fCE8IBJfkJ. To pos

[google-appengine] Back-ends instances are dying and not restoring

2011-08-01 Thread Kirill Zinoviev
During last week we regulary getting issues with backends - instances are simply disappearing and are not started again. On backends page (https://appengine.google.com/backends?&app_id=*) it says instance is present but when I navigate to instances pages none of them are listed or only some of

[google-appengine] Re: How to use Datastore Statistics.

2011-08-01 Thread Kwame
Thanks Nick. Any tips on how to get data size for entities? I looked through the Appengine Python API, and I don't see a way to get stats like size, etc. Thanks. On Aug 1, 1:57 am, "Nick Johnson (Google)" wrote: > Hi Kwame, > > We don't calculate statistics for arbitrary subsets of your data - th

Re: [google-appengine] Pre-allocating datastore IDs - plumbing this with db.Model

2011-08-01 Thread Stephen
On Mon, Aug 1, 2011 at 10:22 AM, Tim wrote: > > [(*) - Stephen's making the point that I can simply allocate one range of > IDs and use these for new Garages or new Vehicles as appropriate. I > appreciate the info, and if I had hundreds of types of objects then I may > look at that, but for now I'

Re: [google-appengine] Pre-allocating datastore IDs - plumbing this with db.Model

2011-08-01 Thread Tim
On Monday, 1 August 2011 02:30:11 UTC+1, Nick Johnson (Google) wrote: > > In the absence of cookbook examples, I've concluded >> >>- I can pre-allocate a range of IDs for a given class using >>db.allocate_ids(), but as individual keys encode the id and the parent >>instance (if any)

Re: [google-appengine] Re: GAE Starts dynamic instances for no reason... causing unnecessary cold start delays

2011-08-01 Thread Tim Hoffman
I have created a new issue specifically asking for metrics/statistics on rate of instance startup shutdown, http://code.google.com/p/googleappengine/issues/detail?id=5458 If you interested star or even add some more stats/numbers your would like to see. I think this is going to be important a

[google-appengine] Re: Cron schedule : one day per month ?

2011-08-01 Thread Al Murauski
20 of month 09:00 worked for me -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/7t1S3OIxu_QJ. To post to this group, send email to google-appengine

[google-appengine] Re: Cron schedule : one day per month ?

2011-08-01 Thread Al Murauski
Any progress on "day of month" feature? Is there an issue? I could star it. Thanks! -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/hMVIoJTrsOoJ.