[google-appengine] Re: Memcache Question

2009-01-01 Thread djidjadji
A snippet from the code for google.appengine.api.users -- A nickname is a human-readable string which uniquely identifies a Google user, akin to a username. It will be an email address for some users, but not all. - At the moment the __str__() functions returns the

[google-appengine] Re: Global Time Synchronisation Guarantees

2009-01-01 Thread Anders
If the GAE server clocks can be out of sync several seconds it could potentially be a problem for my messenger/chat application. Let's say that user A sends a message and user B replies to that message within 10 seconds, then if user A and B access different servers when sending their messages

[google-appengine] Re: Problem with PDF as a static file

2009-01-01 Thread Garrett Davis
I have a site - http://froi.appspot.com/ - that serves up static pdf documents without a problem. I happen to have created a separate folder for them, so the app.yaml entry looks like this: - url: /pdf static_dir: pdf/ Note that, as with any 'static' files, the app server can serve them

[google-appengine] one application multiple alias domain

2009-01-01 Thread gops
is there any way in google apps to add gooogle app engine app and run it for multiple domain alias. i.e. www.maindomain.com/mypage.html and www.aliasdomain.com/mypage.html will show same page. can anybody confirm weather it is possible or not ?

[google-appengine] Re: URL Fetch API --- Does Google log IP addresses to prevent abuses?

2009-01-01 Thread KillIEbrowser
... IP addresses of the clients (web browsers) ... On Dec 30 2008, 9:32 pm, Barry Hunter barrybhun...@googlemail.com wrote: IP addresses of what? 2008/12/30 KillIEbrowser davide.rogn...@gmail.com: Hi All, Does Google log IP addresses to prevent abuses? -- Barry

[google-appengine] Re: Problem with PDF as a static file

2009-01-01 Thread Oliver Zeigermann
I have not tried this myself, but what about: http://www.reportlab.org/rl_toolkit.html On 1 Jan., 13:43, Garrett Davis garrettdavis...@gmail.com wrote: I have a site -http://froi.appspot.com/- that serves up static pdf documents without a problem. I happen to have created a separate folder

[google-appengine] Re: why java

2009-01-01 Thread Aramaki
That is exactly my point On Jan 1, 4:26 am, luismgz luis...@gmail.com wrote: Anyway, I'm sure any half-competent java programmer would be able to pick up python in a couple of hours. On Dec 31 2008, 8:02 pm, warreninaustintexas warreninaus...@gmail.com wrote: Programmers are human beings

[google-appengine] Re: Global Time Synchronisation Guarantees

2009-01-01 Thread Andy Freeman
For a number of possible reasons (including the consistency of a running balance), an accounts engine might have a basic specification requirement that invoices are generated in sequence with ascending invoice numbers *and* ascending invoice time/date. Except that consistency doesn't require

[google-appengine] Re: one application multiple alias domain

2009-01-01 Thread niklasr
Sure you can. For each domain just apply the same app. Niklas On Jan 1, 2:29 pm, gops patelgo...@gmail.com wrote: is there any way in google apps to add gooogle app engine app and run it for multiple domain alias. i.e.  www.maindomain.com/mypage.htmlandwww.aliasdomain.com/mypage.html will

[google-appengine] Re: When data is entered in the datastore, is it available at the same time to all instances?

2009-01-01 Thread bowman.jos...@gmail.com
Thanks for the explanation, I'm going to assume it's client/server related then, meaning, my code. On Dec 31 2008, 8:26 pm, djidjadji djidja...@gmail.com wrote: Yes there is only one instance of the object in BigTable. If a request calls put() on an object what happens is: 1) the object is

[google-appengine] Re: Problem with PDF as a static file

2009-01-01 Thread warreninaustintexas
Garrett, Thanks. I am now getting a 403 (Forbidden) error instead of 404 - but at least the web server is finding the file. w. On Jan 1, 6:43 am, Garrett Davis garrettdavis...@gmail.com wrote: I have a site -http://froi.appspot.com/- that serves up static pdf documents without a problem. I

[google-appengine] Re: Problem with PDF as a static file

2009-01-01 Thread warreninaustintexas
Garrett, Thanks. I used your suggestion and am now getting a 403 (Forbidden) error instead of 404 - but at least the web server is finding the file. Right now I am only serving up static PDF files. I don't have any experience with programmatically filling in blanks in a PDF form. w. On Jan 1,

[google-appengine] Re: Server Not Found to access my app hosted on google app engine

2009-01-01 Thread Min Li
Hi Marzia, I got below error when I tried to add 'www' to webpages. 'One of the addresses you have chosen has already been assigned. Please visit the settings page for Google App Engine to modify the original address, or choose a different one below.' Min On Dec 23, 4:27 pm, Marzia Niccolai

[google-appengine] urlencode in app engine templates

2009-01-01 Thread Remis B
Hi Everyone I need to url encode an string in the template. In django template language reference I saw documentation for filter URLENCODE which Escapes a value for use in a URL. When I tried it, it does nothing, I'm getting back the same string. I want to produce an url with properly encoded

[google-appengine] Re: Googe App Engine and Friend Connect...

2009-01-01 Thread Shalin Shekhar Mangar
You can add them inside the static directory. You must also map them to '/' (root) by adding the following in your app.yaml file. - url: /canvas.html static_files: static/canvas.html upload: static/canvas.html - url: /rpc_relay.html static_files: static/rpc_relay.html upload:

[google-appengine] Newbie - Lost my code question

2009-01-01 Thread Jammin
Hi All, I only just started with this last night and wrote a small amount of code and then lost my hard-disk! Is there a way that I can get back the code that I have deployed to google apps? I can't see anything in the admin console. Thanks for your help.

[google-appengine] Re: Problem with PDF as a static file

2009-01-01 Thread Gert-Jan
Hi Warren, Did your pdf-file exceed 1 MB? Greetings, Gert-Jan --~--~-~--~~~---~--~~ 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] Re: why java

2009-01-01 Thread aah
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html ??? On Dec 31 2008, 8:45 pm, Xavier Mathews xavieruni...@gmail.com wrote: Well not many people developers etc use that form of java anymore kinda like c++ --~--~-~--~~~---~--~~ You received this

[google-appengine] Re: Newbie - Lost my code question

2009-01-01 Thread Mir Nazim
SUE GOOGLE On Thu, Jan 1, 2009 at 7:41 PM, Jammin b...@jammin.co.uk wrote: Hi All, I only just started with this last night and wrote a small amount of code and then lost my hard-disk! Is there a way that I can get back the code that I have deployed to google apps? I can't see anything

[google-appengine] Re: Newbie - Lost my code question

2009-01-01 Thread Mir Nazim
Oh. I am really sorry about that. I misinterpreted you mail. I humbly apologize. On Fri, Jan 2, 2009 at 3:07 AM, Mir Nazim mirna...@gmail.com wrote: SUE GOOGLE On Thu, Jan 1, 2009 at 7:41 PM, Jammin b...@jammin.co.uk wrote: Hi All, I only just started with this last night and wrote a

[google-appengine] Re: why java

2009-01-01 Thread dalenewman
I didn't know Python when I started, but I like it now :-) Google App Engine w/Python was a great excuse for me to learn another language. I program in VB.NET and some C# at work (by the way, VB.NET is the best and you'll never find anything better... you can take that to the bank), but I am

[google-appengine] How to query through multiple models?

2009-01-01 Thread Tom
Given models code def Parent(db.Model): parent_name = db.StringProperty() def Child(db.Model): parent = db.ReferenceProperty(Parent, collection_name=children) child_name = db.StringProperty() /code What query would return all parents with children named 'Joe'?

[google-appengine] Access app.yaml values at run time

2009-01-01 Thread DocDay
Surely my Python code could parse the app.yaml file to pull out any value I want. Instead, I'm wondering if GAE makes app.yaml values available to my application at run time? Specifically, I'm looking for application code and application version.

[google-appengine] Re: Access app.yaml values at run time

2009-01-01 Thread Robin B
See the environment section of the guide: http://code.google.com/appengine/docs/python/theenvironment.html I think you want: APPLICATION_ID, CURRENT_VERSION_ID If you still want to read the app.yaml at runtime, remove app.yaml from the skip_files section, read in the file directly from the

[google-appengine] Re: Newbie - Lost my code question

2009-01-01 Thread Alexander Kojevnikov
I only just started with this last night and wrote a small amount of code and then lost my hard-disk! Is there a way that I can get back the code that I have deployed to google apps? I can't see anything in the admin console. See the first question in the App Engine Community FAQ:

[google-appengine] Re: How to query through multiple models?

2009-01-01 Thread Alexander Kojevnikov
What query would return all parents with children named 'Joe'? De-normalise! Add a StringListProperty to the Parent, and update it with all children of that parent. You can then query the parents directly. --~--~-~--~~~---~--~~ You received this message because

[google-appengine] Re: How to query through multiple models?

2009-01-01 Thread Tom
I was afraid that would be the answer. On Jan 1, 8:14 pm, Alexander Kojevnikov alexan...@kojevnikov.com wrote: What query would return all parents with children named 'Joe'? De-normalise! Add a StringListProperty to the Parent, and update it with all children of that parent. You can then

[google-appengine] Re: How to query through multiple models?

2009-01-01 Thread Tiago S.
I´m facing the exactly same problem. I thought about querying all(with a fetch(100), in my case) the children with name 'Joe', and then put all the parent keys in a list(with a list comprehension, maybe). With all the keys, query the Parent using Parent.get(list). Is this acceptable or the

[google-appengine] Re: How to query through multiple models?

2009-01-01 Thread Alexander Kojevnikov
It will certainly work though it's not as efficient as querying de- normalised parents. You can try this approach first and if it's not fast enough for your app, you can always de-normalise later. On Jan 2, 2:59 pm, Tiago S. tsera...@gmail.com wrote: I´m facing the exactly same problem. I

[google-appengine] Re: How to query through multiple models?

2009-01-01 Thread Tiago S.
Thanks, Alexander! I´ll try that first as I´m still reluctant in doing de-normalization. Regards, On Jan 2, 2:05 am, Alexander Kojevnikov alexan...@kojevnikov.com wrote: It will certainly work though it's not as efficient as querying de- normalised parents. You can try this approach first and

[google-appengine] Developer invite problem

2009-01-01 Thread AE6RT
Good day. I'm hosting a GAE app on a Google Apps-hosted domain. Call this domain example.com, and my GAE app is available at a.example.com. I try to invite d...@example.com to be a developer, but the email invitation is never delivered to d...@example.com. In fact, no email invitations seem