Re: [appengine-java] Re: GetObjectByID JDO question (NucleusObjectNotFoundException)

2009-12-22 Thread Michael Chan
Could you please provide a sample test case? On 22 Dec 2009, at 00:27, t3jem wrote: ok, so it appears the best way is to query the key only. I have set it up to do that, except now I'm having an issue where the parent object is not storing the child's key. Below is to show how I set up my

[appengine-java] Joins and Persistence - How?

2009-12-22 Thread Søren Kyndi-Wiuff
Greetings I am trying to figure out a best-practice for avoiding the use of joins. So far, it isn't going too well so here I am asking if anyone is up for sharing their experience or linking to the reference I failed to find. :) An example of my requirement is this: We have two classes: Person

[appengine-java] Re: constructor expressions in JPAQL in GAE

2009-12-22 Thread datanucleus
***Unsupported***DatastoreOperatorException: Which of your possible situations does that exception suggest ? -- 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] Re: Pattern for eCommerce Development on GAE

2009-12-22 Thread gopoto
The main problem is that you can not filtered more than 1000 items because of the limits of the DataStore API. How can we do if you have more than 1000 items to filter or sort ? On 13 déc, 00:24, andy.booth andy.booth...@googlemail.com wrote: Hi I'm similarly trying to implement

[appengine-java] Re: Web.xml 2.5 Includes

2009-12-22 Thread Marcel Overdijk
Im wondering the same. Did you solve this problem? On 11 dec, 02:35, laserjim laser...@gmail.com wrote: Hello, I'm trying to include some tag library descriptors at the top of all my jsps.         jsp-config                 jsp-property-group                        

[appengine-java] Re: web.xml version=2.5 is not supported

2009-12-22 Thread Marcel Overdijk
Does the proposed solution works? Do el-ignored and include-prelude work then? I'm feeling a little bit uneased about doing this. I'm afraid I will be running in different unexpected errors. I'm also wondering what Google's statement on this would be? Cheers, Marcel -- You received this

[appengine-java] Re: web.xml version=2.5 is not supported

2009-12-22 Thread Nacho Coloma
Hi Marcel, The proposed solution will only substitute the EL engine, which would allow you to use a broader set of ${...} expressions. AFAIK, it would not affect to the interpretation of web.xml. I am also waiting for some attention from Google about this bug. On Dec 22, 12:31 pm, Marcel

[appengine-java] Re: web.xml version=2.5 is not supported

2009-12-22 Thread Marcel Overdijk
OK thanks, To be honest - looking at other thread - I think Google is not always that fast in responding. But maybe this time we get a response. I must admit that I'm a little bit spoiled by Grails user list in which we get almost instant answers ;-) On Dec 22, 2:01 pm, Nacho Coloma

[appengine-java] Re: Any advantages on using the Key type instead of String or Long for PK

2009-12-22 Thread datanucleus
So I am wondering if there is any sort of implications when using the String type as the pk field. It's portable to other datastores ? ;-) -- 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: Any advantages on using the Key type instead of String or Long for PK

2009-12-22 Thread Michael Chan
Is that mean that using a String type is not a bad thing to do? On 22 Dec 2009, at 14:05, datanucleus wrote: So I am wondering if there is any sort of implications when using the String type as the pk field. It's portable to other datastores ? ;-) -- You received this message because

[appengine-java] Re: Any advantages on using the Key type instead of String or Long for PK

2009-12-22 Thread datanucleus
Is that mean that using a String type is not a bad thing to do? From a pure persistence point of view, using a portable type (Long, String etc) makes total sense, since your classes aren't tied to GAE. Obviously Google may have some hidden functionality in their Key but thats for them to comment

Re: [appengine-java] Re: Any advantages on using the Key type instead of String or Long for PK

2009-12-22 Thread Michael Chan
Thanks a lot! On 22 Dec 2009, at 14:16, datanucleus wrote: Is that mean that using a String type is not a bad thing to do? From a pure persistence point of view, using a portable type (Long, String etc) makes total sense, since your classes aren't tied to GAE. Obviously Google may have

[appengine-java] Re: Can I make GAE send an e-mail with Resent-To header ?

2009-12-22 Thread minor-undroid
Hi, there I'd like to forward an email message. Please tell me any idea. Properties props = new Properties(); Session session = Session.getDefaultInstance(props, null); // From message.addHeader(Resent-From, MYACCOUNT);// my GAE account address

[appengine-java] --enable_jar_splitting

2009-12-22 Thread Marcel Overdijk
I have a jar file which is to big so I got this message while uploading my app: Unable to update app: Found a jar file too large to upload: D:\Users \MOVERD~1\AppData\Local\Temp\appcfg5433596470093952667.tmp\WEB-INF\lib \footdex-resources.jar. Consider using --enable_jar_splitting. See the

[appengine-java] Re: GAE roadmap for 2010

2009-12-22 Thread Muz
I second this request for 2010 roadmap visibility. I'm especially curious if there will be any definite plan to support multi-tenancy on GAE (beyond the current odd workaround/exception mechanisms). We have requirements for several of these to get started in Q2. Google seems to be the only cloud

Re: [appengine-java] Re: constructor expressions in JPAQL in GAE

2009-12-22 Thread Bombay Goose
Thanks Datanuclues team. I know it is logical to just blame it on Datanucleus on GAE. But I gave it a benefit of doubt. Anyway, so is there any other way of getting objects with only the properties that I specify? (The second part in the question). Otherwise, it will just be a join and I will

Re: [appengine-java] --enable_jar_splitting

2009-12-22 Thread Don Schwarz
I would recommend that you simply split it into arbitrary pieces yourself. --enable_jar_splitting is a workaround to have the deployment tool do this itself, but this can cause problems with some libraries (e.g. if it expects to find a resource file and a class file in the exact same jar) so I

Re: [appengine-java] Re: Can I make GAE send an e-mail with Resent-To header ?

2009-12-22 Thread Don Schwarz
Unfortunately we only support a fixed set of headers on outbound email messages, and these headers are not currently supported. Please file a feature request in our issue tracker: http://code.google.com/p/googleappengine/issues/list On Tue, Dec 22, 2009 at 9:06 AM, minor-undroid

Re: [appengine-java] Re: What does precompilation-enabledtrue/precompilation-enabled do?

2009-12-22 Thread Don Schwarz
The tradeoff is a slightly longer deployment time, although in most cases it won't be noticeable and it will save you a significant amount of CPU time during loading requests. Precompilation will be turned on by default in a future release, but we're still working on optimizing the performance

Re: [appengine-java] Re: Any advantages on using the Key type instead of String or Long for PK

2009-12-22 Thread Max Ross (Google)
Please note that you can still query a Key primary key using comparison, you just can't do it the exact way you've written your example: pm.newQuery(select from Person where key = :p).execute(person.getKey()); On Tue, Dec 22, 2009 at 6:30 AM, Michael Chan hsmc...@gmail.com wrote: Thanks a

[appengine-java] JDO Query for properties with null values

2009-12-22 Thread dantuluri
Hi, I have an entity that has the following structure: File which has Key as primary key and ParentKey that refers to another File which is parent of this File. Example data for this structure looks like this: Key: File(2) Name: Inbox parentKey: File(1) It is possible that File may not

[appengine-java] What Java MVC framework do you use on AppEngine?

2009-12-22 Thread Trung Pham
Coming from Ruby on Rails background, I have tried to run Rails on Jruby on AppEngine. While it works, but it has ridiculous startup time. Well over 20 seconds to spin up an instance, and sometimes it even hits the 30 seconds limit. Anyway, out of curiosity, what is the equivalent MVC

[appengine-java] VerifyError Stack size too large on deployed method

2009-12-22 Thread Fady
Hi, I have an application (http://legstar-cob2xsd.appspot.com/) that works fine in simulated mode but fails when deployed with the following exception: java.lang.VerifyError: (class: com/legstar/cobol/CobolStructureLexer, method: mNULL_CONSTANT signature: ()V) Stack size too large The failing

[appengine-java] Class Cast Exception: can't figure out what's wrong.

2009-12-22 Thread Chris
Hi All, I was trying to play around with the blobstore API and am getting the following exception from the java api: java.lang.ClassCastException: com.google.apphosting.api.ApiProxy $FeatureNotEnabledException cannot be cast to javax.servlet.ServletException I would assume that there is more

[appengine-java] 500 Server Error adding records to Datastore

2009-12-22 Thread antiac
Hi, I'am new in Google App Engine, I've in my servlet this code: PersistenceManager pm = PMF.get().getPersistenceManager(); try { addRecord(pm,1010,BANCO DI NAPOLI S.P.A.); ... other 900 record } finally { pm.close(); } public void

Re: [appengine-java] What Java MVC framework do you use on AppEngine?

2009-12-22 Thread Guillaume Laforge
As you're mentioning Groovy and Grails, have you looked at Gaelyk, the lightweight Groovy toolkit? http://gaelyk.appspot.com/ On Tue, Dec 22, 2009 at 19:41, Trung Pham tr...@phamcom.com wrote: Coming from Ruby on Rails background, I have tried to run Rails on Jruby on AppEngine. While it works,

[appengine-java] Re: --enable_jar_splitting

2009-12-22 Thread Marcel Overdijk
Hi Don, The jar contains a lot of images so it doesn't matter that files need to be in the same - splitted - jar. In fact the --enable_jar_splitting sounds perfect for me as I don't have to do the work myself: just maintain one single jar with the images, and let gae deployment split them up if

[appengine-java] 500 Server Error with Spring 3.0 application

2009-12-22 Thread Marcel Overdijk
Just deployed a very simple Spring 3.0 application successfully. At least the deployment process was successfull, but when I navigate to it (http://footdex-www.appspot.com/) I get a 500 Server Error. The log files don't show anything useful, so I'm wondering what the next step would be to

[appengine-java] Domain setup using Google Apps

2009-12-22 Thread Marcel Overdijk
I own the footdex.com Google Apps domain. I've bought this some time ago to host a GAE application on it. I now finally added the domain using in GAE admin console, but all I can do is attach it to a subdomain of footdex.com. I just want footdex.com to be the GAE app not a subdomain. Is this

[appengine-java] Re: 500 Server Error with Spring 3.0 application

2009-12-22 Thread Marcel Overdijk
Never my for now. I was looking at the admin logs instead of the normal logs. I see now exceptions now and will have a look at them. On 22 dec, 22:00, Marcel Overdijk marceloverd...@gmail.com wrote: Just deployed a very simple Spring 3.0 application successfully. At least the deployment process

[appengine-java] Re: 500 Server Error with Spring 3.0 application

2009-12-22 Thread Marcel Overdijk
Just want to say it was a stupid mistake in my app. My very basic Spring 3.0 app now runs on GAE together with SiteMesh and UrlRewrite. Great! On 22 dec, 22:11, Marcel Overdijk marceloverd...@gmail.com wrote: Never my for now. I was looking at the admin logs instead of the normal logs. I see

[appengine-java] Re: App Engine SDK 1.3.0 maven repo

2009-12-22 Thread Andreas Källberg
Is someone going to do something about this? It's has been wrong for some time now. And also, another typo: http://www.mvnsearch.org/maven2/com/google/appengine/orm/datanucleus-appengine/1.0.4%20.1/ It's a space in the version folder name :-( Please, there are a significant number of maven users

[appengine-java] Re: 500 Server Error with Spring 3.0 application

2009-12-22 Thread Marcel Overdijk
Now works, perhaps some synch going on as I had to remove Google sites from my Apps domain. Thanks anyway. On 22 dec, 22:31, Marcel Overdijk marceloverd...@gmail.com wrote: Just want to say it was a stupid mistake in my app. My very basic Spring 3.0 app now runs on GAE together with SiteMesh

[appengine-java] ZipException in my jsp page

2009-12-22 Thread Abe Parvand
I hit a simple jsp page which was previously working and suddenly the error logs now spew out: Failed startup of context com.google.apphosting.utils.jetty.runtimeappenginewebappcont...@1302b69 {/,/base/data/home/apps/todoroodev/8.338636345514717470} java.util.zip.ZipException: error in opening

Re: [appengine-java] Class Cast Exception: can't figure out what's wrong.

2009-12-22 Thread chris mysen
Looks like it was a temp error from not having billing set up. Not a very good error for figuring that out, though... - chris On Dec 22, 2009 12:24 PM, Chris ccmy...@gmail.com wrote: Hi All, I was trying to play around with the blobstore API and am getting the following exception from the java

Re: [appengine-java] What Java MVC framework do you use on AppEngine?

2009-12-22 Thread Ikai L (Google)
Yes, I forgot to mention that Gaelyk is very lightweight relative to Grails. I haven't done any benchmarking to compare a cold start of a Gaelyk application to a Java application, so I'm not sure what the overload of loading Groovy is. Precompilation helps a lot in these cases, and I suspect

Re: [appengine-java] Blobstore vs Datastore Blob

2009-12-22 Thread Ikai L (Google)
No, there shouldn't be a difference. Blobs aren't indexed, and neither are Blobstores. Blobs obviously have the size limit issue and are a bit more flexible than Blobstores in terms of how you access and manipulate them, but otherwise, they're using the same mechanisms at a very low level to

Re: [appengine-java] Re: GAE roadmap for 2010

2009-12-22 Thread Ikai L (Google)
The roadmap that is up right now represents our six month goals: http://code.google.com/appengine/docs/roadmap.html Beyond that, we do not even have much visibility ourselves into what we are going to work on, but as soon as we have set high level objectives, we'll communicate them with our

Re: [appengine-java] Re: What Java MVC framework do you use on AppEngine?

2009-12-22 Thread Ikai L (Google)
I can only tell you right now Spring MVC is slower than servlets, faster than JRuby. I think you may be putting too much weight into cold startup time relative to other, far more important aspects of frameworks such as usability, extensibility, features, etc. JRuby on Rails is always going to be

[appengine-java] blobstore lucene search index

2009-12-22 Thread Toby
Hello, I think a sophisticated search api is what a lot of us are missing. I use currently the compass-lucene project but I am not completely satisfied with the performance. I think there is also the GAELucene project that uses a similar aproach. I guess the main issue was so far that you could

[appengine-java] Some suggestions regarding the not support multiple parent key provider fields JDOexception

2009-12-22 Thread Mike
Hi, I am playing about with JDO, creating objects, relationship, etc. I have a set of unit tests to make sure that what I am creating conform with GAE's implementation of JDO. Coming from a RDBMS background, very often I find myself the following exception: javax.jdo.JDOException: App Engine

[appengine-java] Re: 500 Server Error adding records to Datastore

2009-12-22 Thread Larry Cable
take a look in the application logs (if you have the app deployed in GAE and you are not testing locally) you will see the exception that caused the problem ... My guess, based upon what you state in your post is that it is either a Datastore operation timeout (5 secs) or the processing quota

[appengine-java] Re: authentication

2009-12-22 Thread David Fuelling
I've been testing out Spring Security 3.0 combined with RPX from Janrain. Basically I can authenticate via Google, Facebook, Twitter, OpenID, Yahoo, Live, etc. Works great (although startup is a bit slower than normal due to Spring -- using the precompile option helps). On Dec 22, 6:02 am,

[appengine-java] Re: wrong redirection to google sites

2009-12-22 Thread Vik
hie any help on this plz? I am stuck and my app is down now due to this redirection Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Mon, Dec 21, 2009 at 6:00 PM, Vik vik@gmail.com wrote: Hie I have a deployed version of my app as:

Re: [appengine-java] Re: embedding parent object in parent-child relation with jdo

2009-12-22 Thread John Patterson
2009/12/23 Eugene Kuleshov ekules...@gmail.com John, I still hope to find a plain JDO solution that won't tie my application to GAE-specific model and helper libraries that working around GAE restrictions. I understand completely. Twig is just there as an alternative if you decide that

[appengine-java] Re: authentication

2009-12-22 Thread mistr
I'm using basic GWT with RPX - minimal, but works. Simple JDO persistence. Started with the Mail sample app, but have gutted just about everything from it. On Dec 22, 7:06 pm, David Fuelling sappe...@gmail.com wrote: I've been testing out Spring Security 3.0 combined with RPX from Janrain.  

[appengine-java] List of embedded class objects in default fetch group

2009-12-22 Thread andreas_b
Hi all. I'm struggling a bit with default fetch groups in one of my entities here.. Basically I have something that looks like this @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable=true) public class A { @Persistent(defaultFetchGroup = true) private ListB

Re: [google-appengine] Re: Zero (0) is not being printed on screen with self.response.out.write

2009-12-22 Thread Wesley Chun
greetings! i've read your messages and would like to find out more about what you are trying to do. i will try to help anyway, based on what you have written so far. if you are explicitly writing out a response as text/plain, you still need to write out a string, regardless of the value. you

[google-appengine] Re: Eclipse: no Google menu options after update to 1.3.0

2009-12-22 Thread Delo
I have now restored my .eclipse and .metadata folders from backup and I am able to reproduce the problem. If I update the app engine plugin from 1.2.6 to 1.3.0 the Google menus are gone. Both plugins (old and new) are listed under Installation details afterwards: - Google App Engine Java SDK

[google-appengine] Re: Zero (0) is not being printed on screen with self.response.out.write

2009-12-22 Thread Phoenix
Thanks for your concern Wesley.. Yes.. by screen I meant browser As I had said in my first message, printing the 0 on browser isn't my objective. I am actually write services in which I just get the input, process it and send the processed output in JSON format. So, in this I do not need to

[google-appengine] Re: Zero (0) is not being printed on screen with self.response.out.write

2009-12-22 Thread Nickolas Daskalou
My guess is that zero is not being printed because the internals of self.response.out.write probably look something like this: def write(output): if output: # Spit it out else: # Do not spit out anything Since your zero effectively returns false in the above if condition, nothing is

[google-appengine] Re: Images API questions

2009-12-22 Thread Nickolas Daskalou
*BUMP* On Dec 21, 3:57 pm, Nickolas Daskalou n...@daskalou.com wrote: In Python, if we're using the composite() function from theImagesAPI, is the size of each image layer allowed to be = 1MB, or does the combined size of all the image layers have to be = 1MB (eg. 10 x 100KB layers is

[google-appengine] Re: Sessions

2009-12-22 Thread Nickolas Daskalou
How are you setting the sessions? If you're using cookies, are you adding an expires value (that's set in the future)? Without an expires value, cookies will be cleared when the web browser is closed. On Dec 22, 6:44 am, hemodroid hemodr...@gmail.com wrote: It seems like sessions do not last

[google-appengine] Re: Zero (0) is not being printed on screen with self.response.out.write

2009-12-22 Thread Phoenix
yeah.. Nickolas.. You'r right.. :) I tried self.response.out.write(False) and nothing printed on browser.. and tried this as well: class test(webapp.RequestHandler): def testDef(self): v = 2 if v == 1: return 1 else: return 0 def get(self):

[google-appengine] integrating openid in website using java

2009-12-22 Thread giridhar kannan
hello, I am giridhar kannan working on app engine. I would like to know how to integrate a website with openid authentication using java. Please do help me in this regard. Thank you. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To

[google-appengine] Re: Zero (0) is not being printed on screen with self.response.out.write

2009-12-22 Thread Nickolas Daskalou
Happy Christmas!! :) On Dec 22, 11:41 pm, Phoenix peece...@gmail.com wrote: yeah.. Nickolas.. You'r right.. :) I tried self.response.out.write(False) and nothing printed on browser.. and tried this as well: class test(webapp.RequestHandler):     def testDef(self):         v = 2        

[google-appengine] Strange-ish problem with errors (datastore timeouts, errors not showing in error log etc.)

2009-12-22 Thread peterk
Hey all, Not sure if this is 'normal' but over the last couple of days or so I've seen increasing reports of 500 server errors on requests that normally are served fine. Some users have noted them too. But somewhat stranger still is that I can't debug these errors because they don't show up

Re: [google-appengine] first app upload - blank page

2009-12-22 Thread Robert Kluin
Try logging into you app engine account, then go to versions and click on the link to the newest one. If you are changing version numbers be sure you are setting the new one as the default version. Robert On Mon, Dec 21, 2009 at 8:42 PM, Whitey white.a...@gmail.com wrote: Something dumb I

[google-appengine] What property to use for storing list of mappings in my datastore?

2009-12-22 Thread dhruvg
The data I want to store can look something like this: [['a','b'],['c','d']] the key value pairs are all strings I know i have to use db.ListProperty(...) But i am unsure what to put for item_type. I cannot put list since app engine forbids that. Any ideas? Thx in advance. -- You received

Re: [google-appengine] Broken AppEngine Console

2009-12-22 Thread Jason (Google)
Hi Jason. Yes, we're aware of the issue. Until the resolution is ready, please use the following URL instead: http://appengine.google.com/a/mugfu.com This applies to all GAE users who want to create apps using their Google Apps accounts and is covered in the FAQ item at

Re: [google-appengine] Noob: Python or Java???

2009-12-22 Thread Jason (Google)
GWT and App Engine are related but independent. You can build a client-side application in GWT and serve it with App Engine, but you don't have to serve it with App Engine. Likewise, you can use GWT for your client code in your GAE app, but you can also use JSP or any other presentation framework.

Re: [google-appengine] first app upload - blank page

2009-12-22 Thread Kapil Kaisare
On Tue, Dec 22, 2009 at 7:12 AM, Whitey white.a...@gmail.com wrote: Something dumb I am sure, I have a simple app that works fine across Safari, Chrome, Firefox on local app engine dev setup (sdk 1.3.0) when I upload/deploy I get no error, when I access the page I get no errors (or anything)

[google-appengine] slow datastore access in GAE

2009-12-22 Thread Philip Tucker
I've got a very simple application with very little data in it. It's a simple chat app with 2 tables, Room and Message. Each server requests stores a message and returns the most recent n messages, where n is on the order of 1-5. Each request is taking 2-3 seconds. I'm doing 3 datastore

[google-appengine] Query the Index

2009-12-22 Thread Diogo Terror
Is there a way I could query the index contents, such as: I have a data model called Contact which has a field called category. Now category is not sql-normalized but I still want to query all categories available for the Contact model (in which case I'd just query for all the keys of the

Re: [google-appengine] Re: Sessions

2009-12-22 Thread Michael Chan
By default, on all servlet container implementations, session is cleared when browser is closed. If you need to persist data across sessions, please use the datastore or cookie. Note that cookie has a maximum size of 4096bytes. Michael On 22 Dec 2009, at 11:56, Nickolas Daskalou wrote:

Re: [google-appengine] Query the Index

2009-12-22 Thread Robert Kluin
If I understand what you are asking, you will need to maintain the list of categories yourself. You can only fetch an entity in its entirety. The only way I am aware of to get this information from existing data is to iterate over all of the entities and build your list of keys. You could then

Re: [google-appengine] What property to use for storing list of mappings in my datastore?

2009-12-22 Thread Robert Kluin
Do you need to query sub-sections of that data? If not you may be better off to serialize that to one big string (perhaps using JSON) and store the string. If you do need to query sub-sections perhaps you could serialize each pair to a string, something like 'key:value.' Then to query for a

[google-appengine] Re: What property to use for storing list of mappings in my datastore?

2009-12-22 Thread dhruvg
Your solution is doable. Is it the best way? Seems hacky On Dec 22, 4:17 pm, Robert Kluin robert.kl...@gmail.com wrote: Do you need to query sub-sections of that data?  If not you may be better off to serialize that to one big string (perhaps using JSON) and store the string. If you do need

Re: [google-appengine] Adding Class files classpath for Wave bot

2009-12-22 Thread Jason (Google)
Hi Philip. Any external libraries should be placed in war/WEB-INF/lib. Can you verify that they are copied there and redeploy your application? - Jason On Sun, Dec 20, 2009 at 12:48 AM, Philip How philip.j@googlemail.comwrote: Hey, I'm making a Wave bot using the google plugin for

[google-appengine] Removing object from list problem

2009-12-22 Thread ailinykh
Hello, everybody! I've got very strange behavior. I have class Account{ @Persistent(mappedBy=account) ListPhone phones = new ArrayListPhone(); } and class Phone { @Persistent Account account; } I added 2 phones into list, so phones = [phone1, phone2] then I call Phone p1 =

Re: [google-appengine] Cron jobs fail with error Request was aborted after waiting too long to attempt to service your request.

2009-12-22 Thread Jason (Google)
What rate do you see your cron handlers fail? You mention that your cron jobs fire off once every five minutes which is 288 per day. Of these, how many fail? Do you notice any patterns, e.g. consistent failures at a certain time of day or multiple failures in a row? Any specifics you can provide

[google-appengine] Error in the Datastore Mapper Example

2009-12-22 Thread jread
Hello, Just thought I'd share a problem I found in the example datastore mapper code here: http://code.google.com/appengine/articles/deferred.html. Within the _continue method the line if (i + 1) % batch_size == 0: is located outside of the for loop. When operating over large sets of data, this

Re: [google-appengine] Adding Class files classpath for Wave bot

2009-12-22 Thread Ikai L (Google)
When including JAR files, there are usually two things you need to do: 1. Include them in WEB-INF/lib - it seems like you have done this. This just makes sure that they are uploaded when you run appcfg.sh update. 2. Make sure they are in your classpath so you can develop. When you say that App

Re: [google-appengine] Simple data access works on dev server, error when deployed

2009-12-22 Thread Ikai L (Google)
Have you had any luck with this? I'm seeing this line in the trace: ProtocolBufferEncodeError: int32 too big Is there any place where you may be trying to assign a number that is larger than a 32-bit integer? On Sat, Dec 19, 2009 at 8:19 PM, Mookie danwils...@gmail.com wrote: Hi everyone,

Re: [google-appengine] Incoming Mail Headers

2009-12-22 Thread Jason (Google)
Please file a new feature request and be specific about the headers that your application uses: http://code.google.com/p/googleappengine/issues/list Thanks, - Jason On Sun, Dec 20, 2009 at 1:30 AM, Jason navyr...@navyrain.net wrote: From my reading of the documentation, there is no way to get

Re: [google-appengine] getting an exception in servlet while using POST AJAX- only on Firefox

2009-12-22 Thread Jason (Google)
Hi Gili. Can you provide the full stack trace? - Jason On Mon, Dec 21, 2009 at 8:59 AM, Gili Vaturi gilivat...@gmail.com wrote: hi, i'm getting the following error in the app engine: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)

Re: [google-appengine] he dashobard of my account does not work.

2009-12-22 Thread Jason (Google)
It appears that ailove.jp is a Google Apps account -- do you have any luck signing in to http://appengine.google.com/a/ailove.jp instead? - Jason On Sun, Dec 20, 2009 at 6:32 PM, 愛LoveJpカスタマーサポート i...@ailove.jp wrote: The dashobard of my account does not work. HELP ME i...@ailove.jp --- my

Re: [google-appengine] create an open source blog engine?

2009-12-22 Thread Ikai L (Google)
It's always great to hear of people start up new open source projects. Before you begin, however, you may want to check out Bloggart: http://github.com/Arachnid/bloggart You can fork it, contribute to it, or just study it and see what you like/dislike when you start your own project. Good luck!

Re: [google-appengine] Blobstore - my wishlist

2009-12-22 Thread Jason (Google)
I can't provide any specifics, but we have several efforts underway for the just-announced Blobstore API. Please file your feature requests in the public issue tracker so we can track them and alert you if they are implemented down the line. http://code.google.com/p/googleappengine/issues/list

Re: [google-appengine] BUG OF DASHBOARD

2009-12-22 Thread Jason (Google)
Is your domain registered with Google Apps? If so, have you tried hitting http://appengine.google.com/a/domain? - Jason On Sun, Dec 20, 2009 at 2:41 AM, wa333 i...@ailove.jp wrote: App engine dashboard does not work. When I use an google account of my own domain name. It works well when I

Re: [google-appengine] how to ftp html files on app server for domain ownership

2009-12-22 Thread Jason (Google)
You won't be able to use FTP to upload files to your deployed application. If you're just working with an HTML page, then you should add this to the root directory (Python) or under war (Java), configure it to be served as a static file, and then re-deploy your app which then uploads this file and

Re: [google-appengine] Re: Forbidden Error: Your client does not have permission to get URL when I put secure: always

2009-12-22 Thread Jason (Google)
Please star this issue: http://code.google.com/p/googleappengine/issues/detail?id=792 - Jason On Mon, Dec 21, 2009 at 1:04 PM, dhruvg dhruv.g...@gmail.com wrote: Nvm.. found my problem. I was using the secure features on Google Apps domain. Anyone know when Google will start supporting

[google-appengine] Errors - 'Unknown' and can't log in to GAE

2009-12-22 Thread Mark
Hi - I am getting errors back from my application when I make any datastore query - GAE just comes back with error 'Unknown'. This has been working fine till today with no changes from me. Also when I am trying to log in to GAE to look at the dashboard I also see 'A server error has occurred.'

[google-appengine] Re: Errors - 'Unknown' and can't log in to GAE

2009-12-22 Thread Mark
Hmm and now I am not seeing the errors - seems like there is some instability going on. On Dec 22, 3:58 pm, Mark markrobertdav...@gmail.com wrote: Hi - I am getting errors back from my application when I make any datastore query - GAE just comes back with error 'Unknown'.  This has been

Re: [google-appengine] Re: Collecting Statistics on Users like Google Analytics

2009-12-22 Thread Jason (Google)
You could also log any data of interest using general log statements, download your logs periodically, and analyze them on your own machine. Barring that, I like aah's idea of using simple counters, but you can also store unstructured metadata in the datastore for analytics/tracking alongside the

Re: [google-appengine] Configure *.ru domain for GAE-hosted application

2009-12-22 Thread Jason (Google)
Have you seen this article: http://code.google.com/appengine/articles/domains.html? It sounds like you entered your domain in the right location. When you go to your Google Apps dashboard, do you see your application listed? It should have a little App Engine icon next to it. When you see that, it

Re: [google-appengine] Websocket support on AppEngine?

2009-12-22 Thread William Heath
App engine cannot persist a connection so don't think so. -Tim On Tue, Dec 22, 2009 at 3:43 PM, Devraj Mukherjee dev...@gmail.com wrote: Hi all, Are there any indications of when AppEngine server might support Websockets? Or does it already do so? Thanks. -- The secret impresses

[google-appengine] Re: Incoming Mail Headers

2009-12-22 Thread Rafe
Yes, there is a way to get the raw headers. In fact you can get the whole raw email message and bypass the way the API presents it if you like. If you are using Python, the api provides you with a way. Email message objects (for example appengine.api.mail.InboundEmailMessage) has an

[google-appengine] ReferenceProperty failed to be resolved Traceback

2009-12-22 Thread Tom Wu
Hi All, # models.py from google.appengine.ext import db class parent(db.Model): t = db.StringProperty(required=True, default=None) class child(db.Model): ref_parent = db.ReferenceProperty(parent, required=True, default=None, collection_name=ref_child) #view.py from models import

[google-appengine] Re: how to delete a table/entity?

2009-12-22 Thread ajaxer
when even with the datetime = you still get a big set, how you can handle it? for example you get 1 item with the most specific filtering sql. and on this filtering sql, you should have a statistic info. like how many item it is . how do you expect the appengine to handle this problem? how

Re: [google-appengine] Websocket support on AppEngine?

2009-12-22 Thread Devraj Mukherjee
That's odd that its not in the plans for AppEngine with Google's commitment to HTML5 On Wed, Dec 23, 2009 at 11:23 AM, William Heath wghe...@gmail.com wrote: App engine cannot persist a connection so don't think so. -Tim On Tue, Dec 22, 2009 at 3:43 PM, Devraj Mukherjee dev...@gmail.com

Re: [google-appengine] ReferenceProperty failed to be resolved Traceback

2009-12-22 Thread Robert Kluin
I think you just need to catch that exception and handle it nicely. If I recall in their docs it mentions that if the referenced entity is missing you will get an exception. Robert On Tue, Dec 22, 2009 at 9:57 PM, Tom Wu service.g2...@gmail.com wrote: Hi All, # models.py from

Re: [google-appengine] ReferenceProperty failed to be resolved Traceback

2009-12-22 Thread Tom Wu
Sorry, It's my bad. AJAX callback problem. Thanks anyway. Best Regards Tom Wu 2009/12/23 Robert Kluin robert.kl...@gmail.com I think you just need to catch that exception and handle it nicely. If I recall in their docs it mentions that if the referenced entity is missing you will get

[google-appengine] Server Error has occurred

2009-12-22 Thread webdev
I was trying to do the google premier floreysoft shared contacts. I logged into my non google apps account, and added floreysoft shared contacts to it. Now when I go to appengine.google.com, I get: Server Error A server error has occurred. Return to Applications screen » I don't have any other

[google-appengine] First PDF Password Remover application hosted on Google App Engine

2009-12-22 Thread Steven Lee
I developed first PDF Password Remover application hosted on Google App Engine(http://rubypdf.appspot.com/pdfdecrypt.html), bases on iText (version 2.1.7, but with many modification). with it, you can easily remove the user password or owner password online, and it is free. * remove

Re: [google-appengine] Cron jobs fail with error Request was aborted after waiting too long to attempt to service your request.

2009-12-22 Thread Abhinav Bhagwat
My appid is 'checksendsms'. It is a java app. Almost 45% (113) requests failed yesterday and the rate is similar every day. I could not see any patterns as such. Your help and support is highly appreciated. Thanks, Abhi On Wed, Dec 23, 2009 at 3:38 AM, Jason (Google) apija...@google.com wrote:

[google-appengine] Query regarding domain ownership

2009-12-22 Thread Arpit
plz tell me how to verify domain ownership? Thanks -- 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 unsubscribe from this group, send email to

[google-appengine] Need date/calendar help

2009-12-22 Thread codingJoe
My model has a date field and to fill this field out I want my users to be able to click a calendar widget and select a date or today. The only way I have figured out how to do this is with my own field, and hide the Forms' field. But doesn't that defeat the purpose of the Form object? Is there