[appengine-java] Re: Receiving Email: url-pattern problem

2010-03-05 Thread Dimedrol
Nope. The same error: *** /_ah/mail/str...@myapp.appspotmail.com 404 906ms 971cpu_ms 0kb 0.1.0.20 - - [05/Mar/2010:00:07:06 -0800] POST /_ah/mail/ str...@myapp.appspotmail.com HTTP/1.1 404 234 - - *** This mapping, I think, mentioned in manual. This don't work for

[appengine-java] Re: Objectify-Appengine, a typesafe data persistence tier for App Engine

2010-03-05 Thread Nacho Coloma
Hi Jeff, thanks for the insightful points. I am the SimpleDS author, and thought that maybe some of these issues need further explanation:  * Not enough use of generics.  Key, Query, and PreparedQuery should all be generified classes. We tried that at first, but there is little benefit from

[appengine-java] Re: JDO Level2 Cache setup for dummies

2010-03-05 Thread Frederik Pfisterer
Thanks DN. For anyone interested, I'm using datanucleus-cache-1.1.1.jar now and it seems to work just fine. On 4 Mrz., 23:41, datanucleus andy_jeffer...@yahoo.com wrote: GAE/J does not (yet) support DN 2.x -- You received this message because you are subscribed to the Google Groups Google App

[appengine-java] Re: JDO Level2 Cache setup for dummies

2010-03-05 Thread Frederik Pfisterer
Is it possible that DN L2 caching in GAE drives down CPU milliseconds used but overall response times get slower? On 5 Mrz., 09:52, Frederik Pfisterer pfiste...@gmail.com wrote: Thanks DN. For anyone interested, I'm using datanucleus-cache-1.1.1.jar now and it seems to work just fine. On 4

[appengine-java] Re: A user need to be register to gtalk to send a message to a XMPP App engine application?

2010-03-05 Thread seleronm
Please invite it by using [XMPP Addresses] from gtalk for appengine. Please refer to the following links for details of [XMPP Addresses]. http://code.google.com/intl/us/appengine/docs/java/xmpp/overview.html#XMPP_Addresses Please try. Thanks. On 3月5日, 午前4:21, nicolas melendez

[appengine-java] entity is not persisting

2010-03-05 Thread aswath satrasala
Hello, I am trying to persist a simple class and does not persist. pm.currentTransaction().begin(); Tenant tenant = new Tenant(); tenant.setName(globalTenantName); pm.makePersistent(tenant); pm.currentTransaction().commit(); @PersistenceCapable(identityType

[appengine-java] Doing some analysis in picture (represented by an array of byte ), encoding in JPG.

2010-03-05 Thread thierry Le conniat
Hello, my application receive by mail, pictures which are encoding in jpg. I would like to make some analysis in this picture (represented by an array of byte ), comparison column by column, but GAE'S Image API don't provide such function and many classes from javax.io... are not authorized .

[appengine-java] Re: entity is not persisting

2010-03-05 Thread datanucleus
Yes it does persist, the log says so. And your evidence for saying it doesn't is what exactly ? Looked in the DB viewer ? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to

[appengine-java] Having aggressive instance restarts?

2010-03-05 Thread Jake
Hello all, My application has been having very frequent restarts, even under load. In some cases, the application restarts on every single request. I've been in contact with some GAE folks, but the most recent e-mail suggested that I encourage others to post similar trends and expose holes in

[appengine-java] Max length of a list property

2010-03-05 Thread Max
When I am trying to persist a ArrayListString with size = 5000. The app-engine throws following exception. Any ideas on the max length of listProperties? Nested in javax.servlet.ServletException: java.lang.IllegalArgumentException: Too many indexed properties for entity: app: testing0601,path

Re: [appengine-java] Max length of a list property

2010-03-05 Thread John Patterson
There is a max 5000 indexed properties for any Entity. http://groups.google.com/group/google-appengine/browse_thread/thread/d5f4dcb7d00ed4c6 On 5 Mar 2010, at 21:48, Max wrote: When I am trying to persist a ArrayListString with size = 5000. The app-engine throws following exception. Any ideas

[appengine-java] Persistence layer template/pattern

2010-03-05 Thread dominity
Hi, guys. Is there any template/pattern for persistence layer implementation? I mean such template that could help manage owned/unowned relationships, transaction management, etc. It could be very useful to know about such kind of pattern for JDO API as well as for Low-level API. Also, is there

[appengine-java] Re: Having aggressive instance restarts?

2010-03-05 Thread Wong
This is a post from GAE Developer on 15 Jan 2010. Until now the problem still persists. From: Ikai Lan i...@google.com Date: Fri, 15 Jan 2010 15:32:58 -0800 Local: Sat, Jan 16 2010 7:32 am Subject: App Engine cold starts and overly aggressive cycling Reply | Reply to author | Forward | Print |

[appengine-java] Re: Expires header automatically added (bug?)

2010-03-05 Thread George Moschovitis
If you're serving other files, you'll have to handle the ETag and If-None-Match headers yourself, and I don't believe that we interfere with you doing this now. OK, good to know, thanks. -g. -- You received this message because you are subscribed to the Google Groups Google App Engine for

[appengine-java] Threads in Java

2010-03-05 Thread Marios
Hello there, I've just read the documentation on Google App Engine and I realised that you cannot create any threads in an application. You can only use the main one which is created automatically with any runnable java program. I am wondering if there is the possibility to create threads using

[appengine-java] Best practices for datastore and JDO?

2010-03-05 Thread vennervald
Hi Guys We have a small application running on JBoss, Seam, Hibernate and PostgreSQL that we are thinking about moving to GAE/J. To test the datastore we uploaded our data 1-1 so all our tables from Postgres were represented as entity types in the datastore with the entities relating to eachother

[appengine-java] Error in Deploying the Jersey App on google app engine

2010-03-05 Thread Rahul
I was trying to deploy the jersey application in Google App engine and getting the following error. Any clues com.sun.jersey.server.impl.ejb.EJBComponentProviderFactoryInitilizer getComponentProviderFactory: Linkage error when configuring to use the EJB interceptor binding API. JAX-RS EJB support

[appengine-java] maven-datanucleus-plugin using JDO when JPA specified?

2010-03-05 Thread tkinsella
Hello, I'm trying to enhance my JPA entities using the maven-datanucleus- plugin. I have the following plugin configuration: plugin groupIdorg.datanucleus/groupId artifactIdmaven-datanucleus-plugin/artifactId version2.0.0-release/version configuration

[appengine-java] New Web Application Project button does not appear in Eclipse when Google App Engine is installed.

2010-03-05 Thread dilly
I have correctly installed the Google App Engine for Eclipse 3.5.1 However, I cannot create a new web application - the button simply does not appear in the new project wizard. How do I fix this? -- You received this message because you are subscribed to the Google Groups Google App Engine for

Re: [appengine-java] Re: Unit testing Servlets

2010-03-05 Thread Ikai L (Google)
I'm researching this right now for an article I plan on writing, but it's not one of my highest priorities. I've heard HTTPUnit works (I have also heard it doesn't work). Lastly, and I know this works for sure but it is ugly, you could use raw JUnit with the test in the same package (parallel

[appengine-java] Re: Threads in Java

2010-03-05 Thread Guillermo Schwarz
The idea is not to create any threads. Why would you want to do that? The same happens in J2EE (web container and EJB container), you are not allowed to create threads. Threads are used by the web container in order to attend several requests at once (in practice the same could be done using

Re: [appengine-java] Best practices for datastore and JDO?

2010-03-05 Thread Sandeep Sathaye
Hi Jacob, We just released a product called Cloud2db which could fit very well in your architecture. Here are some details. Cloud2db Server provides a standards-based abstraction layer over Google Datastore (Bigtable). This product provides you with performance and scalability of GAE along with

[appengine-java] Servlet Destroy - does it run? I wish it did.

2010-03-05 Thread Steve Pritchard
Based on empirical testing I suspect it does not run. Based on the GAE design that code only gets executed inside a request/ response cycle I suspect it does not run. Does anybody know for sure? It is part of the servlet spec. Is it documented anywhere that it does not run. If not it should be

Re: [appengine-java] Threads in Java

2010-03-05 Thread John Patterson
Basically each request is a thread in app engine. There are a couple of ways to create multiple requests: task queues - when you don't need to wait for a response async url fetch - when you do need the results of your threads On 5 Mar 2010, at 23:54, Marios wrote: Hello there, I've just

Re: [appengine-java] elegant way of implementing sequence generator

2010-03-05 Thread Ikai L (Google)
Have you looked into Memcache's INCR? http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/memcache/MemcacheService.html#increment(java.lang.Object, long) This'll do it atomically, but you run the risk of it being volatile, so you'll have to account for that in your client

Re: [appengine-java] Multiple transactions at the same time

2010-03-05 Thread Ikai L (Google)
It sounds to me like all of this should either be: 1. In a single transaction - but you'll want to question how important this is. Distributed transactions are hard to do an expensive: http://danielwilkerson.com/dist-trans-gae.html 2. Versioned objects: you update each set of objects with a

Re: [appengine-java] Policy prevented put operation during stress testing

2010-03-05 Thread Ikai L (Google)
Jon, do you happen to have unit test code that reproduces this that I can plug in to an app? I'd like to reproduce this. On Thu, Mar 4, 2010 at 1:31 PM, Jon Blower jon.blo...@gmail.com wrote: Hi, I have a GAE-J application that involves requesting dynamically- generated images.  The

Re: [appengine-java] Servlet Destroy - does it run? I wish it did.

2010-03-05 Thread Don Schwarz
No, we do not implement any of the destruction lifecycle (for servlets, filters, servlet context, etc.) I thought that we mentioned this explicitly in the documentation but I don't see it now. I'll get that fixed. On Fri, Mar 5, 2010 at 1:17 PM, Steve Pritchard steve...@gmail.com wrote: Based

[appengine-java] Re: Best practices for datastore and JDO?

2010-03-05 Thread Guillermo Schwarz
Sandeep, Have you run any TPC benchmarks against Cloud2db? Cheers, Guillermo. On 5 mar, 16:07, Sandeep Sathaye sandeep.sath...@gmail.com wrote: Hi Jacob, We just released a product called Cloud2db which could fit very well in your architecture. Here are some details. Cloud2db Server

[appengine-java] Re: Servlet Destroy - does it run? I wish it did.

2010-03-05 Thread Steve Pritchard
Thanks. At least I know now. On Mar 5, 3:00 pm, Don Schwarz schwa...@google.com wrote: No, we do not implement any of the destruction lifecycle (for servlets, filters, servlet context, etc.) I thought that we mentioned this explicitly in the documentation but I don't see it now.  I'll get

[appengine-java] Re: Policy prevented put operation during stress testing

2010-03-05 Thread Jon Blower
Hi Ikai, I'm afraid I don't have any unit test code easily available, but I could make a code sample when I have a little more time. In the meantime I have some more information. It's not just the memcache put operation that fails in this way. I've also seen similar failures of other API

Re: [appengine-java] Re: Policy prevented put operation during stress testing

2010-03-05 Thread Ikai L (Google)
Is there any chance you're hitting per minute quotas? http://code.google.com/appengine/docs/quotas.html Image transforms have this quota, for instance: 14,000 transforms/minute Memcache has a limit of 56/mb of writes and 284/mb of reads. On Fri, Mar 5, 2010 at 1:49 PM, Jon Blower

Re: [appengine-java] Re: Objectify-Appengine, a typesafe data persistence tier for App Engine

2010-03-05 Thread Jeff Schnitzer
On Fri, Mar 5, 2010 at 12:34 AM, Nacho Coloma icol...@gmail.com wrote: Having an id field instead of a key makes queries easier.  With Objectify, you can create a query without needing to know that the id is part of a key field: query.filter(id , 5000).sort(-id) This would only work  with

[appengine-java] Re: Policy prevented put operation during stress testing

2010-03-05 Thread Jon Blower
I haven't done anywhere near 14,000 image transforms in the entire lifetime of the application (only 491 today for instance) so I don't think this is the reason I'm getting the OverQuotaException for image transforms. I haven't noticed my Quota page showing limited for any quantity, but haven't

[appengine-java] Re: How do you transfer a ListJdoObject from server to client?

2010-03-05 Thread novarse
Thanks Maly for your reply, I got it going. I'm using GWT and after reading the doco properly and adding a source path='server/jdo'/ to my gwt.xml file and copying my jdo objects to that dir it all works. Real simple in the end On Mar 3, 11:36 pm, Chummar Maly chum...@gmail.com wrote:  All you

[appengine-java] Re: GAE Plugin not working.

2010-03-05 Thread Ahmad
I am also unable to install gae plugin for eclipse 3.5 -- gelilio , on windows7 -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from

[appengine-java] cant Install Google App plugin for eclipse on windows 7

2010-03-05 Thread Ahmad
I was trying to use google app for my java based project it work on fedora but i could not install it on window 7. if any one can help me that how to install it on window 7 . i am using eclipse 3.5 [galilio]... i clicked on Help and then -- install new software but now software

[appengine-java] Re: Unable to update app: Version not ready

2010-03-05 Thread markanson
I am using Eclipse and I am repeatedly getting this error Unable to update app: Version not ready. See the deployment... I have tried changing the version number as well as changing the Application ID. Even doing those things, I still get this error. mark On Feb 18, 2:45 pm, App Engine Team

Re: [appengine-java] Re: How do you transfer a ListJdoObject from server to client?

2010-03-05 Thread Jeff Schnitzer
If you use the Google data classes (Key, GeoPt, Email, Link, User, etc) in your entities you will have trouble serializing them through GWT-RPC. Even though you're using JDO, you can still use Objectify's GWT integration to solve the problem:

Re: [appengine-java] Re: Unable to update app: Version not ready

2010-03-05 Thread John Patterson
Normally this error is transient and your app will deploy fine later. On 6 Mar 2010, at 06:22, markanson wrote: I am using Eclipse and I am repeatedly getting this error Unable to update app: Version not ready. See the deployment... I have tried changing the version number as well as

[appengine-java] Re: Max length of a list property

2010-03-05 Thread Max
Thx John. Has google officially documented this constraint? On Mar 5, 11:06 pm, John Patterson jdpatter...@gmail.com wrote: There is a max 5000 indexed properties for any Entity. http://groups.google.com/group/google-appengine/browse_thread/thread/... On 5 Mar 2010, at 21:48, Max wrote:

[appengine-java] searchable datastore

2010-03-05 Thread Prashant Gupta
Hi, I want to make my app's data searchable. is there any library or tool available which can make my task easier? Thanks. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to

Re: [appengine-java] Re: entity is not persisting

2010-03-05 Thread aswath satrasala
I looked in to the DB Viewer, and as well, I was trying to retrieve the entity elsewhere immediately, and I got the message pm.currentTransaction().begin(); log.info(Getting global tenant); Key key = KeyFactory.createKey(Tenant.class.getSimpleName(),

[google-appengine] Re: Character encoding Problem

2010-03-05 Thread lyhana8
I solved my problem rewriting the server-side method as follow : http://pastebin.com/TzwXaJRG On Mar 1, 10:27 pm, lyhana8 lyha...@gmail.com wrote: Did you find a solution ? I got the same issue and looking for a solution for 4 days now. Seem the RPC respone is messed-up while the XML is

Re: [google-appengine] Re: Subclassing PolyModel

2010-03-05 Thread Nickolas Daskalou
Thanks PK, I'll check it out now. Nick On 5 March 2010 19:41, PK p...@gae123.com wrote: Hi Nick, I have been using the pattern described by Rafe very successfully in my app. Regarding the problem you are desribing I have written up how I solved the problem here:

Re: [google-appengine] Re: Subclassing PolyModel

2010-03-05 Thread Nickolas Daskalou
c...@your solution, PK! Since db.PropertiedClass is not documented in the official docs, I'm assuming there's a chance that its implemented could change in future releases, and possibly break your code yeah? Can someone from Google please comment on whether db.PropertiedClass is concrete enough

Re: [google-appengine] Clean custom indexes

2010-03-05 Thread djidjadji
In the development environment clear your index.yaml. Run through your app completely, get every query to execute once. Your index.yaml contains all the currently needed indices. Upload index.yaml Vacuum indices. 2010/3/4 Jairo Vasquez Moreno jairo.vasq...@gmail.com: Hi all, I'm starting to

[google-appengine] XML

2010-03-05 Thread Massimiliano
Dear All, I can't find documents concerning the XML handling in appengine. Could you help me? Is there a documentations somewhere? Can I use self.request.get()? (How?) Thanks Massimiliano -- My email: massimiliano.pietr...@gmail.com My Google Wave: massimiliano.pietr...@googlewave.com --

[google-appengine] Re: XML

2010-03-05 Thread Adam
There is absolutely nothing special about App Engine's handling of XML. The input to or output from App Engine can be XML. You can parse and generate XML with any of the standard pure-Python XML-handling libraries such as minidom. -- You received this message because you are subscribed to the

Re: [google-appengine] Re: XML

2010-03-05 Thread Massimiliano
Sorry, but this my first website (I'm not a programmer, but just a trier), so I'm like Alice in wonderland (I have just seen this film). So minidom is a library I can use to handling XML in and out, right? As I need to interface a page of the website with another website, that could give me the

[google-appengine] Re: Parallel access to appengine

2010-03-05 Thread bFlood
bump On Mar 3, 7:23 pm, Eli Jones eli.jo...@gmail.com wrote: Heh, yes.. I printed out your Java and it seemed perfectly fine after reading through it several times... But Java is just wayy to busy looking for my tastes. Good luck getting some clarification on what's happening with this. On

[google-appengine] Re: Post-mortem for February 24th, 2010 outage

2010-03-05 Thread Chris
Thanks for sharing this information. It may very well be highly irrational but it does feel good to get some insight into what happened and how you guys respond to it! One paragraph in particular caught my attention: - A new option for higher availability using synchronous replication for reads

[google-appengine] Re: Post-mortem for February 24th, 2010 outage

2010-03-05 Thread lennysan
I've been working on a Guideline for Postmortem Communication, and ran this post through the guideline: http://www.transparentuptime.com/2010/03/google-app-engine-downtime-postmortem.html Overall, this may be the simple most impressive postmortem I've seen yet. The amount of time and though put

[google-appengine] Re: XML

2010-03-05 Thread Adam
If you want to parse HTML, use the Beautiful Soup HTML parser instead: http://www.crummy.com/software/BeautifulSoup/ It's rather unlikely that HTML will parse correctly as XML even if the designer and programmer are striving for that. On Mar 5, 9:52 am, Massimiliano

[google-appengine] querying ape datastore with more than one parameter

2010-03-05 Thread santosh mantri
Hi m using ape for some application,,,and i want to retrive object from datastore based on two condition...my code works fine for one parameter,,but need help on how to declare two parameters and setting filter for them... it would b great if somebody can help me on this... thanks in advance...

[google-appengine] Problem with eclipse developement

2010-03-05 Thread sebastian.zim
I have installed the correct version of the appengine plugin for eclipse 3.5.1. The installation worked as expected and it shows up in 'Installed Software'. However, There is no 'New Web Application Project' button in the file menu even after I 'Reset Perspective'. I have already tried

[google-appengine] Re: Parallel access to appengine

2010-03-05 Thread Bobby Sawhney
On Mar 2, 6:05 am, Nick Johnson (Google) nick.john...@google.com wrote: Actually, the default limit is 30 active requests. -Nick Johnson Hi Nick, Will Google make simultaneous dynamic requests limit be part of a billable option in the future, such that applications can pay to have this limit

Re: [google-appengine] querying ape datastore with more than one parameter

2010-03-05 Thread Robert Kluin
Can you post the code you are using right now, or at least ell us what language you are using? Robert On Fri, Mar 5, 2010 at 10:42 AM, santosh mantri sandy1man...@gmail.com wrote: Hi m using ape for some application,,,and i want to retrive object from datastore based on two condition...my

Re: [google-appengine] Re: 1500 ms query latency

2010-03-05 Thread Ikai L (Google)
Patrick, let us know if you do find any glaring differences. Nothing we've done yet has demonstrated that JDO/JPA introduces anything beyond negligible overhead to queries, but we're always in need of more good data. On Thu, Mar 4, 2010 at 11:47 PM, Patrick Twohig patr...@namazustudios.com wrote:

[google-appengine] Re: Post-mortem for February 24th, 2010 outage

2010-03-05 Thread Marc Provost
Wow, I second lennysan. Awesome postmortem! Thank you so much for sharing it with us. Marc On Mar 5, 12:25 pm, lennysan lenny...@gmail.com wrote: I've been working on a Guideline for Postmortem Communication, and ran this post through the

Re: [google-appengine] Unable to verify account

2010-03-05 Thread Ikai L (Google)
Please add yourself to the SMS waitlist: https://appengine.google.com/waitlist/sms_issue On Fri, Mar 5, 2010 at 6:47 AM, anupmistry anup.mis...@gmail.com wrote: Google App Engine is asking me to verify my account via SMS. Am in the United States ATT. After entering the number and Send it

Re: [google-appengine] querying ape datastore with more than one parameter

2010-03-05 Thread santosh mantri
Hi robert.. Actully my code is not with me right now.. by the way i'm using java api for the same.. code is gvn below..it may have some syntactical error... pm is Persistence data manager Query q=pm.newQuery(); q.declareParameter(String param); q.setfilter(id==param); ListMyClass ls=(ListMyClass)

Re: [google-appengine] Re: Parallel access to appengine

2010-03-05 Thread Ikai L (Google)
Connections should be short-lived, so from an absolute perspective, yes. From a practical perspective, if your requests are designed to execute as quickly as possible, it'll take a long time before this affects application performance. Note that static assets do not count against this limit. On

[google-appengine] Re: Problem with eclipse developement

2010-03-05 Thread sebastian.zim
I reinstalled eclipse and everything works now. On Mar 5, 12:54 pm, sebastian.zim sebastian@googlemail.com wrote: I have installed the correct version of the appengine plugin for eclipse 3.5.1. The installation worked as expected and it shows up in 'Installed Software'. However, There is

Re: [google-appengine] JDO - how to fetch child object automatically when the child is in different parent classes?

2010-03-05 Thread Ikai L (Google)
No, you'll have to add this to your DAO layer. It sounds like in your example, c is actually the Parent and both a and b are the children (but that's just me playing games with words and naming). On Wed, Mar 3, 2010 at 9:10 AM, anjolight yo...@atsumistudio.com wrote: Hi, I'm trying to create a

Re: [google-appengine] Re: Python inheritance vs Polymodel

2010-03-05 Thread Ikai L (Google)
That's totally up to you. I don't see significant performance differences between Polymodel and regular db.Model classes. Your indexes will be a much larger factor here in terms of performance. On Thu, Mar 4, 2010 at 11:32 AM, Jairo Vasquez jairo.vasq...@gmail.com wrote: My question was more

[google-appengine] DataStore Viewer

2010-03-05 Thread pkhoosh
Is it possible to view more than 20 items at a time in the DataStore Viewer on the Dashboard? thanks, pete -- 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-appeng...@googlegroups.com. To

Re: [google-appengine] DataStore Viewer

2010-03-05 Thread Robert Kluin
I know you can by adding limit=50 to the URL, I think it works up to 200. I have not found a button or field to enter the limit. Robert On Fri, Mar 5, 2010 at 2:43 PM, pkhoosh pkho...@gmail.com wrote: Is it possible to view more than 20 items at a time in the DataStore Viewer on the

Re: [google-appengine] querying ape datastore with more than one parameter

2010-03-05 Thread Robert Kluin
Santosh, Have a look at the Query Filters section here: http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Introducing_Queries They have several examples there. Robert On Fri, Mar 5, 2010 at 2:18 PM, santosh mantri sandy1man...@gmail.com wrote: Hi

[google-appengine] Java - Equivalent of Python Datastore object parent? Ancestors?

2010-03-05 Thread maxfarrar
I am recreating my Python server in Java, here is the specific python section I'm stuck on: -- class AddThread(webapp.RequestHandler): def post(self): catKey= db.Key(encoded=self.request.get('catKey')) cats = db.GqlQuery(SELECT * FROM Category WHERE ANCESTOR IS : 1 ORDER BY

[google-appengine] Re: DataStore Viewer

2010-03-05 Thread pkhoosh
Thanks Robert! Ultimately, though, I think the best solution is for me to write a data exporter to get a dump of a data store as a CSV. I'm a bit relucant because I was not successful with a data upload loader and the Google Group didn't provide that much support and advice. On Mar 5, 1:47 pm,

[google-appengine] Can I Cancel Index Building

2010-03-05 Thread Jonny T
I added some indices to my app, and now its saying I'm over some limit. I removed the indices from my index.yaml, and redeployed but it still tells me its building the indices and I still get the errors. Can I cancel the building of these indices? It seems to be just sitting there and its

[google-appengine] Why are the RPC calls in certain deployments far more likely to fail than in others?

2010-03-05 Thread culov
Hi, I've been experiencing this problem for a couple months now and the only hunch I have is that it has something to do with data nucleus. What I mean is that I have a stable version of my app running at http://la.truxmap.com, (app id: truxmap) and i have the same app for another city at

[google-appengine] Accounting for Datastore Metadata/seeking advice on how to reduce metadata size

2010-03-05 Thread PK
The datastore statistics is a great concept. However, I consistently see that the majority of my space goes to metadata. From other postings I see that I am not the only one. Here is an example from my application that contains roughly 15,000 entities: Breakdown by Property Type Property Type

[google-appengine] Re: Python inheritance vs Polymodel

2010-03-05 Thread Tim Hoffman
One big advantage of polymodels is queries against the base class can/ will return all subclasses meeting the criteria. You can't do that with normal python inheritance. You query is always bound to a particular model. That would be in my mind the single biggest reason to chose PolyModel vs

Re: [google-appengine] Re: DataStore Viewer

2010-03-05 Thread Robert Kluin
Have a look at the bulkloader tool: http://code.google.com/appengine/docs/python/tools/uploadingdata.html Robert On Fri, Mar 5, 2010 at 7:03 PM, pkhoosh pkho...@gmail.com wrote: Thanks Robert! Ultimately, though, I think the best solution is for me to write a data exporter to get a

Re: [google-appengine] Accounting for Datastore Metadata/seeking advice on how to reduce metadata size

2010-03-05 Thread Robert Kluin
Every entity stores the full property name for every property defined on that model. So if you have long property names it takes a lot of space. On models with only numbers, booleans, and short strings we often see metadata make up 50%+ of a models, unless we use really short property names (2

Re: [google-appengine] querying ape datastore with more than one parameter

2010-03-05 Thread santosh mantri
ya,I had gone through it but it do not have any solution for problem that i'm facing.. On Sat, Mar 6, 2010 at 3:22 AM, Robert Kluin robert.kl...@gmail.com wrote: Santosh, Have a look at the Query Filters section here:

Re: [google-appengine] querying ape datastore with more than one parameter

2010-03-05 Thread Robert Kluin
Aren't you asking how to filter on two properties? As in this example: query.setFilter(lastName == 'Smith' hireDate hireDateMinimum); query.declareParameters(Date hireDateMinimum); Robert On Sat, Mar 6, 2010 at 12:42 AM, santosh mantri sandy1man...@gmail.com wrote: ya,I had gone

Re: [google-appengine] querying ape datastore with more than one parameter

2010-03-05 Thread santosh mantri
query.setFilter(lastName == 'Smith' hireDate hireDateMinimum); query.declareParameters(Date hireDateMinimum); in this example value to be compared with lastname is hardcoded as Smith and there is only one dynamic parameter as hireDateMinimum... But i want both parameter to be dynamic..and

Re: [google-appengine] querying ape datastore with more than one parameter

2010-03-05 Thread Robert Kluin
Should just be: query.setFilter(lastName == lastNameParam hireDate hireDateMinimum); query.declareParameters(String lastNameParam, Date hireDateMinimum); query.execute(lastnamevar, hiredatevar); Look at the sharded counters article for a demo:

Re: [google-appengine] querying ape datastore with more than one parameter

2010-03-05 Thread santosh mantri
Hey thanks a lot.. I shall try this now...i think it will work.. thnks once again On Sat, Mar 6, 2010 at 11:50 AM, Robert Kluin robert.kl...@gmail.comwrote: Should just be: query.setFilter(lastName == lastNameParam hireDate hireDateMinimum); query.declareParameters(String lastNameParam,