[google-appengine] Re: Problems with the logging system?

2009-05-25 Thread 风笑雪
Have you set logging level? 2009/5/25 Marcelo Alcantara > Somebody knows if there is a problem with the logging system? > > I am trying to log but my messages never appear there. > > The requests just appear when I selected show requests only on the combo. > If I mark the checkbox to show reques

[google-appengine] which approach to lists of references?

2009-05-25 Thread Matt
Hello. I'm writing an app in which I'm storing a list of keys in one of the models. I'm trying to figure out the best approach. The other approach I thought of was to store a list of integer values (storing the ID property). But since I am passing a custom key name (to allow a nice use of get_

[google-appengine] urlfetch... Implementing my own cache? Memcache?

2009-05-25 Thread jordisan
Hi. I'm developing an application which connects to external APIs (delicious) via URLFETCH. Currently every request to my application causes one (or more) calls to that external APIs. I want to implement some kind of INTERMEDIATE CACHE BETWEEN MY APP AND EXTERNAL APIS to speed up response time an

[google-appengine] Need some design related help

2009-05-25 Thread vijay
HI All,I am working on a application using GWT and AppEngine (Java with datastore) , got stuck in design phase. The application need to take input from barcode reader and will fill up some text boxes with information corresponding to the barcode. You can assume it to be a bookstore selling applica

[google-appengine] Path from Key

2009-05-25 Thread hawkett
Hi, There is a method Key.from_path() - which lets you supply the path to construct the key. Is there a way to retrieve the path from a key object? i.e. Key.path()? If not, is there a way to determine the path from the key? Is recursively calling Key.parent() until you get 'None' the only w

[google-appengine] Re: Problems with the logging system?

2009-05-25 Thread Marcelo Alcantara
Do you mean in the class? I got a logger with the full class name and used logger.info(). Used it from the java.util.logging. The logging console is working fine for you? On Mon, May 25, 2009 at 4:50 AM, 风笑雪 wrote: > Have you set logging level? > > 2009/5/25 Marcelo Alcantara > > Somebody kno

[google-appengine] Re: Need some design related help

2009-05-25 Thread Tim Hoffman
Hi For offline mode, and local stores/sync of barcodes you might like to have a look at google gears. Rgds T On May 25, 6:05 pm, vijay wrote: > HI All,I am working on a application using GWT and AppEngine (Java with > datastore) , got stuck in design phase. > > The application need to take

[google-appengine] Re: "java.io.IOException: Unknown" trying to fetch URL via SDC

2009-05-25 Thread Thor
Thanks Jeff, I had completely overlooked the debug query possibility. When I use this, I get the following in the response: sdc_routing : Internet sdc_internet_routing : USER_NOT_HOSTED response_sdc_status : Error in fetching this resource from the Internet. Additionally, the request_user,

[google-appengine] Re: Problems with the logging system?

2009-05-25 Thread 风笑雪
I'm using Python environment, just import it and call its function. But in Java environment, you need to config the logging system. 2009/5/25 Marcelo Alcantara > Do you mean in the class? > > I got a logger with the full class name and used logger.info(). Used it > from the java.util.logging. >

[google-appengine] Re: urlfetch... Implementing my own cache? Memcache?

2009-05-25 Thread Bennomatic
Hi Jordisan, I'm working on something very similar, and yes, I do use both memcache and the datastore, to ensure that the cached data lasts as long as I want it to. Memcache, IIUC, is not guaranteed to hold onto your data for as long as you specify. So my code looks like this: on request for d

[google-appengine] Appcfg.py Update Hangs After Login

2009-05-25 Thread Bobby
Hi, i'm trying to update a site on the AppEngine using "appcfg.py update" but it hangs after i enter my login information - it doesn't fail or throw an error, it just sits there. I updated the SDK to the latest version in case that was the problem but i still get the same behavior - this in Windo

[google-appengine] Re: Appcfg.py Update Hangs After Login

2009-05-25 Thread Bobby
I've tried "appcfg.py rollback" as well, it also hangs after logon. Bobby On May 25, 4:05 pm, Bobby wrote: > Hi, i'm trying to update a site on the AppEngine using "appcfg.py > update" but it hangs after i enter my login information - it doesn't > fail or throw an error, it just sits there. > >

[google-appengine] Re: Appcfg.py Update Hangs After Login

2009-05-25 Thread Bobby
Oops my fault, i had Fiddler open, it was probably intercepting the appcfg.py request. At least now this is documented :). Thanks Bobby On May 25, 4:10 pm, Bobby wrote: > I've tried "appcfg.py rollback" as well, it also hangs after logon. > > Bobby > > On May 25, 4:05 pm, Bobby wrote: > > >

[google-appengine] Cannot figure out remote_api

2009-05-25 Thread johntray
I have updated my app for remote_api, copied the appengine_console.py file from the documentation, updated the sys.path lines, and put that in my app's root directory. When I run appengine_console.py with my app id, I get the python prompt OK. BUT... When I try to import my main.py file, I get a

[google-appengine] Calculating percentile

2009-05-25 Thread Oliver Zheng
For aggregate functions like sum or average, it has been recommended that they be calculated at the time of saving each new or old entry. But how would one go about calculating percentile? Is it mathematically possible to spread out the calculation of percentiles over new entries as they come in?

[google-appengine] Re: Calculating percentile

2009-05-25 Thread Oliver Zheng
Also, how would the calculation of frequency distribution be amortized as new values come in? On May 25, 3:25 pm, Oliver Zheng wrote: > For aggregate functions like sum or average, it has been recommended > that they be calculated at the time of saving each new or old entry. But > how would one

[google-appengine] Is there a max number of project files?

2009-05-25 Thread ogterran
Hi, Is there a max number of project files you can upload in Google App Engine? I have a lot of images for my site and I want to know if I can host all of them on GAE. I have more than 30k images. Thanks in advance Jon --~--~-~--~~~---~--~~ You received this messag

答复: [google-appengine] Re: urlfetch... Impl ementing my own cache? Memcache?

2009-05-25 Thread chenbaiping
This may be more efficient. 1. First, Check memcache , if hit, done. 2. If not, do a url fetch. If the return has a 'Last-Modified' header, cache it in memcache. done -邮件原件- 发件人: google-appengine@googlegroups.com [mailto:google-appeng...@googlegroups.com] 代表 Bennomatic 发送时间: 2009年5月26

[google-appengine] Warning Your application is exceeding a quota.

2009-05-25 Thread condor
Hi, My application has only one index. But when I tried update_indexes, "Server Error 500" occur again. Then these messages displayed my applications dashboard. Billing Status: Free - Settings Quotas reset every 24 hours. Next reset: 5 hrs warning Your application is exceeding a quota: Wo

[google-appengine] Problem in Image Process

2009-05-25 Thread campos
Hi, I'm now switching Java. Given a URL for an image, my application wants to read the contents of the image and get to image height & width via Image API. Here's my code. But the format is not correct parsed by Image Service. String strUrl = "http://lh5.ggpht.com/_7zgrL7SM-9s/SVeaMu07FKI/

[google-appengine] memcache in remote api

2009-05-25 Thread Ben Nevile
Just wanted to mention that I created a new issue requesting support for memcache in the remote api console. I searched but didn't find any existing similar requests. http://code.google.com/p/googleappengine/issues/detail?id=1596 Would be a big help. If this is of interest to you, please give

[google-appengine] Re: Calculating percentile

2009-05-25 Thread indra
Hi, For percentile, you can calculate rank of an item using http://googleappengine.blogspot.com/2009/01/google-code-jams-ranking-library.html and use the total no. of items ranked to calculate percentile. Regards, Indraneel www.wikiaata.com On May 26, 4:04 am, Oliver Zheng wrote: >