[google-appengine] Re: Django+Appengine vs Appengine

2008-12-21 Thread Waldemar Kornewald
Hi, On 20 Dez., 23:15, Bobby bobbysoa...@gmail.com wrote: The MVC, self-contained, DRY approach offered by Django is what really sells it for me at this point (even with the reduced feature set on the AppEngine). I saw this great video from DjangoCon that really outlines this strength of

[google-appengine] Re: script handler issues

2008-12-21 Thread Vince
Thanks Alexander for your reply!! Unfortunately that didn't solve my problem. I am still getting a 404 when I added - url: /finance/worksheet.* script: finworksheet.py Thanks On Dec 21, 2:14 am, Alexander Kojevnikov alexan...@kojevnikov.com wrote: Replace - url: /finance/worksheet/.*

[google-appengine] How to Draw text on png files dynamically with GAE?

2008-12-21 Thread zhyh...@gmail.com
How to Draw text on png files dynamically with GAE? I found that I cant use Python Image Lib in GAE. How can I add some text of number on the png file ? Of Course, it must be on GAE. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[google-appengine] ReferenceProperty proving slow, what path should we take?

2008-12-21 Thread ohadpr
hi all, i'm playing with appengine's data models and i've just hit a little bump in the road: my classes are Group and User, I have many groups and many users. a user can belong to a group, and so I've used a ReferenceProperty from the user to the group which gave me a set of users in the group

[google-appengine] Key Vs Reference

2008-12-21 Thread Guy Rutenberg
Hi, Say I've a key for an item and a reference to it, what would be faster: getting it by key or via the reference? Also, would fetching by a list of keys be slower than fetching by using a back-reference? Thanks, Guy --~--~-~--~~~---~--~~ You received this

[google-appengine] Timeout on get_by_key_name

2008-12-21 Thread Guy Rutenberg
Hi, I've a strange problem, I've a request that only calls get_by_key_name (one time) and does no further work with the Datastore. However, I'm getting a Timeout exception in this call. Is it normal? Should I try to catch the exception and re-try the get_by_key_name? I've thought that

[google-appengine] Datastore API BUG?

2008-12-21 Thread K_Reverter
I found a Strange thing. When I query a GQL like this: SELECT * FROM RgeoData where Y=3000 The result of first row is like this: ID/Name Y areaId maxX minX 130520 3000 2054 8125 8113 But when I query a GQL like this: SELECT * FROM RgeoData where Y=3000

[google-appengine] displaying images from datastore using template

2008-12-21 Thread bruce
Hello I'm probably missing something fundamental but I cant find a solution to serve images dynamically from the appengine datastore. I am somewhat of a newbie, so i apologize for my naivity. I'm using Safari Mac appengine dev environment eclipse pydev. I have a blob field, which

[google-appengine] Re: How to fix pickling error

2008-12-21 Thread Andy Freeman
Is there an issue on this? (I couldn't find one.) I'll star it if there is otherwise I'll add one. I ask because not being able to memcache/pickle query objects is something of a pain for me. (Caching/pickling query results isn't an option for my application.) On Nov 12, 9:50 am, Marzia

[google-appengine] Re: How to Draw text on png files dynamically with GAE?

2008-12-21 Thread Roberto Saccon
It is not possible on appengine, so you need to look elsewhere, use external service or do it at the client in flash (and upload the generated image back to the server). regards Roberto On Dec 21, 11:29 am, zhyh...@gmail.com zhyh...@gmail.com wrote: How to Draw text on png files dynamically

[google-appengine] Re: How to Draw text on png files dynamically with GAE?

2008-12-21 Thread jeremy
i think this will become possible through pure python libraries when long running processes are introduced to gae. On Dec 21, 10:29 am, zhyh...@gmail.com zhyh...@gmail.com wrote: How to Draw text on png files dynamically with GAE? I found that I cant use Python Image Lib in GAE. How can I

[google-appengine] Re: 1 application, multiple datastores

2008-12-21 Thread Andy Freeman
One suggests it should be impossible for the same piece of code to access separate datastore instances, the other suggests that this is a desirable feature. I don't see how you consider them the same - are you saying that you can't see how the cited bug is caused by multiple customers

[google-appengine] Re: are numeric ids of deleted entities reused?

2008-12-21 Thread Andy Freeman
Can we ever experience inserting a record that will have a lower ID than the previous? Yes. An application should not rely on numeric IDs being assigned in increasing order with the order of entity creation. This is generally the case, but not guaranteed. from

[google-appengine] Re: script handler issues

2008-12-21 Thread Drew
Looks like you omitted the subdirectory for finworksheet.py. This ought to work: - url: /finance/worksheet.* script: finance/finworksheet.py I use a slightly different regex to do REST-style URLs: - url: /finance/worksheet(/.*)? script: finance/finworksheet.py This gives you a narrower

[google-appengine] Re: displaying images from datastore using template

2008-12-21 Thread Drew
Try removing the double quotes around {{registrationkey}}. On Dec 21, 10:34 am, bruce bruce.mcpher...@gmail.com wrote: Hello I'm probably missing something fundamental but I cant find a solution to serve images dynamically from the appengine datastore. I am somewhat of a newbie, so i

[google-appengine] Re: Announcing: System Status Dashboard, Quota Details Page, and a Preview of Billing

2008-12-21 Thread Dan Sanderson
On Sat, Dec 20, 2008 at 11:06 PM, Thomas Johansson prenc...@gmail.comwrote: Speaking of the billing, perhaps you can elaborate on the other quotas in place, like sending emails, urlfetch and so forth? The best sources of info on the quotas right now are the Quotas section of the Admin

[google-appengine] Could you please provide issue tracking?

2008-12-21 Thread Amir Michail
Hi, Why is it that Google only offers issue tracking for open source apps? Amir --~--~-~--~~~---~--~~ 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] Re: Timeout on get_by_key_name

2008-12-21 Thread Drew
Are you seeing timeouts with get_by_key_name consistently with a particular model, or randomly? On Dec 21, 2:56 am, Guy Rutenberg g...@labpixies.com wrote: Hi, I've a strange problem, I've a request that only calls get_by_key_name (one time) and does no further work with the Datastore.

[google-appengine] Your app is probably incorrect! [vote up issue 313].

2008-12-21 Thread Amir Michail
Hi, I must say I find it hard to imagine how most apps could be built without distributed transactions: http://code.google.com/p/googleappengine/issues/detail?id=313 Please vote this issue up if it affects your app! Amir --~--~-~--~~~---~--~~ You received

[google-appengine] Re: Announcing: System Status Dashboard, Quota Details Page, and a Preview of Billing

2008-12-21 Thread Thomas Johansson
The docs are fine, I was referring to the billing of the other quotas. Or will they rise proportionally to CPU usage, storage and bandwidth? - Thomas On Dec 21, 7:56 pm, Dan Sanderson dansander...@google.com wrote: On Sat, Dec 20, 2008 at 11:06 PM, Thomas Johansson prenc...@gmail.comwrote:

[google-appengine] Re: App name error ...

2008-12-21 Thread Webweave
So how do I find out who is using my company name ? It's not like 'accuweaver' would be a string somebody might choose by accident. On Dec 18, 3:43 pm, Marzia Niccolai ma...@google.com wrote: Hi, You didn't mis-understand.  In fact, we recently released a change so that you can now claim

[google-appengine] Re: Mail Quota Exceeded by just sending 14 mails

2008-12-21 Thread Arun Shanker Prasad
Hi, Thanks for the link, but from what I can figure out this topic mostly talks about sending bulk mails at a certain interval. In my case I would have to send invitation notices to others from one of the users logged in Any option to get the limit lifted if I set all the recipients in a

[google-appengine] I have error why? please help

2008-12-21 Thread aviza...@gmail.com
Well its simple issue and I cannot understand why it happens. I have a py file in the root directory with simple lines print 'Content-Type: text/plain' print '' print 'Hello, world!' the location is - url: / script: h.py it works just fine (200) now when I change the folder of the file and

[google-appengine] Re: Python basic error why

2008-12-21 Thread aviza...@gmail.com
10x I had a yaml folder that did me some exaptions On Dec 18, 3:13 am, Alexander Kojevnikov alexan...@kojevnikov.com wrote: Try replacing: - url: /import/.*   script: homepage.py with: - url: /import/.*   script: import/homepage.py On Dec 18, 9:21 am, aviza...@gmail.com

[google-appengine] Re: 1 application, multiple datastores

2008-12-21 Thread hawkett
Yes, there is the issue that application code has to manage the customer-specific datastores, but if multiple customers are hosted on the same hardware, someone's code has to do that work and it's unclear why application code can't be part of that process. If the response is that

[google-appengine] Re: 1 application, multiple datastores

2008-12-21 Thread hawkett
Apologies - the following fragment '...moving something as fundamental as data partitioning out of the application platform will enhance this capability.' should read '...moving something as fundamental as data partitioning out of the application layer will enhance this capability.' On Dec

[google-appengine] Re: 1 application, multiple datastores

2008-12-21 Thread Andy Freeman
As I promised, now I'm going to ask how you plan to do maintenance and fixes on behalf of your customers if you can't get to their data. If you have access to the customer's data, they're trusting your code and Google is not protecting their data. On Dec 21, 2:13 pm, hawkett hawk...@gmail.com

[google-appengine] Re: Could you please provide issue tracking?

2008-12-21 Thread Alexander Kojevnikov
http://code.google.com/p/googleappengine/issues/list On Dec 22, 5:56 am, Amir Michail amich...@gmail.com wrote: Hi, Why is it that Google only offers issue tracking for open source apps? Amir --~--~-~--~~~---~--~~ You received this message because you are

[google-appengine] Re: Could you please provide issue tracking?

2008-12-21 Thread Amir Michail
On Sun, Dec 21, 2008 at 5:49 PM, Alexander Kojevnikov alexan...@kojevnikov.com wrote: http://code.google.com/p/googleappengine/issues/list I mean issue tracking for our GAE apps -- including ones that are not open source. Amir On Dec 22, 5:56 am, Amir Michail amich...@gmail.com wrote:

[google-appengine] Re: 1 application, multiple datastores

2008-12-21 Thread hawkett
Via the admin console. Google provides this application code, and it is common - part of the platform offering. This is one possibility. Another is that an admin user for that customer is made available to you for administration purposes. You could initialise the customer data space with this

[google-appengine] Datastore impossibly slow?

2008-12-21 Thread Tom
Hello! I have some data within my application that I want to expire after 1 week. To do this every day I get the 'Scheduler Service' (http:// schedulerservice.appspot.com/) to run a GET request to a page on my app. This then runs a GQL that finds any records over 1 week old, and deletes them.

[google-appengine] Re: Could you please provide issue tracking?

2008-12-21 Thread Amir Michail
On Sun, Dec 21, 2008 at 6:24 PM, David Symonds dsymo...@gmail.com wrote: On Mon, Dec 22, 2008 at 5:56 AM, Amir Michail amich...@gmail.com wrote: Why is it that Google only offers issue tracking for open source apps? There's plenty of third-party issue tracking sites such as

[google-appengine] Re: Could you please provide issue tracking?

2008-12-21 Thread David Symonds
On Mon, Dec 22, 2008 at 5:56 AM, Amir Michail amich...@gmail.com wrote: Why is it that Google only offers issue tracking for open source apps? There's plenty of third-party issue tracking sites such as lighthouseapp.com where you can pay some money. Google provides stuff for open source

[google-appengine] Re: Key Vs Reference

2008-12-21 Thread Chris Tan
Reference property fetches by key. Back-references run a query, and are slower than fetching a list of keys. Both of these are handled transparently using python properties: http://www.python.org/download/releases/2.2.3/descrintro/#property -Chris On Dec 20, 11:41 pm, Guy Rutenberg

[google-appengine] Re: 1 application, multiple datastores

2008-12-21 Thread Andy Freeman
The distinction between application code that can access multiple datastores and code that can access multiple datastores seems strained at best. If there's code that can get to a user's data (and both the admin console and an admin user are code that can get to the user's data), does it really

[google-appengine] Re: 1 application, multiple datastores

2008-12-21 Thread hawkett
Who are you quoting? The Google admin console should not be capable of querying across multiple customer data stores. I repeat - application code can not execute a query across multiple customer data stores - did I offer a distinction somewhere? Admin console *would* allow you to run queries

[google-appengine] Re: How to Draw text on png files dynamically with GAE?

2008-12-21 Thread zhyh . cn
thank you ! 2008/12/22, jeremy jeremy.a...@gmail.com: i think this will become possible through pure python libraries when long running processes are introduced to gae. On Dec 21, 10:29 am, zhyh...@gmail.com zhyh...@gmail.com wrote: How to Draw text on png files dynamically with GAE? I

[google-appengine] Re: Mysterious change to ModelForms module?

2008-12-21 Thread bowman.jos...@gmail.com
I'm not sure if you all changed anything, but this just worked for me. On Dec 18, 2:44 pm, bowman.jos...@gmail.com bowman.jos...@gmail.com wrote: I've been relying on the Kind drop down. The only other difference is that I'm also working within a Django structure. I did just do the test

[google-appengine] Re: bulkload_client.py

2008-12-21 Thread jorge.muriel.santur...@gmail.com
I get the same problem when I try to upload a csv file with characters like á é í ó ú. Does anybody know how to solve it? Thanks On 19 nov, 16:54, Gampesh gamp...@gmail.com wrote: i tried run locally and got following error INFO     2008-11-19 21:22:59,342 bulkload_client.py] Starting import;

[google-appengine] Re: form.as_p

2008-12-21 Thread Thomas
Hi yinDojo, I'm not sure, if I understood your problem. You have a template like this - lets call it index.html --- html body form action= method=post {{form.as_p }} input type=submit name=create value=Create /form /body /html --- Right?? Then your models.py has to look like

[google-appengine] Re: form.as_p

2008-12-21 Thread Jesaja Everling
Hi, I think you mean {{form.first_name.label}} and {{form.first_name}} ?! On Sun, Dec 21, 2008 at 7:28 PM, Thomas thomas.pels...@googlemail.com wrote: Hi yinDojo, I'm not sure, if I understood your problem. You have a template like this - lets call it index.html --- html body

[google-appengine] How to sort enties making use of sharded counter?

2008-12-21 Thread newb
Hi all, I have an entity book and for each book you can vote it up. For the voting aspect, I use a sharded counter as has been recommended here. But now I'm wondering how I can efficiently return my list of books ordered by their vote. Is there an obvious implementation vs. more advanced

[google-appengine] Re: Could you please provide issue tracking?

2008-12-21 Thread Alexander Kojevnikov
How is this different from allowing closed source companies to use Google Groups though?  As long as Google puts ads in the service, then it should be fine. I belive Google Code was created with a different goal. From their FAQ: Why open source projects only? Most proprietary software

[google-appengine] Re: 1 application, multiple datastores

2008-12-21 Thread Andy Freeman
I'm paraphrasing you. You've written repeatedly that a feature that allows an application to choose the datastore on which it operates can not be used for your purposes. The argument appears to be that an application that uses such a feature can theoretically access multiple datastores and is

[google-appengine] Re: How to sort enties making use of sharded counter?

2008-12-21 Thread David Symonds
On Mon, Dec 22, 2008 at 1:00 PM, newb pcbeas...@gmail.com wrote: I have an entity book and for each book you can vote it up. For the voting aspect, I use a sharded counter as has been recommended here. But now I'm wondering how I can efficiently return my list of books ordered by their vote.

[google-appengine] Re: Can I sell software created with Google App Engine Framework?

2008-12-21 Thread Jonathan B
Hi Andrius, On Dec 22, 4:24 am, Andrius andriu...@gmail.com wrote: I have some simple question, can I sell software which will be created using google app engine python framework? As I see it's being licensed under Apache 2, and what is it mean for commercial use? I am not a lawyer,

[google-appengine] dev_appserver.py GET requests are taking 0.5s or more on local system

2008-12-21 Thread Jonathan B
Hi, I'm wondering if anyone else has run into this problem and has some advice for me. I've noticed that the GAE Development Server (dev_appserver.py) is taking about 0.5s or more for every GET request. I'm talking about GETs for local files, with the Dev Server running on my local computer.

[google-appengine] Paging vs. crawlers

2008-12-21 Thread Alexander Kojevnikov
Currently the only efficient way to implement paging is to pass parameters uniquely identifying the page's last entity to the next page handler and use it there as a starting point. See for example Brett Slatkin's talk (slides 34-37):

[google-appengine] Re: dev_appserver.py GET requests are taking 0.5s or more on local system

2008-12-21 Thread Alexander Kojevnikov
See the last question in the Community FAQ: http://knol.google.com/k/marce/app-engine-community-faqs/vkzeph4si12v/1# On Dec 22, 5:57 pm, Jonathan B jonathan.b...@gmail.com wrote: Hi, I'm wondering if anyone else has run into this problem and has some advice for me. I've noticed that the

[google-appengine] Re: Paging vs. crawlers

2008-12-21 Thread Alexander Kojevnikov
But, once a new comment is posted, the value if X on every page is changed as well. Eventually, search engines will index O(C * P) URLs, where C is the number of comments, and P is the number of pages. After a second thought, the number of indexed URLs is O(C), not O (C*P). Which is still too