[google-appengine] Re: Shorten keys on URLs

2009-06-17 Thread djidjadji
In a Google IO 2009 talk Bret Slatkin told that to get shorter keys you should have short Model Names and keynames. 2009/6/14 david : > > Hello everyone, > > I've been looking for a way to shorten keys on URLs, for example: I > learned that an entity key is built from the app id and a path to tha

[google-appengine] Installing a tzmplating lib on GAE : Cheetah

2009-06-17 Thread PYD
Bonjour, I nee to install cheetah (also some other libs, like pySqLite, SqLAlchemy, ...) on GAE, locally for test, and at Google's. I'm not sure if I have to install the libs in my local PYTHON25, and/ or in my local GAE/lib directory. I found the page: http://code.google.com/intl/fr-BE/appengin

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

2009-06-17 Thread Alex Popescu
Nick, Thanks for your answers. I will follow up with a post including my suggestions and update this thread. ./alex On Jun 16, 5:04 pm, "Nick Johnson (Google)" wrote: > Hi Alex, > > Thanks for your feedback. Responses inline. > > On Mon, Jun 15, 2009 at 11:46 PM, Alex Popescu < > > the.mindsto

[google-appengine] Accessing SimpleDB from App Engine - any latency issues?

2009-06-17 Thread ecognium
Hi All, My application requires certain types of query features that are not currently possible through Datastore API and so I am thinking of moving the query side of things to Anazon's SimpleDB (mainly use it to return keys). For example, I would like to return entities that are within a cer

[google-appengine] 'SearchableEntity' object has no attribute '_Entity__unindexed_properties'

2009-06-17 Thread Josh Cronemeyer
In my local dev environment I get the following stack trace when I try to create a record: ERROR2009-06-17 07:50:03,769 __init__.py:385] 'SearchableEntity' object has no attribute '_Entity__unindexed_properties' Traceback (most recent call last): File "/Applications/GoogleAppEngineLauncher.a

[google-appengine] [ANN] Kay - Another web framework on app engine - beta version

2009-06-17 Thread Takashi Matsuo
Hi list, I'd like to let you know about my web framework. It is named 'Kay'. Kay is a web framework made specifically for Google App Engine/Python. The basic design of Kay is based on the Django framework, like middleware, settings and pluggable application, etc. Kay uses Werkzeug as lower level

[google-appengine] Re: 'SearchableEntity' object has no attribute '_Entity__unindexed_properties'

2009-06-17 Thread Nick Johnson (Google)
Hi Josh, Can you please include your source code for the model that extends SearchableModel, or otherwise provide a simple test case that demonstrates the error? -Nick Johnson On Wed, Jun 17, 2009 at 9:18 AM, Josh Cronemeyer wrote: > In my local dev environment I get the following stack trace

[google-appengine] Re: Accessing SimpleDB from App Engine - any latency issues?

2009-06-17 Thread Nick Johnson (Google)
Hi ecognium, On Wed, Jun 17, 2009 at 9:17 AM, ecognium wrote: > > Hi All, > My application requires certain types of query features that are > not currently possible through Datastore API and so I am thinking of > moving the query side of things to Anazon's SimpleDB (mainly use it to > retur

[google-appengine] Re: Installing a tzmplating lib on GAE : Cheetah

2009-06-17 Thread Nick Johnson (Google)
Hi pyd, On Wed, Jun 17, 2009 at 9:01 AM, PYD wrote: > > Bonjour, > > I nee to install cheetah (also some other libs, like pySqLite, > SqLAlchemy, ...) on GAE, locally for test, and at Google's. > I'm not sure if I have to install the libs in my local PYTHON25, and/ > or in my local GAE/lib direc

[google-appengine] Re: Appengine timeout..?

2009-06-17 Thread Nick Johnson (Google)
Hi Astrid, On Wed, Jun 17, 2009 at 6:20 AM, astrid.thuec...@googlemail.com < astrid.thuec...@googlemail.com> wrote: > > 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? Requests are li

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

2009-06-17 Thread Nick Johnson (Google)
I would not rely on the encoding str(key) remaining the same, no. The only guarantee is that it will be interconvertible - eg, db.Key(str(key)) == key. I can't think of a practical reason why you should be relying on this in the first place, though. -Nick Johnson On Wed, Jun 17, 2009 at 3:43 AM,

[google-appengine] Re: Unable to create a new application

2009-06-17 Thread Nick Johnson (Google)
Hi glenn, I've manually activated your account. -Nick Johnson On Wed, Jun 17, 2009 at 2:17 AM, glenn wrote: > > 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: > >

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

2009-06-17 Thread Nick Johnson (Google)
Hi johnfromCalgary, Try running "set PYTHONPATH=." in your shell window before running the import script. -Nick Johnson On Wed, Jun 17, 2009 at 1:30 AM, johnfromCalgary wrote: > > It seems like variations of this question has been asked a few times, > but I can't get tell which of the answers

[google-appengine] Re: Server Error

2009-06-17 Thread Nick Johnson (Google)
On Tue, Jun 16, 2009 at 7:59 PM, NealWalters wrote: > > 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('

[google-appengine] Re: OverQuotaErrors on Image Transforms

2009-06-17 Thread Nick Johnson (Google)
Hi Federico, Quotas are divided into smaller time periods than just daily, to prevent a single burst from exhausting an entire day's quota, and leaving your app inaccessible for the remainder of the day. Does your app have particularly bursty traffic to the Images API? -Nick Johnson On Tue, Jun

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

2009-06-17 Thread Nick Johnson (Google)
Hi gae123, My apologies - your email to me mistakenly got categorized as spam. I've moved the stuck indexes to 'error' state, so you should now be able to vacuum and re-create them. -Nick Johnson On Tue, Jun 16, 2009 at 5:04 PM, gae123 wrote: > > For the record, four days after the original po

[google-appengine] Re: entity at the front of index, should not be there, WILL NOT MOVE.

2009-06-17 Thread Nick Johnson (Google)
Hi Ben, We've taken another look; _now_ it should be fixed. :) -Nick Johnson On Tue, Jun 16, 2009 at 1:02 AM, Ben Nevile wrote: > > Hi Nick, > > Sadly it is NOT fixed. Here is the URL again: > > > http://appengine.google.com/datastore/explorer?app_id=friendmonth&viewby=gql&kind=FacebookUser&qu

[google-appengine] Re: Server Error

2009-06-17 Thread NealWalters
> I would suggest using version control if you want to be able to easily > revert,... I'm using Mercurial, so I have that. I think my point is that when you upload a new version of an app, you really have no idea if it's going to work or not. So your site could be down while you are trying to

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

2009-06-17 Thread Tibor Piri
That link is exactly what I missed. On Jun 17, 12:56 am, Alkis Evlogimenos ('Αλκης Ευλογημένος) wrote: > Aren't these > good > enough? > --~--~-~--~~~---~--~~ You received this message because you are

[google-appengine] Re: entity at the front of index, should not be there, WILL NOT MOVE.

2009-06-17 Thread Ben Nevile
Great, yes, now it is fixed. Can you provide any insight into the nature of the problem? Should I be on guard for this type of thing in the future? What level of trust should I have for the indices? Ben On Jun 17, 8:29 am, "Nick Johnson (Google)" wrote: > Hi Ben, > > We've taken another lo

[google-appengine] Re: entity at the front of index, should not be there, WILL NOT MOVE.

2009-06-17 Thread Nick Johnson (Google)
Hi Ben, The issue was due to a bug in the way we generated index entries for your entities. In addition to the correct index entries, a faulty one was generated. We're working on ensuring this bug doesn't happen again right now. In general, yes, you should be able to trust the indexes absolutely.

[google-appengine] Re: entity at the front of index, should not be there, WILL NOT MOVE.

2009-06-17 Thread Ben Nevile
In fact, on second look, the problem has NOT been fixed. It has been fixed for the entity with id 128120, but now a different entity with id 71134 has taken its place. like 128120, 71134 does not belong at the top of this index. The application relies on the integrity of this index. Please help

[google-appengine] Error: API request datastore_v3.Count().

2009-06-17 Thread vivpuri
Hi, I am getting quite a few errors for datastore_v3.Count() API call. Almost 4 out of 5 calls are failing. Does anyone know what might be going on. An error occurred for the API request datastore_v3.Count(). Traceback (most recent cal

[google-appengine] Re: GData on GAE - to create a new empty spreadsheet - 401

2009-06-17 Thread NealWalters
I'm still stuck on this - any ideas? Thanks, Neal --~--~-~--~~~---~--~~ 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

[google-appengine] Re: entity at the front of index, should not be there, WILL NOT MOVE.

2009-06-17 Thread Nick Johnson (Google)
Hi again Ben, As far as we can tell, this is due to a one-off corruption in the index building process. Are you able to delete and re-create the index in question? -Nick Johnson On Wed, Jun 17, 2009 at 3:05 PM, Ben Nevile wrote: > > In fact, on second look, the problem has NOT been fixed. > >

[google-appengine] Re: 'SearchableEntity' object has no attribute '_Entity__unindexed_properties'

2009-06-17 Thread joshuacronemeyer
Ok. Figured it out. This is a cautionary tale. If you are using your own version of SearchableModel beware the updates. You can miss something. ;) I didn't have this line (from 146 in SearchableModel) self._Entity__unindexed_properties = frozenset (kind_or_entity.unindexed_properties()) This

[google-appengine] Property Rights

2009-06-17 Thread Jonathan
Hi all, I'm a very, very, very novice programmer, but I'm hoping to learn quickly. Anyway, I'm interested in starting to develop webapps and this place looks like a great place to start, especially since I've had a dash of experience with python. What I'm wondering is, let's say I have a stroke o

[google-appengine] Re: Unable to create a new application

2009-06-17 Thread HaiColon
As far as I understand it, this means that your mobile phone number has already been used to sign up for an App Engine account and this can only be done once. I can think of three possible reasons for this: 1) You already used your mobile phone to sign up for App Engine with another Google Accoun

[google-appengine] No way to delete error data entry

2009-06-17 Thread Charlie Zhu
Hi, I have tried all ways I known to delete some schema changing caused error Entities and failed. 1. Delete on Data Viewer on the console. Data Viewer shows "No Data Yet." 2. Delete by code Below is part of the codes: Query q = pm.newQuery(CDKFingerprint.class); List results2;

[google-appengine] DataBase in GoogleApp

2009-06-17 Thread Thegremlin
Hello all , I am trying to get started with GoogleApp and i am reading as much as i can about it. I have a few questions about it. 1. I understood that the DB is not a treditional DB. In the example (shoutout) they show how to store and get data from the DB, however what if i need to stor

[google-appengine] How to import Image and ImageDraw libraries from PIL to google apps

2009-06-17 Thread chinki
Hi, Issue is : getting this error : No module named PIL args = ('No module named PIL',) message = 'No module named PIL' when tried to call the statement import PIL I just want to create an image file dynamically. The things I have done for this is 1. Installed PIL fo

[google-appengine] Re: Datastore Performance Test: Java runs 5 times SLOWER than Python ?

2009-06-17 Thread Nick Johnson (Google)
Hi keakon, Where do you get your figure of '5 times slower' from? The statistics you posted demonstrate Python being slightly slower than Java, not the other way around (and certainly not by a factor of 5). -Nick Johnson On Wed, Jun 17, 2009 at 4:44 PM, 风笑雪 wrote: > I did a datastore performan

[google-appengine] Re: Property Rights

2009-06-17 Thread Nick Johnson (Google)
Hi Jonathan, Rest assured that we have neither desire nor intention to claim your intellectual property. The license you grant in the TOS is purely to allow us to legitimately provide the App Engine service. Note, of course, that I am not a lawyer, this is not legal advice, and I can't speak to s

[google-appengine] Re: No way to delete error data entry

2009-06-17 Thread Nick Johnson (Google)
Hi Charlie, Your easiest option here is probably to upload an alternate major version of your app with the old schema, and use that to retrieve and fix the faulty entit(y|ies). Alternate approaches include using the low level datastore API, or uploading a Python version that uses the low level API

[google-appengine] Re: DataBase in GoogleApp

2009-06-17 Thread Nick Johnson (Google)
Hi Thegremlin, On Wed, Jun 17, 2009 at 10:12 AM, Thegremlin wrote: > > Hello all , > > I am trying to get started with GoogleApp and i am reading as much > as i can about it. > I have a few questions about it. > > 1. I understood that the DB is not a treditional DB. In the example > (shouto

[google-appengine] Re: How to import Image and ImageDraw libraries from PIL to google apps

2009-06-17 Thread Nick Johnson (Google)
Hi chinki, It's not possible to use Python modules that require extension modules (C code) in App Engine. This includes the PIL library. The Image API is available, which may meet your needs: http://code.google.com/appengine/docs/python/images/ . If not, you will need to use an external service to

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

2009-06-17 Thread johnfromCalgary
That worked, thanks. (I actually saw that answer to another post earlier, and for some reason misunderstood the instruction) On Jun 17, 4:46 am, "Nick Johnson (Google)" wrote: > Hi johnfromCalgary, > > Try running "set PYTHONPATH=." in your shell window before running the > import script. > > -N

[google-appengine] Re: Datastore Performance Test: Java runs 5 times SLOWER than Python ?

2009-06-17 Thread 'Αλκης Ευλογημένος
All the puts() are slower in Java it seems. 2009/6/17 Nick Johnson (Google) > Hi keakon, > > Where do you get your figure of '5 times slower' from? The statistics you > posted demonstrate Python being slightly slower than Java, not the other way > around (and certainly not by a factor of 5). > >

[google-appengine] Re: Datastore Performance Test: Java runs 5 times SLOWER than Python ?

2009-06-17 Thread 风笑雪
You can see the first compare result of adding: Java: Time of save 100 entities: 7765ms06-17 07:32AM 49.846 /add 200 7862ms 10825cpu_ms 9453api_cpu_ms 0kb java.latest.gaejava.appspot.com Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/531.0 (KHTML, like Gecko) Chrome/3.0.187.1 Safari

[google-appengine] Application names disappear from Admin console, No new can be created but nevertheless availability counter is decreasing

2009-06-17 Thread stelg
Hi Folks, I experience a strange situation, which needs some explanation as the sequence op steps might have caused this problem. Step 1: I created more than one year ago my first application in Google App Engine using a Google App Acount (here) called X. Step 2: I created a second, a third and

[google-appengine] Re: Application names disappear from Admin console, No new can be created but nevertheless availability counter is decreasing

2009-06-17 Thread Nick Johnson (Google)
Hi stelg, Is account 'X' an Apps for Your Domain account? If so, you need to log in at http://appengine.google.com/a/ to see the apps. -Nick Johnson On Wed, Jun 17, 2009 at 5:08 PM, stelg wrote: > > Hi Folks, > I experience a strange situation, which needs some explanation as the > sequence op

[google-appengine] OverQuotaErrors on Image Transforms

2009-06-17 Thread Federico Builes
Nick Johnson (Google) writes: > Hi Federico, > > Quotas are divided into smaller time periods than just daily, to prevent a > single burst from exhausting an entire day's quota, and leaving your app > inaccessible for the remainder of the day. Does your app have particularly > bursty traffi

[google-appengine] Re: OverQuotaErrors on Image Transforms

2009-06-17 Thread Nick Johnson (Google)
Hi Federico, That could be causing the issue, particularly if you get a burst of users uploading pictures. Currently your best option is probably to do the resizes in a cron job when you can, but the task queue API is coming Real Soon Now, so waiting may be a better bet. :) -Nick Johnson On Wed,

[google-appengine] Re: Appengine timeout..?

2009-06-17 Thread codingGirl
Ok, I know browsers have URL length limits. But I was talking about sending data as part of the src="http://myappspot.appspot.com? somdata=abcdefg" of an iframe. So I was wondering are there limits 1. how much data I can stuff in that src-URL? I guess there is no other way to do it if one uses an

[google-appengine] Re: Appengine timeout..?

2009-06-17 Thread Nick Johnson (Google)
On Wed, Jun 17, 2009 at 5:58 PM, codingGirl wrote: > > Ok, I know browsers have URL length limits. But I was talking about > sending data as part of the src="http://myappspot.appspot.com? > somdata=abcdefg" of an iframe. So I was wondering are there limits > > 1. how much data I can stuff in that

[google-appengine] Testing GAE application best practices

2009-06-17 Thread Kegan
I have been searching this group for testing (unit testing mostly) Python GAE webapp, and the threads about testing (Pyhon) is mostly more than a year ago. They don't contains much discussion or material as well. As a comparison to Django (not in GAE), the framework provides a nice testing framew

[google-appengine] Re: Appengine timeout..?

2009-06-17 Thread codingGirl
I thought the URL lenght limit applies only for URLs typed int he browsers address bar, doesn't it? Or does it also apply to the src-URL in an iframe? On Jun 17, 7:01 pm, "Nick Johnson (Google)" wrote: > On Wed, Jun 17, 2009 at 5:58 PM, codingGirl > wrote: > > > > > Ok, I know browsers have URL

[google-appengine] Re: [ANN] Kay - Another web framework on app engine - beta version

2009-06-17 Thread Ritesh Nadhani
Hi Have you looked into Glashammer? http://glashammer.org/ It uses the same idea that is werkzeug, wtforms and jinja2. On Wed, Jun 17, 2009 at 2:00 AM, Takashi Matsuo wrote: > > Hi list, > > I'd like to let you know about my web framework. It is named 'Kay'. > > Kay is a web framework made spec

[google-appengine] Re: Kay - Another web framework on app engine - beta version

2009-06-17 Thread NealWalters
Can you please tell us the features and benefits of your framework? I don't Jinja2 or Werkzeug - so what's in it for developers? Neal Walters --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group

[google-appengine] Re: Testing GAE application best practices

2009-06-17 Thread NealWalters
I just learned about the Gaebar - Backup and Restore utility this morning: http://aralbalkan.com/1784. No time to use it yet, but they have a nice 16:42 minute video. It talks about moving data between a staging and production environment, so they might answer part of your question. Neal Walters

[google-appengine] Large file support

2009-06-17 Thread Ritesh Nadhani
Hello We are in the process of developing a music website and we will need user to upload their high-quality version of songs. Looking at http://code.google.com/appengine/docs/roadmap.html and http://stackoverflow.com/questions/842426/google-app-engine-large-file-upload, it looks like the suppo

[google-appengine] Re: [ANN] Kay - Another web framework on app engine - beta version

2009-06-17 Thread Takashi Matsuo
Hi Ritesh, Thanks for your comment. Yes I have looked into Glashammer, it seems that it is a neat and nice project. I know Kay is a very similar to Glashammer for now. Having said that, Glashammer is app-engine-in-dependent, so there must be code that is unnecessary for App Engine. I think, in a

[google-appengine] Re: Kay - Another web framework on app engine - beta version

2009-06-17 Thread Ritesh Nadhani
On Wed, Jun 17, 2009 at 10:49 AM, NealWalters wrote: > > Can you please tell us the features and benefits of your framework? > I don't Jinja2 or Werkzeug - so what's in it for developers? Nothing as such. They are just another option instead of Django and Django templating system. Much more modu

[google-appengine] Re: [ANN] Kay - Another web framework on app engine - beta version

2009-06-17 Thread Ritesh Nadhani
On Wed, Jun 17, 2009 at 11:02 AM, Takashi Matsuo wrote: > > Hi Ritesh, > > Thanks for your comment. > > Yes I have looked into Glashammer, it seems that it is a neat and nice > project. I know Kay is a very similar to Glashammer for now. Having > said that, Glashammer is app-engine-in-dependent, s

[google-appengine] Attchment in mail message.

2009-06-17 Thread Irfan Younas
Hi, I am receiving multipart message in Post. I have parsed the message and have extracted different mail parts. And on of the part was --- "content-type: image/gif content-transfer-encoding: base64 content-id: R0lGODlhdQAqALMAAGq12qHQ6Mnk8UGgz/L5/E2m0+Xy

[google-appengine] Re: Not sending Mail using Google Apps code of Sending Mail

2009-06-17 Thread Irfan Younas
Hi, You can send mail on development server locally. For this download "sendmail" utiltiy for windows. extract it in you local directory and set the path varible in environment varible for root folder. e.g. (c:\sendmail) Now in the extracted folder "sendmail", we can see "sendmail.ini". Infact we

[google-appengine] Odd memcache behavior across multiple app instances

2009-06-17 Thread Kim Riber
Hi, I'm experiencing some rather strange behavior from memcache. I think I'm getting different data back from memcache using the same key The issue I see is that when putting load on our application, even simple memcache queries are starting to return inconsistant data. When running the same reque

[google-appengine] Re: removing ACSID cookie expiration, ACSID-reset

2009-06-17 Thread John Tantalo
Disregard the above. Without an 'expires=', this cookie will expire when the browser closes (not desired). I attempted to length the ACSID cookie expiration, but I believe GAE specifically removes my headers before sending to the client in this case. --~--~-~--~~~---~-

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

2009-06-17 Thread J Keller
> It should be fairly straightforward to handle this polling in > Javascript, eliminating the infinite redirect loop and allowing for > the possibility of giving status readouts for the user :) That sounds promising. I very familiar with Java, but have just started playing with javascript recentl

[google-appengine] not able to upload app nor able to change default version

2009-06-17 Thread dhaval
Deploying new version. 2009-06-17 23:57:24,171 ERROR appcfg.py:1241 An unexpected error occurred. Abort ing. Traceback (most recent call last): File "F:\Program Files\Google\google_appengine\google\appengine\tools \appcfg.p y", line 1234, in DoUpload self.Commit() File "F:\Program Files\Go

[google-appengine] Re: DataBase in GoogleApp

2009-06-17 Thread Eddie Harari
Can any one point for the best practice with regards to the DB ? Adding some kind of fields to my data models is possible in order to be able to know what data belongs where. But it seems to me that the more data you have on that single application the more queries will be inefficient. Cause if

[google-appengine] Re: Odd memcache behavior across multiple app instances

2009-06-17 Thread Kim Riber
To clarify a bit: one thread from our server runs one loop with a unique id. each requests stores a value in memcache and returns that value. In the following request, the memcache is queried if the value just written, is in the cache. This sometimes fail. My fear is that it is due to the reques

[google-appengine] Re: Kay - Another web framework on app engine - beta version

2009-06-17 Thread Takashi Matsuo
Hi Neal, Thanks for your question. On Thu, Jun 18, 2009 at 2:49 AM, NealWalters wrote: > > Can you please tell us the features and benefits of your framework? > I don't Jinja2 or Werkzeug - so what's in it for developers? Werkzeug has a powerful debugger. Kay contains a bit modified version of

[google-appengine] Re: Kay - Another web framework on app engine - beta version

2009-06-17 Thread Takashi Matsuo
On Thu, Jun 18, 2009 at 4:06 AM, Takashi Matsuo wrote: > > Hi Neal, > > Thanks for your question. > > On Thu, Jun 18, 2009 at 2:49 AM, NealWalters > wrote: > > > > Can you please tell us the features and benefits of your framework? > > I don't Jinja2 or Werkzeug - so what's in it for developers?

[google-appengine] confusing template documentation on webpy.org

2009-06-17 Thread K
I noticed that two templetor documents exist: 1. http://webpy.org/docs/0.3/templetor 2. http://webpy.org/templetor The second page is out of date, as it describes 0.2 templates. This caused me some frustration in trying to figure out why my exported globals weren't working with Google App Engine

[google-appengine] Re: Server Error

2009-06-17 Thread Wooble
If you upload a new major version, it doesn't become the default version until you switch to it. There's no need to test with a different application id (well, unless you expect to be writing code so bad it breaks your production data horribly.) On Jun 17, 9:25 am, NealWalters wrote: > > I woul

[google-appengine] Re: Accessing SimpleDB from App Engine - any latency issues?

2009-06-17 Thread ecognium
Thanks, Nick. Yes I am already using a similar approach to paging. I did not know about this module, which probably can replace what i have written so will definitely look into that. Btw, the link to the pager.py file is down so here the google cache link to the required class: http://74.125.155.

[google-appengine] Re: Accessing SimpleDB from App Engine - any latency issues?

2009-06-17 Thread Barry Hunter
On 17/06/2009, ecognium wrote: > > Thanks, Nick. Yes I am already using a similar approach to paging. I > did not know about this module, which probably can replace what i have > written so will definitely look into that. Btw, the link to the > pager.py file is down so here the google cache l

[google-appengine] Re: DataBase in GoogleApp

2009-06-17 Thread Wooble
On Jun 17, 2:35 pm, "Eddie Harari" wrote: > But it seems to me that the more data you have on that single application > the more queries will be inefficient. > > Cause if I have stored 4 objects in my DB and one user has only 500 > objects in the DB , I will need to go over all the 40,000 o

[google-appengine] Re: Not sending Mail using Google Apps code of Sending Mail

2009-06-17 Thread NealWalters
Not sure, but you might need to use the variable "html" instead of "body" if you want a hyperlink (or any HTML formatting) in your email message. Neal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engi

[google-appengine] Re: Attchment in mail message.

2009-06-17 Thread NealWalters
If you are sending from local-dev-app-server, then you might be having the same problem I was - see this message: http://groups.google.com/group/google-appengine-python/browse_thread/thread/114baca865d09595#. My problem went away when I ran on the real live Google App Server environment. My dev e

[google-appengine] Re: Datastore Performance Test: Java runs 5 times SLOWER than Python ?

2009-06-17 Thread Peter Recore
I think the problem might be related to the fact that you're using JDO on the java side and the low level datastore api on the python side. The JDO implementation does not efficiently batch multiple updates/ inserts. I would guess that you will see much closer performance if the low level api is

[google-appengine] Re: DataBase in GoogleApp

2009-06-17 Thread Eddie Harari
1. If i have the USA phone directory as my DB, and NY has 10,000,000 records in it. or i have a DB with only NY 10,000,000 records without the rest of the USA. searching for all NY records will take same time at both cases ? 2. The other reason to split the DB is security, should a "bug" or a goog

[google-appengine] HTTPS

2009-06-17 Thread Shane
Hi, I have a test site on appspot, which I CNAME redirect to from my own domain name, something like www.blah.com -> blah.appspot.com. Everything works perfectly (I'm using Java as well as GWT). Now, I would like to POST a login form to an HTTPS URL within my appspot domain so I can authenticate

[google-appengine] DataBase in GoogleApp

2009-06-17 Thread Federico Builes
Eddie Harari writes: > 1. If i have the USA phone directory as my DB, and NY has 10,000,000 records > in it. or i have a DB with only NY 10,000,000 records without the rest of > the USA. searching for all NY records will take same time at both cases ? >From my understanding, they will both run

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

2009-06-17 Thread Vadim Zaliva
On Jun 16, 3:56 am, Sylvain wrote: > Did you check the WSGIApplication ? > > application = webapp.WSGIApplication([('/feed/.*', MainPage)], >                                      debug=True) > Thanks! That's was the problem - I forgot to adjust WSGIApplication params accordingly. Vadim --~--~-

[google-appengine] Re: GData on GAE - to create a new empty spreadsheet - 401

2009-06-17 Thread Jeff S (Google)
Hi Neal, Since you are using ProgrammaticLogin, you'll need to change the default behavior of the client object on App Engine. The run_on_appengine command assumes that you you going to be using browser based auth and that the user will be signed in to your app. As you mentioned, you are hard codi

[google-appengine] Re: Encrypt data and decrypted in appengine

2009-06-17 Thread Jeff S (Google)
Hi timo, Have you considered making requests to your app over HTTPS? You can configure specific URLs to require that requests be made over a secure socket layer channel (SSL). Python: http://code.google.com/appengine/docs/python/config/appconfig.html#Secure_URLs Java: http://code.google.com/appen

[google-appengine] GAE Django Helper: howto pass arguments to dev_appserver.py

2009-06-17 Thread Jay Liew
Hi there, This is more of a GAE Django Helper (http://code.google.com/appengine/ articles/appengine_helper_for_django.html) question - I'm using a OS X 10.5 and the problem is that every now and then, when I fire up the dev appserver, all my data is gone. Turns out others have brought this up be

[google-appengine] Dynamic Access to Entity data in python

2009-06-17 Thread Brendan
This is probably fairly simple to do but I'm fairly new to GAE and am having trouble with it. Say I run a query on an entity like so: query1=Client.all() query1.fetch(1) client=query1[0] selecting the first entry in the entity Client. Then I iterate through the list of fields like so: for col

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

2009-06-17 Thread gae123
Hi Nick, I followed the directions, in fact I deleted all indexes, but the problem persists: $ ../out/google_appengine/appcfg.py update_indexes ../out/site Uploading index definitions. Error 500: --- begin server output --- Server Error (500) A server error has occurred. --- end server output -

[google-appengine] Re: Datastore Performance Test: Java runs 5 times SLOWER than Python ?

2009-06-17 Thread 风笑雪
I don't know how to use low level api because the document is too short to understand. But as Ross says, JDO doesn't support batch operation at this moment, so I'll try to also use JPA and low level api to do this test, but I don't think anybody would like use low level api to build his app. BTW,

[google-appengine] Getting matching index values for keys-only queries

2009-06-17 Thread Manuel
Hi, I'd like to do a prefix query (as described in the FAQ) on a string property, and retrieve only the matching keys. However, I'd still like to know the actual matching property values (which I don't know -- I only know the prefix). Thanks, Manuel --~--~-~--~~~---

[google-appengine] Re: Testing GAE application best practices

2009-06-17 Thread Kegan
Thank you for the reply. But this is not what I am looking for. I am looking for a unit (and functional) testing framework that work nicely with GAE. Much like how Django has a built-in unit and functional (test client) testing, a good set of related assertions, etc. ~KEGan On Jun 18, 1:52 am,

[google-appengine] Testing GAE application best practices

2009-06-17 Thread Federico Builes
Kegan writes: > > Thank you for the reply. > > But this is not what I am looking for. I am looking for a unit (and > functional) testing framework that work nicely with GAE. Much like how > Django has a built-in unit and functional (test client) testing, a > good set of related assertions

[google-appengine] Ran out of my app slot

2009-06-17 Thread Takashi Matsuo
Hi, I ran out of my 10 app slots. Could anyone raise my app slot limit? matsuo.taka...@gmail.com Thanks in advance. -- Takashi Matsuo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To p

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

2009-06-17 Thread NealWalters
Is there anyway to see the log on the local machine? Thanks, Neal --~--~-~--~~~---~--~~ 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