[google-appengine] Re: Java deploys

2009-04-26 Thread Randinn
Ah, I finally got it, thank you all for your help, very rookie mistake. --~--~-~--~~~---~--~~ 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

[google-appengine] Re: Sharding counters

2009-04-26 Thread Sylvain
You can save it in your model ? (add a property ?) Or create a Kind for that ? On 25 avr, 22:03, vanya vanya@gmail.com wrote: Hi, everyone. I'm implemeting the sharding techniquehttp://code.google.com/intl/ru/appengine/articles/sharding_counters.html for my app. And my model has string

[google-appengine] Google Developer assistance needed for two issues

2009-04-26 Thread Carlos
As I've been experimenting with Google App Engine, I've caused a couple of problems that I've been waiting to resolve themselves. But it's been a bit too long so I'd appreciate it if someone from Google could look into it? (If you look in my account, I have two apps. I'm talking about the

[google-appengine] Portability for your App Engine apps! BDBDatastore 0.2 released.

2009-04-26 Thread Nick Johnson
I'm glad to say that BDBDatastore 0.2 is now out. This brings BDBDatastore up to feature parity with the production datastore, meaning you can run your App Engine app on your own hardware with BDBDatastore as the storage backend* without having to change any of your datastore-using code. Details

[google-appengine] Re: Get records keys from the datastore

2009-04-26 Thread Carlos Pero
I'm using this extensively so I wanted to add more information in case other developers find this thread. On Apr 24, 12:14 pm, 风笑雪 kea...@gmail.com wrote: query_results = my_query.get()key = query_results.key() .key() in a function .key in a Django template ...yields just the long alphanumeric

[google-appengine] Re: Sharding counters

2009-04-26 Thread Ivan Maslov
I already have it in entity. But this entity is updated more than 5 times/second sometimes. THerefore I want to create sharders for it. See article about it: code.google.com/intl/ru/appengine/articles/sharding_counters.html . But I have a string property (not number) in entity. How can I know what

[google-appengine] Re: Google Developer assistance needed for two issues

2009-04-26 Thread Carlos Pero
I should add that after running vacuum, the indexes do not show up as Deleting at all. They remain as Error, which is why I'm suspicious about waiting any longer for it to change by itself. --~--~-~--~~~---~--~~ You received this message because you are

[google-appengine] Re: Sharding counters

2009-04-26 Thread Jens Scheffler
Does anybody know whether UNIX tme is the same on all google servers? I would not rely on that. What you could do is something similar as described here: http://blog.appenginefan.com/2009/04/efficient-global-counters-revisited.html - add a second property (integer value) to your sharded model.

[google-appengine] Re: Completely clearing the datastore

2009-04-26 Thread Devel63
Can you explain this further? I don't see any reference to key_name in the sample code. More importantly, to me, what's the cost differential between using string representation of keys and key_names? I've been passing around key_names to the browser because they're shorter, under the

[google-appengine] Google Help: Index Rebuilding Forever

2009-04-26 Thread Devel63
I have an app whose indexes have been building for days, with very little data. Can someone from Google please contact me so we can get this reset? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App

[google-appengine] Re: I've reached my quota, only I have this great new name for my app

2009-04-26 Thread drthink
I'd like ten more as well please! Gene www.listmist.com www.sohoappspot.com On Apr 25, 9:18 pm, mkmanning michaell...@gmail.com wrote: I'd like ten more as well, as I'm sure would many others. Is there a roadmap for when deleting apps/increasing the number of apps will be available other

[google-appengine] Re: GAE-based helpdesk system

2009-04-26 Thread Stan
Anyone? Pretty please? On Apr 19, 9:28 pm, Stan stan...@melmac.net wrote: Hello, I need some help understanding the deployment methods for GAE. I have a technical education, but always been a PM and never an actual developer and maybe that's why I'm here looking for help. :) We're

[google-appengine] Re: Concurrency Threading...

2009-04-26 Thread eli
Thanks for the answers guys. I basically just need to test that my concurrency mechanism is working. How can I do that without being able to spawn two threads simultaneously? Regards, Elliott On Apr 20, 3:09 pm, Andy Freeman ana...@earthlink.net wrote: Unfortunately I cant seem to get app

[google-appengine] Domain linked via Google Apps stopped working

2009-04-26 Thread Amir Michail
Hi, I'm getting this error: Firefox can't establish a connection to the server at www.numbrosia.com. Though the site seems valid, the browser was unable to establish a connection. * Could the site be temporarily unavailable? Try again later. * Are you unable to browse other sites?

[google-appengine] Re: Completely clearing the datastore

2009-04-26 Thread 'Αλκης Ευλογημένος
The sample code does: MyModel.all().fetch(1000) This means fetch 1000 entities of MyModel. If each entity is 10kb this means 10MB of data read from datastore, 10MB of data sent through the network to your running instance and 10MB of data server from the running instance to your machine running

[google-appengine] Iterating through referenced entities

2009-04-26 Thread dicko
Hi there I'm looking for a way to iterate through referenced entities in a template that are referenced as a list of keys rather than a reference property. For example: ItemVar = db.GqlQuery(SELECT * from Items where Status = :1, Active).fetch(100) for x in ItemVar:

[google-appengine] Re: GAE-based helpdesk system

2009-04-26 Thread Tim Hoffman
They can get an app domain and map their own domain to the the appspot server. There is a bunch of docs on this. Rgds Tim On Apr 27, 6:23 am, Stan stan...@melmac.net wrote: Anyone? Pretty please? On Apr 19, 9:28 pm, Stan stan...@melmac.net wrote: Hello, I need some help understanding

[google-appengine] Re: Concurrency Threading...

2009-04-26 Thread Tim Hoffman
Well you could run it on a live server (a test instance) and test it there, by generating enough load that you should get multiple instances up. (But you might not be able to tell) Are you sure your trying to test something that makes sense in app engine? Rgds Tim On Apr 27, 6:26 am, eli

[google-appengine] Re: Iterating through referenced entities

2009-04-26 Thread Tim Hoffman
HI You do need to append to the list. One way you would be to add a tuple to the list, first element is the parent, the second is the list ie Children.append((ItemVar,ChildrenVar)) Alternately if you don't need order you could use a dictionary where the key is the parent; But If all you

[google-appengine] Re: Iterating through referenced entities

2009-04-26 Thread dicko
Thanks! Worked very nicely. On Apr 27, 11:06 am, Tim Hoffman zutes...@gmail.com wrote: HI You do need to append to the list. One way you would be to add a tuple to the list, first element is the parent, the second is the list ie Children.append((ItemVar,ChildrenVar)) Alternately if

[google-appengine] load templates from datastore...not flatpages

2009-04-26 Thread Dave
I'm looking for a solution to load templates from the datastore. I've look at gaebdtemplates but it appears to not be updated for django 1.0 new appenginepatch (ie. calls to newforms as other stuff). Overall it look like just what I need but can't get it to work. I also have flatpages but it

[google-appengine] Re: Sharding counters

2009-04-26 Thread pran__
The safest bet for time and other things is to have another attribute as datCreateDate = db.DateTimeProperty(auto_now_add = True) datModDate = db.DateTimeProperty(auto_now = True) While datCrateDate stores the creation date, datModDate stores the last modified date. Regards, Pranav P. On Apr

[google-appengine] Detecting image format

2009-04-26 Thread MP
Hello, The appengine images api doesn't seem to have a way to detect image format (in PIL, the Image class has a format field). How do you recommend I check image format after the image is uploaded? --~--~-~--~~~---~--~~ You received this message because you are

[google-appengine] Re: Detecting image format

2009-04-26 Thread Tim Hoffman
HI Usually the content type is supplied in the post is (have a look in the cgi vars) reasonably reliable. There are a few pure python basic image detect modules out there too. For instance Zope2 File/Image content objects have a pure python image format guesser. T On Apr 27, 12:26 pm, MP

[google-appengine] What does a GWT and Java AppEngine RPC message look like?

2009-04-26 Thread Devraj Mukherjee
Hi all, I have been working with AppEngine using Python and have used JSON to communicate with a GWT application. I am a Java novice and have been trying to understand how a GWT + Java AppEngine application communicate via RPC. Are the Java objects on the server serialized using a binary

[google-appengine] Re: Detecting image format

2009-04-26 Thread Tim Hoffman
HI Have a look at http://www.pycode.com/modules/index.php?id=32tab=download It is pure python code that detects image size from a range of formats and first it needs to work out the image format T On Apr 27, 12:42 pm, Tim Hoffman zutes...@gmail.com wrote: HI Usually the content type is