Re: [google-appengine] Re: Task queue execution and Admin

2011-04-06 Thread Robert Kluin
This is a total guess, but what if you run your tasks from a subpath such as /tasks? So the url for that task would be /tasks/sendInvitation. Then secure the /tasks/* path. Perhaps another security constraint is defined that conflicts with your task. Robert On Wed, Apr 6, 2011 at 03:41

Re: [google-appengine] Re: Please help me delete indexes

2011-04-06 Thread Robert Kluin
File a production issue: http://code.google.com/p/googleappengine/issues/entry?template=Production%20issue On Thu, Apr 7, 2011 at 02:42, Shaun Budhram wrote: > Bumping.  Can someone please help me clear out these indexes, or give > tips on if it's possible to do it myself? > I really nee

[google-appengine] Re: Please help me delete indexes

2011-04-06 Thread Shaun Budhram
Bumping. Can someone please help me clear out these indexes, or give tips on if it's possible to do it myself? I really need to fix this in order to progress on my project. Thanks, Shaun On Apr 2, 3:18 pm, Shaun Budhram wrote: > Hello, > > I recently spun off an app from my previous app, with

Re: [google-appengine] Channel API ClientID error

2011-04-06 Thread Robert Kluin
Hi Ania, It sounds like you are trying to use the token returned by createChannel as the client id. Instead you should pass that token to the client, the client should use that token to open the channel. You should instead use the same string that you originally passed to createChannel. You

[google-appengine] Re: Datastore Admin

2011-04-06 Thread Greg
I've figured out that it should be the second configuration - with the ": on". After using firebug to see what was going on in the blank iframe, I saw service login requests. So I logged out and logged back in, and it started working. I'm guessing that the new accounts system is introducing some

Re: [google-appengine] API to read Logs inside my application

2011-04-06 Thread Robert Kluin
Hi Sérgio, I'm not sure if you'll be able to make this work or not, but you could look at the source of the Python SDK's appcfg tool. I'm not sure if you'll be able to get it to work or not. http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/tools/appcfg.py#8

[google-appengine] Re: Announcement: Deprecating Python 2.4 support (App Engine 1.4.3 SDK final release to support it)

2011-04-06 Thread Sudhir
I'm didn't know that 2.4 was supported in the first place :-/ Hope this heralds the release of 2.7 support... Sudhir On Apr 7, 3:31 am, PK wrote: > Ben, > > even when GAE provides 2.7 support pretty soon the next version of > Ubuntu will ship with the next version of python as the default. The

[google-appengine] Re: How to block Google App Engine?

2011-04-06 Thread Sudhir
Yeah, I think this is trolling. I think the easiest and most efficient way to solve the problems he's facing is to block all IPs that match the 0.0.0.0 mask, and also blacklist all user agents that have length > 0. Should work like a charm. Sudhir On Apr 7, 4:42 am, JH wrote: > trolling? > > O

Re: [google-appengine] Delete entry from list via production Data Viewer

2011-04-06 Thread Robert Kluin
Hey Blake, You might want to look into the remote_api. You should be able to use it to manipulate the entity, even without the original codebase. I believe you'll be able to define the entity as an Exando with only the list property, fetch it by key, remove the item from the list, then put the e

Re: [google-appengine] How to read byte by byte from a Datastore Entity Object

2011-04-06 Thread Robert Kluin
Hi, You can't stream data from App Engine. The response is buffered until your servlet returns before sending the response. http://code.google.com/appengine/docs/java/runtime.html#Responses You might want to look at using the Blobstore. As Simon mentioned, check out the FileService, perh

Re: [google-appengine] Urlfetch CSV data and storing in Datastore entity is consuming too much CPU and Deadline Exceed Errors

2011-04-06 Thread Nick Johnson (Google)
Hi Sarfaraz, Which sort of deadline exceeded error are you getting? If it's from the URLFetch call, you can increase the deadline; on offline requests (task queue and cron job) that can be up to 10 minutes. You can generally ignore the 'too much CPU' warning; there are no longer per-handler or pe

[google-appengine] Re: Datastore Admin

2011-04-06 Thread Greg
I'm still getting the blank screen - the iframe where the datastore admin content should be is blank. Can a Googler comment on whether my app.yaml should contain: builtins: - remote_api: on - datastore_admin (as per documentation, but raises yaml parsing error ) or builtins: - remote_api: on - da

[google-appengine] Happy Birthday Google App Engine !!

2011-04-06 Thread Rajkumar Radhakrishnan
Hi, It is now 3 years since Google App Engine was first released. *Happy Birthday Google App Engine !!* A warm thanks to folks at Google, for continuing to make Google App Engine better and for your support in the developer groups and in other forums. Keep up the good work !! For me, *Google App

Re: [google-appengine] Query.count(1) vs. Query.get()

2011-04-06 Thread Nick Johnson (Google)
Hi Jordon, Calling .get() and checking if the result is None is more efficient. Calling count executes the query, and calling get executes it again, so doing it that way you're pointlessly duplicating the effort. You're also introducing a potential synchronization/concurrency issue. -Nick Johnson

Re: [google-appengine] Re: Neat way to remove obsolete properties from entities?

2011-04-06 Thread Robert Kluin
Hey Erwin, Try it. Here's some sample code: class T(db.Model): sp = db.StringProperty() ip = db.IntegerProperty() T(key_name='test', sp='some str', ip=7).put() # stop. go look in the datastore viewer. # now, comment out the def of 'sp' and the put(), then reru

Re: [google-appengine] Entity "Locking"

2011-04-06 Thread Nick Johnson (Google)
Hi, Transaction contention only occurs on entities in the same entity group. An entity group consists of a set of entities with the same parent entity. Since neither of the entities in your example have the same parent entity, no, they will not cause contention if they're updated at the same time.

[google-appengine] Re: Neat way to remove obsolete properties from entities?

2011-04-06 Thread Erwin Streur
Robert, Are you sure that this is going to work? In GAE there is a significant difference between a property not being set/not existing at all and being set to null/None. Erwin On 5 apr, 08:27, Robert Kluin wrote: > Hey Greg, >   Assuming you are deleting the property definition from the Model,

RE: [google-appengine] Re: URLFetch 1MB Request Limit

2011-04-06 Thread Brandon Wirtz
I zip things before putting them in data store, this lets you go larger than 1m in many cases, and up to 6m on many XML files. -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Sam Edwards Sent: Wednesday, April 06, 2011 6:48

Re: [google-appengine] 500 Server Error on the Google side

2011-04-06 Thread ronny r
http://partychapp.appspot.com/room/m2m 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. I seem cannot invite my friends to this groups and i

[google-appengine] Please update roadmap

2011-04-06 Thread Mars
Could someone from the GAE team please update the roadmap at http://code.google.com/appengine/docs/roadmap.html Also is it possible to indicate the priority of upcoming features? I'm sure many users here are anxious to know when custom domain SSL will be available... Thanks, Mars -- You receiv

[google-appengine] Re: URLFetch 1MB Request Limit

2011-04-06 Thread Sam Edwards
There is a new experimental feature: http://code.google.com/appengine/docs/java/blobstore/overview.html#Writing_Files_to_the_Blobstore or you can check the size, and if it's over 1 mb, you can split it into multiple pieces? On Apr 6, 7:33 am, Gwyn O'Howell wrote: > I am at the tail end of develo

[google-appengine] Entity "Locking"

2011-04-06 Thread Movesax
Hello, I'm not sure I understand something about transaction contention. Does contention occur when two people try to update a single instance of a kind or does contention occur when two people try to update ANY instance of a kind. I'm not a computer scientist by trade, so to be sure that I h

[google-appengine] Query.count(1) vs. Query.get()

2011-04-06 Thread Jordon Wii
Hi guys, Which of the following is more efficient: Using Query.count(1) to test, then using .get() if there is a result: --- q = MyModel.all().filter("field =", value) count = q.count(1) if count: result = q.get() do_stuff(result) else: create_entity() Or just calling .g

[google-appengine] Re: How to block Google App Engine?

2011-04-06 Thread JH
trolling? On Apr 6, 3:51 am, Álvaro Degives-Más wrote: > In my case, I have both; the API isn't one particularly apt for user > authentication (i.e. I'm not looking at limiting users to a somehow > pre-accredited group) but more for *validation*, in a more or less trivial > sense. The thing is, a

[google-appengine] Re: How do I change to the High Replication datastore and keep my app id?

2011-04-06 Thread Greg
On Apr 7, 11:03 am, Jeff Schnitzer wrote: > How did you get appids less than 6 characters? I'm guessing 'X' and 'Y' are replaced with longer words. -- 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

Re: [google-appengine] Re: How do I change to the High Replication datastore and keep my app id?

2011-04-06 Thread Jeff Schnitzer
How did you get appids less than 6 characters? Jeff On Wed, Apr 6, 2011 at 1:13 PM, Kaan Soral wrote: > Everyone opens a billing ticket and they reference the old appspot.com > url to your new one too > > I did open a ticket too but couldn't get a reply, thinking logically I > didn't need the ol

[google-appengine] Channel API ClientID error

2011-04-06 Thread Ania
Hi, I'm trying to send message between users using Channel API.I'm getting a following error: java.lang.IllegalArgumentException: Invalid client ID. The clientid must be fewer than 64 bytes when encoded to UTF-8. Client ID I'm passing is the one generated by ChannelServiceFactory. Does anybody

Re: [google-appengine] Re: SDK 1.4.3 has been released!

2011-04-06 Thread Sérgio Lopes
I've been using GAE 1.4.3 with on and AlwaysOn for a few days. And my conclusion is that it almost solves all Cold Start problems we were used to. Now I have fewer instances warmups and most of them are /_ah/warmup request with no user suffering. In my tests, I had instances lasting more than

[google-appengine] Re: Problema do servidor de produção GAE 1.4.3

2011-04-06 Thread Sérgio Lopes
Acho que você já resolveu o problema, certo? Qualquer coisa melhor ver lá pelo GUJ, aqui nessa lista é só em inglês mesmo. Abraços -- You received this message because you are subscribed to the Google

[google-appengine] API to read Logs inside my application

2011-04-06 Thread Sérgio Lopes
Hi everybody I know we can get all Logs using the SDK remotely. But can I access my application logs inside the application itself? I think there isn't an official API for that. But maybe there's some internal API used by the SDK that I can use inside AppEngine... any ideas? Thanks -- You rec

[google-appengine] Re: Announcement: Deprecating Python 2.4 support (App Engine 1.4.3 SDK final release to support it)

2011-04-06 Thread PK
Ben, even when GAE provides 2.7 support pretty soon the next version of Ubuntu will ship with the next version of python as the default. The best is to be in control of the python interpreter you use for development and change it in your own timeframe, not because you upgraded the OS and came with

RE: [google-appengine] Re: HItting query limit using Geocoding API from App Engine

2011-04-06 Thread Brandon Wirtz
Use a Proxy. Then you can come through your own IP-pool. From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Joe Tyson Sent: Wednesday, April 06, 2011 2:59 PM To: google-appengine@googlegroups.com Subject: Re: [google-appengine] Re: HItting query lim

Re: [google-appengine] Re: HItting query limit using Geocoding API from App Engine

2011-04-06 Thread Joe Tyson
We are delegating some of that to the client now, but it is far less than ideal. Our client is mobile, so every byte that we send over can end up costing our users money (you would be surprised how sensitive some people are to this). Thanks for the resource, though. I wish country level would be e

[google-appengine] Re: HItting query limit using Geocoding API from App Engine

2011-04-06 Thread nickmilon
May be you can delegate the geocoding job to the client side using js ? also you can take a look here : http://gaengine.blogspot.com/2010/11/world-countries-and-ip-geocoding-api.html Nick ;-) On Apr 6, 7:25 pm, Joe Tyson wrote: > Hello, > > This seems to be more of a problem with the geocod

Re: RE: [google-appengine] Violation of Terms - A Google App Engine Is Trying to Defraud My Customers

2011-04-06 Thread hector@ISB
i thought that GAE was also blocked in Cuba... but tell me more about your brides! :-) -- 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,

[google-appengine] Re: How do I change to the High Replication datastore and keep my app id?

2011-04-06 Thread Kaan Soral
Everyone opens a billing ticket and they reference the old appspot.com url to your new one too I did open a ticket too but couldn't get a reply, thinking logically I didn't need the old appspot url since the app is in development so I changed XandY.appspot.com to XnY.appspot.com HR and added a re

[google-appengine] Re: Announcement: Deprecating Python 2.4 support (App Engine 1.4.3 SDK final release to support it)

2011-04-06 Thread Kaan Soral
Well I am also used to work the way you do, an IDE uploading files on save. The Development/Production difference requires twice the effort. Pros: - Safety from instant bugs (not a big pro) - Safety from crucial bugs (like deleting everything by mistake, I once did it with a PHP App, had no backu

[google-appengine] How do I change to the High Replication datastore and keep my app id?

2011-04-06 Thread Dan Dubois
I just want to know for future reference as applications reference my appspot.com address and I am considering moving over from Master Slave to High Replication. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send

Re: [google-appengine] Re: CSV in Appengine!

2011-04-06 Thread Barry Hunter
You need to use a geocoder (well technically a reverse geocoder). That will most probably be connecting to an external webservice, such as geonames, or the one in the Google Maps API. (note if you use the Google Maps API one, you must use teh data to shown a Google Map on your site) It could be a

[google-appengine] HItting query limit using Geocoding API from App Engine

2011-04-06 Thread Joe Tyson
Hello, This seems to be more of a problem with the geocoding api than app engine, but I'm unable to get ahold of anyone on that team so I'll post here instead. The new Geocoding API doesn't do any form of url signing or api keys for non-premier accounts and resorts to using IP address to contr

RE: [google-appengine] Violation of Terms - A Google App Engine Is Trying to Defraud My Customers

2011-04-06 Thread Brandon Wirtz
Considering App Engine is blocked in China, this has to be the worst Idea for an AppEngine App ever... Well that and my idea for a Cuban Brides site. -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Ben Munoz Sent: Tuesday,

[google-appengine] Re: Delete entry from list via production Data Viewer

2011-04-06 Thread Darien Caldwell
I use lists for user data and I have to say I've yet to find a way to modify lists via the datastore viewer. I think Google rightly prevents this, as a list can potentially be a thousand or more items long. But I still wish there was a way to do this for shorter lists. -- You received this messag

Re: [google-appengine] Re: CSV in Appengine!

2011-04-06 Thread Massimiliano
I'm not afraid how to import the CSV. I don't know how to manage the data to obtain the city and country with the coordinates! 2011/4/6 JH > Max, > > There is a nice python library called xlwt, I'm sure you can find it > via Google. It lets you read and write Microsoft Excel files. > > Cheers

[google-appengine] Re: CSV in Appengine!

2011-04-06 Thread JH
Max, There is a nice python library called xlwt, I'm sure you can find it via Google. It lets you read and write Microsoft Excel files. Cheers On Apr 6, 9:07 am, Massimiliano wrote: > Hi, > can someone help me?  A big problem for me, I hope easy for you. I have a > file xls (I can convert it i

[google-appengine] CSV in Appengine!

2011-04-06 Thread Massimiliano
Hi, can someone help me? A big problem for me, I hope easy for you. I have a file xls (I can convert it in CSV) like this: Place Coordinates Place1 1,2 Place2 3,4 Place3 5,6 Place4 7,8 and so on... and I want to store it in appengine l

[google-appengine] Re: How to read byte by byte from a Datastore Entity Object

2011-04-06 Thread Simon Knott
Hi, Have you thought about using the new FileService, which was released as "experimental" in the latest SDK? See http://code.google.com/appengine/docs/java/blobstore/overview.html#Writing_Files_to_the_Blobstore for more information. Cheers, Simon -- You received this message because you a

[google-appengine] How to read byte by byte from a Datastore Entity Object

2011-04-06 Thread Kayode Odeyemi
Hello, In a nutshell, since GAE cannot write to a filesystem, I have decided to persist my data into the datastore (using JDO). Now, I will like to retrieve the data byte by byte and pass it to the client as an input stream. There's code from the gwtupload library (see below) which breaks on GAE b

[google-appengine] URLFetch 1MB Request Limit

2011-04-06 Thread Gwyn O'Howell
I am at the tail end of developing an App which takes documents from google docs and exports them into another system via urlfetch calls. Everything works fine, until the size of the doc exceeds 1MB, due to the !MB Request Limit with URLFetch. What I am trying to do doesn't seem like an unusual

[google-appengine] Re: Violation of Terms - A Google App Engine Is Trying to Defraud My Customers

2011-04-06 Thread Albert
What do you mean by "is listening to my web site's traffic"? How do they do that? On Apr 5, 12:20 pm, Ben Munoz wrote: > There is a web site that is listening to my web site's traffic and > trying to send my customers to their web site.  How can I get a hold > of someone from Google to issue a c

Re: RE: [google-appengine] How to block Google App Engine?

2011-04-06 Thread Álvaro Degives-Más
In my case, I have both; the API isn't one particularly apt for user authentication (i.e. I'm not looking at limiting users to a somehow pre-accredited group) but more for *validation*, in a more or less trivial sense. The thing is, as I'm essentially seeing that "trivial" doesn't exist, the AP

[google-appengine] Violation of Terms - A Google App Engine Is Trying to Defraud My Customers

2011-04-06 Thread Ben Munoz
There is a web site that is listening to my web site's traffic and trying to send my customers to their web site. How can I get a hold of someone from Google to issue a complaint and have this account disabled. Violating App: http://chinacarrental.appspot.com Ben Munoz -- You received this mes

[google-appengine] Delete entry from list via production Data Viewer

2011-04-06 Thread Blake
Is it possible to delete an entry from a list via the GAE Data Viewer? Here is an example: * You have 2 entities, Newsletter and Interest * Each Newsletter has 1 or more Interests (stored as a list of Keys) I need to remove an Interest from the list of one of the Newsletters, however, I don't hav

RE: [google-appengine] How to block Google App Engine?

2011-04-06 Thread Brandon Wirtz
Nick is right. If you want to have an API, you shouldn’t block based on the method of “curl” being used, but by something more like user/pass, OAUTH, Token, or any of a dozen other methods. If you are just talking about a Web site not an API, then I could see preventing scraping by saying “not

[google-appengine] Re: How to block Google App Engine?

2011-04-06 Thread Álvaro Degives-Más
You're absolutely right. I'm not much concerned with search engine ranking; that's a hobby I don't care for. I'm solely concerned with appearing in search engine indexes when people search for specific stuff as a potential vector. That is what prompts me to go about with a machete. What too man

Re: [google-appengine] How to block Google App Engine?

2011-04-06 Thread Álvaro Degives-Más
Ross, thanks for your clarification on my crude classification but the key aspect for me is that Google App Engine operates from within Google's *address space*. So, what a Google App Engine powered service *does* as intended, i.e. its *functional* typology is much less important (or defining) t

Re: [google-appengine] How to block Google App Engine?

2011-04-06 Thread Álvaro Degives-Más
Hi Nick, that's excellent advice, and a good analysis from the quantitative end of things. The problem is that abuse does not manifest itself in a statistically more or less uniform manner, so as to allow applying risk factoring as you suggest it. It's an issue that goes far beyond Google App E

[google-appengine] Re: Task queue execution and Admin

2011-04-06 Thread Java_GAE
Hello Robert, Thanks for the reply. Here is the portion of my web.xml which defines URL of the servlet used by tasks and restricts it to ADMIN. /sendInvitation admin On Mar 30, 8:27 pm, Robert Kluin wrote: > I suspect you've got a con

[google-appengine] Re: Task queue execution and Admin

2011-04-06 Thread Java_GAE
Dear Robert, Thanks for reply. I double checked and guess everything is ok in web.xml. On Mar 30, 8:27 pm, Robert Kluin wrote: > I suspect you've got a configuration problem.  You might want to > carefully review the docs on configuring theadminonly login. >  http://code.google.com/appengine/doc