[google-appengine] my jquery post isn't working after deployment.

2009-06-16 Thread loell
$.post(/gettags,{ppa_name: '{{ppaname}}' }, function (data ,textStatus){element.innerHTML = data; } ) I'm puzzled why this piece code is properly working on localhost, but when deployment it won't. does jquery's post method works for you? or are there any caveats that i should know?

[google-appengine] Re: why there is no way to build a key id?

2009-06-16 Thread cryb
Hi Jeff. Thanks for your reply.. I really hope that in the near future appengine will support setting key ids for entities. You mentioned that I can use hooks in order to achieve my goal.. However I was more interested in a solution based on appengine java sdk, and not on python hooks. Does

[google-appengine] is there a way to access bigtable timestamps?

2009-06-16 Thread cryb
Hello. Is there a way to access bigtable timestamps for entity data? This would avoid the need to create an additional property field just for that. If this feature is not available, do you have any plans to release it? Thanks. --~--~-~--~~~---~--~~ You received

[google-appengine] potential commit problems

2009-06-16 Thread cryb
Hello. AppEngine docs/articles state that commit is performed in 2 separate, sequential stages: changes to entities (stage 1) and changes to indexes (stage 2). My question is what happens after a successful commit in stage 1 (that is entity data becomes visible), followed by a crashed index

[google-appengine] Re: URL path in python script handlers

2009-06-16 Thread Sylvain
Did you check the WSGIApplication ? application = webapp.WSGIApplication([('/feed/.*', MainPage)], debug=True) On 16 juin, 03:04, Vadim Zaliva l...@codeminders.com wrote: I am trying to write Python handler which will analyze URL path. For example I would

[google-appengine] Re: URL path in python script handlers

2009-06-16 Thread Nick Johnson (Google)
On Tue, Jun 16, 2009 at 2:04 AM, Vadim Zaliva l...@codeminders.com wrote: I am trying to write Python handler which will analyze URL path. For example I would like it to be accessible as: /feed/1 /feed/2 So I've put following to app.yaml: - url: /feed/.* script: feed.py We also

[google-appengine] Re: potential commit problems

2009-06-16 Thread Nick Johnson (Google)
Hi cryb, App Engine is designed such that the indexes will always be in sync. Updates are either applied fully (including index updates), or not at all. -Nick Johnson On Tue, Jun 16, 2009 at 9:46 AM, cryb cbuti...@gmail.com wrote: Hello. AppEngine docs/articles state that commit is

[google-appengine] Re: my jquery post isn't working after deployment.

2009-06-16 Thread Nick Johnson (Google)
Hi loell, On Tue, Jun 16, 2009 at 8:00 AM, loell loellanth...@gmail.com wrote: $.post(/gettags,{ppa_name: '{{ppaname}}' }, function (data ,textStatus){element.innerHTML = data; } ) We need more details in order to help you with this. Have you checked the request logs in your admin console,

[google-appengine] app-engine-patch 1.0.2 released

2009-06-16 Thread Waldemar Kornewald
Hi, we've released app-engine-patch 1.0.2 (Django 1.0.2) which comes with interesting new features: * jQuery and BlueprintCSS integration to demonstrate the media generator * remote access via remoteapi (including support for manage.py syncdb) * an important bugfix for strange exceptions after a

[google-appengine] Re: Open Letter to Google App Engine Team: Billing for CPU time is Wrong

2009-06-16 Thread Nick Johnson (Google)
Hi Alex, Thanks for your feedback. Responses inline. On Mon, Jun 15, 2009 at 11:46 PM, Alex Popescu the.mindstorm.mailingl...@gmail.com wrote: While I am appreciating the work and innovation behind the App Engine platform, I believe that billing for CPU time is wrong: - the terms are not

[google-appengine] Re: Server Error

2009-06-16 Thread Nick Johnson (Google)
Hi Neal, What is your App ID, and what is the offending request? Feel free to send these to me privately if you're concerned about revealing them on this forum. When you check your request logs, try setting the minimum severity to 'Requests Only' - do the requests show up in the logs at all?

[google-appengine] Re: Finding out if a key is in the datastore

2009-06-16 Thread Nick Johnson (Google)
Hi n8gray, There's currently no support for an 'exists' operation. A key only query as bd_ describes would work, but I would expect the execution time for such a query to be at least as long as a simple get(). Unless your entity is exceptionally large, a straightforward get() is likely to be only

[google-appengine] Re: DNS error - cannot find server

2009-06-16 Thread Barry Hunter
Probably an issue with your host. Seems to be working now. As for troubleshooting, try something like http://centralops.net/co/DomainDossier.aspx?dom_dns=true and check it resolved to a valid looking Google IP On 15/06/2009, EW portofino...@gmail.com wrote: I have an app that has been

[google-appengine] Re: is there a way to access bigtable timestamps?

2009-06-16 Thread Barry Hunter
Dont think there is (not seen it at least) as for plans, you should add it to the issue tracker. On 16/06/2009, cryb cbuti...@gmail.com wrote: Hello. Is there a way to access bigtable timestamps for entity data? This would avoid the need to create an additional property field just for

[google-appengine] export or report on resource usage

2009-06-16 Thread Jonathan
Hi, I am trying to optimise the performance of my application and I find the reporting provided in the dashboard to be less useful than I need. The two things that I am trying to optimise are cpu-time and downloaded bandwidth (of course) and I would love to be able to find out which handlers are

[google-appengine] Re: export or report on resource usage

2009-06-16 Thread Nick Johnson (Google)
Hi Jonathan, You can use the 'request_logs' command of appcfg to download the request logs for your app in Apache format, which includes the response size. We don't currently provide programmatic access to the CPU time, however. At the moment, you can use the quota API to get the CPU usage so

[google-appengine] Re: why there is no way to build a key id?

2009-06-16 Thread Andy Freeman
The decision to allow setting key_names but not IDs is something we may revisit. I hope that you're also considering some way to request and allocate an unused id for a given path prefix. (That way we can get unique key ids to specify.) On Jun 15, 4:45 pm, Jeff S (Google) j...@google.com

[google-appengine] Re: Server Error (500) while uploading index definitions (again)

2009-06-16 Thread gae123
For the record, four days after the original posting this remains an issue!! I sent a private message to Nick Johnosn with my app id yesterday morning but have not heard back. There is another posting in this thread by L whom I do not know and has nothing to do with my original posting and

[google-appengine] Do repeated things in appengine..?

2009-06-16 Thread richardcur...@googlemail.com
I want to do some kind of automated (i.e. no triggered by anyone) administrative task every 1-2 hours. Can I somehow schedule that to automatically happen in appengine? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[google-appengine] Dynamically reloading application files

2009-06-16 Thread Josh Moore
Hi, I am using JRuby to run rails on the App Engine. I have noticed that the HTML template files but the ruby files I cannot. Is this because of the restrictions of the App Engine? That the html files can be dynamically reloaded but the code files cannot? If this is the case does anybody know

[google-appengine] Re: why there is no way to build a key id?

2009-06-16 Thread Jeff Enderwick
I second that. I have cases where I'm building a structure of multiple objects, and I have to do a put() just to get the id, and then I need to do another put() to the same object later on. Eliminating the 2nd put() of the same object in the flow would also allow me to wrap it in a transaction.

[google-appengine] Re: Debug log retention period

2009-06-16 Thread Jeff S (Google)
Hi David, There is a fixed size of storage for logs, so the length of time that log entries are available for an app depends on how much data is being logged. Here is a related thread with a recommendation on how to keep a running log on your own machine:

[google-appengine] Re: No SMS in Ecuador?

2009-06-16 Thread Jeff S (Google)
Hi Jose, If your provider is not listed as one which we currently accept, you can use the form linked to in this FAQ to request access: http://code.google.com/appengine/kb/sms.html#carrier http://appengine.google.com/waitlist/sms_issues Happy coding, Jeff On Sat, Jun 13, 2009 at 9:17 AM, Jose

[google-appengine] Re: Do repeated things in appengine..?

2009-06-16 Thread Adam
It's in the manual: http://code.google.com/appengine/docs/python/config/cron.html On Jun 16, 12:18 pm, richardcur...@googlemail.com richardcur...@googlemail.com wrote: I want to do some kind of automated (i.e. no triggered by anyone) administrative task every 1-2 hours. Can I somehow schedule

[google-appengine] Re: Server Error

2009-06-16 Thread NealWalters
Nick, I just discovered that there were Main/Logs and Admin/Logs. Yesterday, I was looking at the Admin/Logs. So today, in the Main/Logs I see my error. It is related to this: import atom.url returnURL = atom.url.Url('http', settings.HOST_NAME, path='/ customerLogin') Then when I fixed

[google-appengine] Use of Main/Log

2009-06-16 Thread NealWalters
Can a developer write a message to the Main/Log file (to be viewed on the Admin/Console). Seems like this might be handy occasionally for debugging. Or is it better to create you own table and write there? Thanks, Neal Walters --~--~-~--~~~---~--~~ You received

[google-appengine] Re: DeadlineExceededException - how to avoid?

2009-06-16 Thread J Keller
Thank you Scott - that redirect trick worked great. After processing a subset of the data, I simply redirect back to my service. Each time it caches more of the data, until the job is complete. Sometimes this can cause the browser to give up and report an 'infinite redirect loop', but it

[google-appengine] Re: DeadlineExceededException - how to avoid?

2009-06-16 Thread bd_
On Jun 16, 3:15 pm, J Keller jpaulkel...@gmail.com wrote: Thank you Scott - that redirect trick worked great. After processing a subset of the data, I simply redirect back to my service.  Each time it caches more of the data, until the job is complete.  Sometimes this can cause the browser

[google-appengine] Re: Use of Main/Log

2009-06-16 Thread Barry Hunter
http://code.google.com/appengine/articles/logging.html On 16/06/2009, NealWalters nealwalt...@nealwalters.com wrote: Can a developer write a message to the Main/Log file (to be viewed on the Admin/Console). Seems like this might be handy occasionally for debugging. Or is it better to

[google-appengine] Re: Hypothetical DB Design Question

2009-06-16 Thread Jeff S (Google)
Hi Tony, I thought of a few ideas that you could use in this type of situation. I'm not saying this is the best/most efficient design, but it illustrates a different approach than you may be used to. The general guidelines I'm using are to do more work at write time and less at read time and take

[google-appengine] Re: why there is no way to build a key id?

2009-06-16 Thread Jeff S (Google)
The datastore does not allow key_names which begin with a digit in order to avoid confusion with an ID, which is numerical. If you want to use numeric key names, you could add a one letter prefix :-) Happy coding, Jeff On Jun 16, 1:17 am, cryb cbuti...@gmail.com wrote: Hi Jeff. Thanks for

[google-appengine] Re: app-engine-patch 1.0.2 released

2009-06-16 Thread Tibor Piri
Hi, I am really happy about this patch, but some installation instructions would be very welcome! Bye, Tibor On Jun 16, 3:57 pm, Waldemar Kornewald wkornew...@gmail.com wrote: Hi, we've released app-engine-patch 1.0.2 (Django 1.0.2) which comes with interesting new features: * jQuery and

[google-appengine] Re: app-engine-patch 1.0.2 released

2009-06-16 Thread 'Αλκης Ευλογημένος
Aren't these http://code.google.com/p/app-engine-patch/wiki/GettingStartedgood enough? On Tue, Jun 16, 2009 at 10:39 PM, Tibor Piri tibor.p...@gmail.com wrote: Hi, I am really happy about this patch, but some installation instructions would be very welcome! Bye, Tibor On Jun 16, 3:57 pm,

[google-appengine] Re: Key Only Queries with Java

2009-06-16 Thread Nick
Hi Jeff, I wasn't using the low level API, but now that I'm looking, I can't seem find the option you are talking about: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Query.html I'm probably missing something here, but could you point me to the

[google-appengine] Re: my jquery post isn't working after deployment.

2009-06-16 Thread ofey
the request seems to be fine, /gettags is being called with no errors, I guess my problem is the jquery callback isn't firing up. function (data ,textStatus){element.innerHTML = data; } Prior to this jquery request was /puttags to write tags, consecutively the requests are puttags then

[google-appengine] Re: Key Only Queries with Java

2009-06-16 Thread Jeff S (Google)
Hi Nick, The Javadocs need to be updated, but the method is available in SDK 1.2.1 and later. Eclipse's tool tip reports: public Query setKeysOnly() Makes this query fetch and return only keys, not full entities. Returns: this (for chaining) Happy coding, Jeff On Tue, Jun 16, 2009 at

[google-appengine] Re: Key Only Queries with Java

2009-06-16 Thread Nick
Jeff, Thanks for the quick reply. I found it, I had downloaded the new SDK, but had not enabled it in the build path. Thanks again. Nick On Jun 16, 4:12 pm, Jeff S (Google) j...@google.com wrote: Hi Nick, The Javadocs need to  be updated, but the method is available in SDK 1.2.1 and

[google-appengine] remote_api -ImportError: No module named models

2009-06-16 Thread johnfromCalgary
It seems like variations of this question has been asked a few times, but I can't get tell which of the answers are out of date, in any case, none of the solutions work. I've followed this verbatim:http://code.google.com/appengine/docs/ python/tools/uploadingdata.html and get the error:

[google-appengine] Unable to create a new application

2009-06-16 Thread glenn
My account says I have 10 applications remaining. But when I try to create a new application, entering my mobile phone number, country and carrier, I get the following error: The phone number has been sent too many messages or has already been used to confirm an account. Anyone know what's

[google-appengine] Re: How is an entity key generated?

2009-06-16 Thread gae123
Nick, can we consider what you write below to be part of the API or an internal implementation detail we whould not be relying on? Thanks In the case of 'stringified' keys, what you are seeing is the base64 encoding of the protocol buffer containing the key. You can verify this by going to

[google-appengine] Re: bcrypt on google app engine

2009-06-16 Thread gae123
Mike, this is great news and thanks for 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

[google-appengine] Appengine timeout..?

2009-06-16 Thread astrid.thuec...@googlemail.com
In general - how much data can I send in an request to the appengine and be sure it won't time out? Is the amount different between a GET and POST request? Another thing is, that I would like to create an iframe and send some data in the src-URL string: iframe

[google-appengine] Encrypt data and decrypted in appengine

2009-06-16 Thread timo
I want to send encrypted data to my appengine and never did anything similar. Also I am more of a programming beginner. The encryption should take place from a Java client. This data I send to the appengine where it should be decrypted and then used to answer the request. It can be a very