[google-appengine] Re: Queue isEmpty() method

2009-07-30 Thread James
Absolutely agree. Introspection of the task queue would be a huge help. On Jul 11, 1:11 am, Paulo V. pvill...@gmail.com wrote: It would be extremely useful to have an isEmpty() method ontask queues.  An application we are building is going through hoops to indirectly detect when all tasks in

[google-appengine] How can I know if the entity is created or just updated in post call hook?

2009-07-30 Thread Takashi Matsuo
Hi, I'm writing a capability for registering db_hook dynamically. The code snippet follows the mail body. It works well except my code can not distinguish newly created entity from updated entity. I'd like to know how can I know if the entity is created or just updated. What is the most

[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-30 Thread Haisheng HU
In my case I just lost the source code of a project, although it is not a big one. (So I didn't get it into SVN or something like that.) It would be great to be able to download the source code from app engine. Gasp! Haisheng from Beijing On Jul 23, 5:02 pm, Nick Johnson (Google)

[google-appengine] Re: How can I know if the entity is created or just updated in post call hook?

2009-07-30 Thread Nick Johnson (Google)
Hi Takashi, If the entity being put has neither key name nor id, a new id will be created for it when it's put, so it will always result in a new entity being inserted rather than an existing entity being replaced. Likewise, if you see an entity with an id being put, it is almost certainly an

[google-appengine] Re: No SMS support for my country

2009-07-30 Thread Nick Johnson (Google)
Hi, If you are having trouble with SMS verification, or want an additional account activated, please fill out the following form: http://appengine.google.com/waitlist/sms_issues (This is from the following FAQ http://code.google.com/appengine/kb/sms .html#error ) Once you fill out this form,

[google-appengine] Re: Help on the fetchurl feature [setRequestProperty/set request header has limited length]

2009-07-30 Thread Millton
Hi Jeff, Nick Seems like I posted this stuff twice (another thread I posted was talking about the same thing and answered by Nick). here's the detail 1. size of header: urlencoded header size was 700 bytes more or less, it's a delegation token retrived from live services 2. full url

[google-appengine] Re: Help on limiation of Authorization header in fetchurl function

2009-07-30 Thread Nick Johnson (Google)
Hi Millton, Can you please file a bug in the issue tracker for this? -Nick Johnson On Thu, Jul 30, 2009 at 9:44 AM, Millton easywo...@gmail.com wrote: hi Nick I was setup a authetication transfer server so user can use both windows live id and google account to visit my site the

[google-appengine] Re: Help on the fetchurl feature [setRequestProperty/set request header has limited length]

2009-07-30 Thread Nick Johnson (Google)
Shall we make the other thread the authoritative one? We've determined it's a bug, so we'll make sure it gets fixed. :) -Nick On Thu, Jul 30, 2009 at 9:37 AM, Millton easywo...@gmail.com wrote: Hi Jeff, Nick Seems like I posted this stuff twice (another thread I posted was talking about

[google-appengine] Re: Are there any data recovery mechanisms for google app engine database?

2009-07-30 Thread Nick Johnson (Google)
Hi, It's up to you to take backups of your data. We take regular backups of the datastore, but we're unable to restore individual users' data. -Nick Johnson On Thu, Jul 30, 2009 at 5:22 AM, DiveIntoGAE taogf1...@gmail.com wrote: If I delete some important datas by mistake, how can I

[google-appengine] Re: Datastore Design

2009-07-30 Thread Holger
Dear Mark, I think, if you want to get an answer clarifying your problem, you need to formulate your answer in a way that is better understandable. Instead of impying that your 'cluster around' is needed, perhaps you should ask if it is of any advantage to force Google's datastore to save data

[google-appengine] Re: Datastore Design

2009-07-30 Thread Nick Johnson (Google)
On Thu, Jul 30, 2009 at 3:34 AM, Mark Jones mark0...@gmail.com wrote: I'm using the AppEnginePatch to get a fairly useful Django implementation. The problem I've run into is that parent/child/ ancestor relationships aren't well supported. I've found a less than pretty workaround for the

[google-appengine] Re: Type for any types of proprety?

2009-07-30 Thread Juguang XIAO
Thank you guys.. expando is what i am looking for. String has its limitation on 500 bytes in length, right? On Wed, Jul 29, 2009 at 8:41 PM, Daniel Rhoden drho...@gmail.com wrote: A String can go a long way as well. Hopefully your property table has some sane restrictions as to what can

[google-appengine] Re: Logs query

2009-07-30 Thread Nick Johnson (Google)
Hi jc, That's a good idea. Would you like to file a feature request in the bug tracker to that effect? -Nick Johnson On Wed, Jul 29, 2009 at 5:34 PM, jc junyu.l...@gmail.com wrote: Is it possible to add an option which can filter by cpu time, that will help on performance analytics.

[google-appengine] Re: Type for any types of proprety?

2009-07-30 Thread Nick Johnson (Google)
Hi Jugang, That's correct. If you don't need the fields to be indexed, though, you can wrap your strings in db.Text instances, which have no size limitation (other than the limit of 1MB for the whole entity). -Nick Johnson On Thu, Jul 30, 2009 at 11:04 AM, Juguang XIAO jugu...@gmail.com wrote:

[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-30 Thread djidjadji
Is the GAE SDK causing more harddisk failures then average? Am I at risk having the SDK on my harddisk? I have it now for almost a year on my computer. Possible solutions for all coders losing there code. 1) use an SVN/GIT/SCCS/CVS/RCS/... version control system, repository on a different

[google-appengine] Re: Anything better than naked domains?

2009-07-30 Thread Kenneth
Until google releases something similar to elastic ip we're not going to progress this issue and the https on custom domain issue. AFAIK this is the biggest issue for GAE after make the whole thing reliable. No one outside google knows the reason they haven't released this feature or indeed if

[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-30 Thread Nick Johnson (Google)
On Thu, Jul 30, 2009 at 12:54 PM, djidjadji djidja...@gmail.com wrote: Is the GAE SDK causing more harddisk failures then average? Am I at risk having the SDK on my harddisk? I have it now for almost a year on my computer. No, nothing the SDK does could conceivably cause your hard disk to

[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-30 Thread Holger
Hi Haisheng Hu maybe you work on open source code and don't fear anything being stolen. Partial* download capability can be implement easy into Google appengine. Just add the zipme script to your code: http://www.manatlan.com/blog/zipme___download_sources_of_your_gae_website__as_a_zip_file

[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-30 Thread djidjadji
Another solution proposed in this group was to put the appcfg.py update myappdir in a script/batch file and before the appcfg.py call a commandline version of a zip tool that zips up the whole myappdir (except *.pyc files). Move the file to myappdir. In a static file directory, or create a

[google-appengine] Re: sendmail InvalidSenderError

2009-07-30 Thread Wooble
FWIW, every social networking site I've seen sends me private messages from other users from an email address belonging to the site, not from the user's own email address. It hasn't hurt Facebook or Flickr to do so. On Jul 29, 9:41 pm, thebrianschott schott.br...@gmail.com wrote: Thanks

[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-30 Thread Holger
It is possible. Is it possible to create a static file dir that has login:admin in app.yaml? Supposed you have got a first level folder 'mystat' containing the 'list.txt' file, add the following to your app.yaml file: - url: /mystat static_dir: mystat login: admin After upload (appcfg.py

[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-30 Thread Wooble
On Jul 30, 7:54 am, djidjadji djidja...@gmail.com wrote: Possible solutions for all coders losing there code. 1) use an SVN/GIT/SCCS/CVS/RCS/... version control system, repository on a different computer/harddisk (use an editor that can handle this VCS, have a look at emacs, never to late

[google-appengine] Re: Task Queue Exception: What does it mean?

2009-07-30 Thread Joshua Smith
Jeff, I've reworked my app since I originally posted, to avoid relying on the task queue API. The enqueue line was: taskqueue.add(url='/admin/checkStarted?session=%s' % session.key(), method='GET', countdown='30') I did not set a task name. I can see now that this would have

[google-appengine] Re: YUI widgets and GAE

2009-07-30 Thread Djaccb
It turns out the YUI datatable control works fine on GAE. The issue was that I had not added enough data to the control to see the scroll bars show up. After I added additional data, the scroll bars showed as expected. Thanks for the responses. Dave

[google-appengine] new app creation - carrier not supported

2009-07-30 Thread dhr
My country is not on the list of supported mobile providers. Should I just forget about google appengine or there is a way around this? In case anyone is interested, country is 'Moldova, Republic Of'. Carrier name - 'Moldcell'. --~--~-~--~~~---~--~~ You received

[google-appengine] Re: No SMS support for my country

2009-07-30 Thread dhr
Hi Nick, I'd appreciate if you activate my account too. My country, Moldova, is not on the list. tia On Jul 30, 10:49 am, Nick Johnson (Google) nick.john...@google.com wrote: Hi, If you are having trouble with SMS verification, or want an additional account activated, please fill out the

[google-appengine] [django on google app engine patch] django forms problem

2009-07-30 Thread virhilo
Hello I using django on app engine patch, and i have problem when i submiting the form: Here is the full error message: http://dpaste.com/73190/ Here is the part of view when the error apears: http://dpaste.com/73195/ The AddOpinionForm and AddOpinionFormLogged using Opinion model, here is

[google-appengine] java.awt is not supported by goolge Apps engine JRE

2009-07-30 Thread Ap_1
Hi, I am trying to deploy java application into goolge Apps engine,and in my application i am using java.awt is and iText(to generate PDF) both are not supported by goolge Apps engine. I am getting error like java.awt.image.BufferedImage in not supported by goolge Apps engine JRE, could you

[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-30 Thread Pete
The best bet would be a SVN driven App Engine where instead of app version one would choose a revision number. Uploading source twice seems very redundant to me. Pete On Jul 23, 11:02 am, Nick Johnson (Google) nick.john...@google.com wrote: Hi Jungang, Using a version control system such as

[google-appengine] Re: Are there any data recovery mechanisms for google app engine database?

2009-07-30 Thread johnP
Does Google provide any best-practices for implementing a backup process? Thanks! johnP On Jul 30, 2:37 am, Nick Johnson (Google) nick.john...@google.com wrote: Hi, It's up to you to take backups of your data. We take regular backups of the datastore, but we're unable to restore

[google-appengine] Replacements/equivalents for sun.security and sun.misc classes?

2009-07-30 Thread Danny Yoo
I'm trying to port over some of the Google Android app-building classes so I can build Google Android applications on top of Google AppEngine. It's a little perverse, but bear with me. :) One step toward this is getting the .APK signature stuff ready. In fact, I've gotten this to work in my

[google-appengine] Re: Are there any data recovery mechanisms for google app engine database?

2009-07-30 Thread Holger
You may be interested in this thread http://groups.google.de/group/google-appengine/browse_thread/thread/ed98202989904519?hl=en# Could just use the zipme script to implement some download capability in case your own source got lost.

[google-appengine] Re: IP Range and URL Fetch

2009-07-30 Thread Jeff S (Google)
Hi Allen, Unfortunately, no, we don't publish a list of the IP addresses which requests come from. Part of the reason is that these IP addresses are subject to frequent change which might also cause problems for a provider which requires IP address whitelisting. Would it be possible to work out a

[google-appengine] Abnormally long delete times

2009-07-30 Thread someone1
Hey, My app has about 800MB of data that I need to delete. So I made a cronjob to run every minute that runs the following code: while TrackingResult.all().count(1) 0: db.delete(db.GqlQuery(SELECT __key__ FROM TrackingResult).fetch(100)) TrackingResult is my entity model with

[google-appengine] Re: Abnormally long delete times

2009-07-30 Thread Nick Johnson (Google)
Hi someone1, On Thu, Jul 30, 2009 at 7:02 PM, someone1someo...@gmail.com wrote: Hey, My app has about 800MB of data that I need to delete. So I made a cronjob to run every minute that runs the following code: while TrackingResult.all().count(1) 0:            db.delete(db.GqlQuery(SELECT

[google-appengine] Re: Are there any data recovery mechanisms for google app engine database?

2009-07-30 Thread johnP
Thanks - those links to ways of recovering source-code. What I'm interested in is hearing Google's recommendation on backing up and restoring data. GAEBAR is an option, I know. Is the official advice from Google to use it? Backing up and restoring of data seems to be a significant-enough

[google-appengine] Re: Are there any data recovery mechanisms for google app engine database?

2009-07-30 Thread Nick Johnson (Google)
Hi johnP, GAEBAR is certainly one option. The other option is to use the bulk exporting functionality of appcfg.py. Or, you can roll your own using remote_api. -Nick Johnson On Thu, Jul 30, 2009 at 7:24 PM, johnPj...@thinkwave.com wrote: Thanks - those links to ways of recovering

[google-appengine] Re: Abnormally long delete times

2009-07-30 Thread someone1
Hey, Thanks for the quick reply. Won't the task scheduler still take away from the CPU time? Also, if I were to utilize task queues, would this be how I should approach it? taskqueue.add(url='/batchDelete', params={'key': key}) and the /batchDelete would be something like: parentObj =

[google-appengine] Re: Abnormally long delete times

2009-07-30 Thread Nick Johnson (Google)
On Thu, Jul 30, 2009 at 7:39 PM, someone1someo...@gmail.com wrote: Hey, Thanks for the quick reply. Won't the task scheduler still take away from the CPU time? Yes, but it runs when you want it, not every minute. Also, if I were to utilize task queues, would this be how I should

[google-appengine] Data Model Structure Advice

2009-07-30 Thread someone1
hey, I am unsure of the proper or best way to structure my datastore models, so i was hoping someone could point me in the right direction: How its done now using References: Model A (user information/login) Model B (references Model A and contains attributes of when referencing Models were

[google-appengine] Re: Data Model Structure Advice

2009-07-30 Thread someone1
Sorry, I did not write my Model H correctly, it should be: Model H (references Model G and Model C) On Jul 30, 7:41 pm, someone1 someo...@gmail.com wrote: hey, I am unsure of the proper or best way to structure my datastore models, so i was hoping someone could point me in the right

[google-appengine] Re: No SMS support for my country

2009-07-30 Thread someone1
hahahaha, i laughed so hard after reading how Nick repeatedly gave the same reply to everyone. I think Nick will no longer be activating accounts as there is a online form which he has linked to many times above. :D On Jul 30, 4:01 am, dhr dima.hris...@gmail.com wrote: Hi Nick, I'd

[google-appengine] Re: Mutation of instances and other facilities for modern system development.

2009-07-30 Thread Alejandro F. Reimondo
Hi, Noone can provide guidance nor references? Where I can find low-level references or the right group for this kind of questions? (related with object systems and basic semantics for object systems built in the engine) Ale. - Original Message - From: Alejandro F. Reimondo

[google-appengine] Re: Watermarking with Image Composite

2009-07-30 Thread Rodrigo Moraes
On Jun 3, 8:08 pm, Mick wrote: Just tested and it worked on appspot. awesome! but is there a workaround to get it work correctly on dev? Hi Mick. I had this same problem today (no transparency in png's when using composite()), and got a quick fix. If you want to pach the SDK until it is fixed,

[google-appengine] Re: Mutation of instances and other facilities for modern system development.

2009-07-30 Thread Tim Hoffman
I think because you are looking for answers to question that I think in the main are defined by the language you use to implement a solution with rather than app engine. The datastore is just a data repository and what you can do with it will be dependant on what level in the various api's you