Re: [appengine-java] GWT+JDO+GAE enhancement nightmare

2010-03-22 Thread Shawn Brown
This seems pretty basic. Can somebody wake me from this nightmare? Sorry, been there... If I was starting over, I'd seriously think about: http://code.google.com/p/objectify-appengine/ for two reasons: 1) Objectify entities can be used in GWT without the need for Data Transfer Objects. 2) it

Re: [appengine-java] GWT+JDO+GAE enhancement nightmare

2010-03-22 Thread John Patterson
On 22 Mar 2010, at 13:20, Shawn Brown wrote: 1) Objectify entities can be used in GWT without the need for Data Transfer Objects. Twig data models also have this property but with the advantage that they have no dependencies on the low-level datastore - just pure unrestricted pojos.

[appengine-java] Re: GAE 1.3.1 java.io.IOException: Truncated quoted printable data when processing a Hotmail email

2010-03-22 Thread Peter Ondruska
Something has gotten broken with recent release because my code used to work fine with Hotmail/Yahoo sent messages. Looks like I have to go through release notes for 1.3.1 and fix processing incoming emails.. :- ( On Mar 21, 11:48 pm, Lucian Baciu lucianba...@gmail.com wrote: The mail processing

[appengine-java] Re: a question about transactional tasks

2010-03-22 Thread AJ
On Mar 21, 6:45 pm, Max Ross (Google) maxr+appeng...@google.com wrote: Hi AJ, Your understanding is correct and I don't quite know what we meant when we said same level of isolation and consistency.  I'll get this sorted out. thanks, I appreciate the reply! -- You received this message

Re: [appengine-java] Tweak static file without re-deploying

2010-03-22 Thread Ikai L (Google)
There's no way to just update static assets. I find that I always have to update my HTML files whenever I update my static assets anyway. As a safeguard against caches, it's a common practice to reference your CSS and JavaScript files like this script

[google-appengine] How do you handle with Error: ReferenceProperty failed to be resolved

2010-03-22 Thread eng. Ilian Iliev
Hi all, I`m sure lot you have faced this error and I saw some post for it but couldn`t find some more general way for handling it. Iterating over the whole datastore after my app is broken doesn`t seems to me the fastest way. Knowing the connections between models and cascade delete/update if

[google-appengine] Re: HELP! 7 GB of ghost data - billable but not in datastore, blobs, or versions.

2010-03-22 Thread homunq
Thanks for responding. I've starred the bug - it seems basic. More answers below. On Mar 21, 7:06 pm, Eli Jones eli.jo...@gmail.com wrote: Depending on how your Models are defined (how many properties and what the property types are there) and depending on custom indexes, 10 to 1 is

[google-appengine] Re: How to call a URL of your own application?

2010-03-22 Thread dhruvbird
On Mar 22, 6:30 am, Eli Jones eli.jo...@gmail.com wrote: Depends on how you want the code to work.. If you just want to send of work to get processed by those other handlers, then firing off a Task (either with Task Queue or Deferred Task) would be perfect for that. Actually, this is a

Re: [google-appengine] ~7 GB of ghost data???

2010-03-22 Thread Brett Shelley
Are you storing anything in the Blob Store? If so, well, deleting Blobs from the AppSpot console does not work. Perhaps the problem is systemic. But, if it helps revenue, then why fix it? -Brett On Mon, Mar 22, 2010 at 5:26 AM, Robert Kluin robert.kl...@gmail.comwrote: I do not think they

Re: [google-appengine] ~7 GB of ghost data???

2010-03-22 Thread Nick Johnson (Google)
Hi, The discrepancy between datastore stats volume and stored data is generally due to indexing overhead, which is not included in the datastore stats. This can be very high for entities with many properties, or with long entity and property names or entity keys. Do you have reason to suppose

[google-appengine] Re: HELP! 7 GB of ghost data - billable but not in datastore, blobs, or versions.

2010-03-22 Thread Wooble
On Mar 22, 4:20 am, homunq jameson.qu...@gmail.com wrote: I have no custom indexes. I have only two entities. 99.9% of the data is in the Expando which has about 45 stringproperties (initally all indexed, now around 30 are; many frequently empty string); 4 integer properties; 4 dates; 4

[google-appengine] Re: Will GAE ever be open source?

2010-03-22 Thread Wooble
On Mar 22, 12:36 am, Iap iap...@gmail.com wrote: My concern is that the open-source GAE would also expose the weakness of GAE. That makes the GAE more vulnerable under attacking. I hope you're not coding in a programming language that's open source. Just imagine the vulnerabilities. Of

[google-appengine] Re: Efficient Tag/Labels design using App Engine

2010-03-22 Thread Killian
Hi Robert, Thank you very much for your feedback, you've raised my attention on points I hadn't considered into account. Are all of these entities global or are some or all of them user-specific? LO will be user specific since their Knowledge attribute will correspond to a specific user's

[google-appengine] Re: Accessing gmail's atom feed using the google accounts API google.appengine.api.users

2010-03-22 Thread romuwild
xoopit? On Mar 22, 4:24 am, Tom Wu service.g2...@gmail.com wrote: xoopit 2010/3/22 romuwild rom...@gmail.com is there any way to let a user sign in using the google account API and then access its gmail atom feed without any relogin? thanks! -- You received this message because

[google-appengine] Re: storage consumption in dashboard for local development server?

2010-03-22 Thread kostmo
Issue filed: http://code.google.com/p/googleappengine/issues/detail?id=3001 On Mar 21, 11:21 pm, Robert Kluin robert.kl...@gmail.com wrote: I agree, it would be very nice to have something in the local dev server that would help estimate the space required on the production system. If you

[google-appengine] Re: ~7 GB of ghost data???

2010-03-22 Thread homunq
OK, I guess I'm guilty on all counts. Clearly, I can fix that moving forward, though it will cost me a lot of CPU to fix the data I've already entered. But as a short-term stopgap, is there any way to delete entire default indexes for a given property? (I mean, anything besides setting

[google-appengine] Re: HELP! 7 GB of ghost data - billable but not in datastore, blobs, or versions.

2010-03-22 Thread homunq
Sorry, this thread is a duplicate of a href=http://groups.google.com/ group/google-appengine/browse_thread/thread/2a116e341b97c6fd/ 6ad663cd210032b2?lnk=gstthat other one/a. I got impatient and reposted before the other one got moderated. Useful word from Google along with my response is over

[google-appengine] i18n and verbose_name

2010-03-22 Thread Emilis Kuke
Hello! I spend more than few hours using google and reading django and google app engine documentation, but I couldn't find solution for my problem. So I expect maybe somebody could helps me. So I have model: class Advertisement(db.Model): name =

[google-appengine] How can I reset my application?

2010-03-22 Thread Snoopy
i just uploaded wrong files to my application..so,is there any way to delete them or reset that to undeveloped? -- 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

[google-appengine] questions on datastore (lowercase comparison / one character String )

2010-03-22 Thread vchalmel
Hi ! I wonder how to compare a String stored in a datastore entity (field login) to an entry (also named login) considering their lowercase version : - I tried : SELECT count(this) FROM +Gestionnaire.class.getName()+ WHERE LowerCase(login)== LowerCase('+login+') which throws an exception I have

[google-appengine] new gae member

2010-03-22 Thread Gleidson - MG - Brasil
hello, I am Brazilian and participate in this nearby group. -- 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] how to solve ClassNotPersistenceCapableException

2010-03-22 Thread aptest1 actiprocess
I have developed a application in my local system its running correctly. after uploading to the GAE its giving following exception: 115.108.122.17 - - [22/Mar/2010:02:41:51 -0700] POST /smartstore/ greet HTTP/1.1 200 134 http://smartstoreact.appspot.com/smartstore/

[google-appengine] permutations vs Cartesian product in exploding indexes documentation

2010-03-22 Thread kostmo
It is still unclear to me exactly how many index entries will be produced by including multiple ListProperty's in an entity. In one post [1], between the inquiring user and the Google rep, the possibilities for the number of index entries included the power set, Cartesian product, or the number of

Re: [google-appengine] questions on datastore (lowercase comparison / one character String )

2010-03-22 Thread djidjadji
If you want to compare lowercase you have to store the value lowercase in the object. GQL != SQL You can't do more then described on the GQL reference page. You have to traverse (get) all you current objects and make the field login lowercase and store the object back and as such update the

Re: [google-appengine] How can I reset my application?

2010-03-22 Thread djidjadji
Change the version name of the app, upload the new version, make it default and remove the old version. 2010/3/22 Snoopy tootoo1...@gmail.com: i just uploaded wrong files to my application..so,is there any way to delete them or reset that to undeveloped? -- You received this message because

[google-appengine] Re: questions on datastore (lowercase comparison / one character String )

2010-03-22 Thread Gleidson - MG - Brasil
If you're using a relational database it's pretty easy to execute case- insensitive queries because it's a native feature of the database. It usually looks something like this: select * from Person where UPPER(lastName) = 'ROSS' This is a challenge for the App Engine Datastore because we rely

Re: [google-appengine] Re: Will GAE ever be open source?

2010-03-22 Thread Patrick Twohig
On Mon, Mar 22, 2010 at 5:47 AM, Wooble geoffsp...@gmail.com wrote: On Mar 22, 12:36 am, Iap iap...@gmail.com wrote: My concern is that the open-source GAE would also expose the weakness of GAE. That makes the GAE more vulnerable under attacking. I hope you're not coding in a

Re: [google-appengine] Re: ~7 GB of ghost data???

2010-03-22 Thread Patrick Twohig
Hey Nick, Just out of curiosity, how many properties would it take to get that amount of wasted space in overhead? Are we talking about entities in the orders of magnitudes of tens/thousands/hundreds? On Mon, Mar 22, 2010 at 9:07 AM, homunq jameson.qu...@gmail.com wrote: OK, I guess I'm

Re: [google-appengine] Re: ~7 GB of ghost data???

2010-03-22 Thread Nick Johnson (Google)
Hi Patrick, An overhead factor of 12 (as observed below) is high, but not outrageous. With long model names and property names, this could happen with relatively few indexed properties - on the order of magnitude of tens, at most. -Nick Johnson On Mon, Mar 22, 2010 at 8:07 PM, Patrick Twohig

[google-appengine] Re: ~7 GB of ghost data???

2010-03-22 Thread homunq
OK, after hashing it out on IRC, I see that I have to erase my data and start again. Since it took me 3 days of CPU quota to add the data, I want to know if I can erase it quickly. 1. Is the overhead for erasing data (and thus whittling down indexes) over half the overhead from adding it? Under

Re: [google-appengine] Re: ~7 GB of ghost data???

2010-03-22 Thread Patrick Twohig
I'd use a cursor on the task queue. Do bulk deletes in blocks of 500 (I think that's the most keys you can pass to delete on a single call) and it shouldn't be that hard to wipe it out. Cheers! On Mon, Mar 22, 2010 at 1:45 PM, homunq jameson.qu...@gmail.com wrote: OK, after hashing it out on

Re: [google-appengine] Re: ~7 GB of ghost data???

2010-03-22 Thread Eli Jones
oh man.. well, he's going to be wiping out 7GB of junk... :) When I went through process of deleting something like 400MB of junk.. it was not fun First I started off deleting by __key__ in batches of 500, then I had to limit down to 200.. then down to 100.. then down to 50.. then down to

Re: [google-appengine] Re: ~7 GB of ghost data???

2010-03-22 Thread Nick Johnson (Google)
Hi, On Mon, Mar 22, 2010 at 8:45 PM, homunq jameson.qu...@gmail.com wrote: OK, after hashing it out on IRC, I see that I have to erase my data and start again. Why is that? Wouldn't updating the data be a better option? Since it took me 3 days of CPU quota to add the data, I want to know

[google-appengine] Can I change the login option of my app if I delete it?

2010-03-22 Thread Mariano Benitez
I understand I cannot change the option while the application is enabled. Also that the application Id is reserved if I delete the application. But... can I re-create the application with a different login option, or the app id is reserved to never be used again? Thanks! -- You received this

Re: [google-appengine] Can I change the login option of my app if I delete it?

2010-03-22 Thread djidjadji
To my knowledge the appid can only be once allocated. If you delete the app the appid is no more available. 2010/3/23 Mariano Benitez mari...@benitez.nu: I understand I cannot change the option while the application is enabled. Also that the application Id is reserved if I delete the

Re: [google-appengine] Can I change the login option of my app if I delete it?

2010-03-22 Thread Eli Jones
Here is the specific documentation on app deletion: http://code.google.com/appengine/kb/adminconsole.html#delete_app http://code.google.com/appengine/kb/adminconsole.html#delete_appYou cannot use the appid again, unfortunately. On Mon, Mar 22, 2010 at 8:25 PM, djidjadji djidja...@gmail.com

[google-appengine] Reading a file in GAE Java

2010-03-22 Thread Iain Flynn
Hi there. I have an application that requires me to read in and transform an XSLT stylesheet, which I keep in the directory /xml in / war. I've read the tutorials, and I've included it as a resource file (more specifically, set that all xsl files are included as resource files), but when I try to

[google-appengine] updating to new release of eclipse plugin causing datanucleus errors (again)

2010-03-22 Thread haole
after updating to the newest release (20100319) of the eclipse plugin (on 3/22), datanucleus enhancer is throwing null pointer exceptions again. last time, it was due to classpath that was too long. removing some unneeded jars out of my WEB-INF/lib directory seemed to do the trick. this time, i

[google-appengine] static files not found after upload

2010-03-22 Thread Glenn Blackler
Hello -- My very simple app works fine on the dev server, but once uploaded it can't access a file in one of my static directories. I have a static directory HTML with two files in it. The first comes up fine (I redirect to it from .py script) but the other HTML file always brings an error when I

Re: [google-appengine] Reading a file in GAE Java

2010-03-22 Thread Patrick Twohig
I use Class.getResourceAsStream(/xml/myschema.xsd); Cheers! On Mon, Mar 22, 2010 at 10:57 AM, Iain Flynn trancedsha...@gmail.comwrote: Hi there. I have an application that requires me to read in and transform an XSLT stylesheet, which I keep in the directory /xml in / war. I've read

[google-appengine] Re: permutations vs Cartesian product in exploding indexes documentation

2010-03-22 Thread kostmo
OK, I just watched Brett Slatkin's I/O talk [1] and he mentions cross product a couple of times, so it seems that the use of the word permutation in the docs is incorrect; the number of index entries is indeed proportional to the Cartesian product, rather than permutations which would lead to a

[google-appengine] Re: questions on datastore (lowercase comparison / one character String )

2010-03-22 Thread Chau
You can save storage by just quote Max Ross's article... http://gae-java-persistence.blogspot.com/2009/11/case-insensitive-queries.html On Mar 23, 12:27 am, Gleidson - MG - Brasil gleidson.gmo...@gmail.com wrote: If you're using a relational database it's pretty easy to execute case-

[google-appengine] Re: How to call a URL of your own application?

2010-03-22 Thread dhruvbird
Hello, And another thing I want to be able to do is figure out the HTTP return code for that internal URL. Since everything in already a web hook, I might as well model my app. in a similar fashion. I was wondering if the appengine guys could work out a hack for urllib where calls to internal

[google-appengine] Error if I set required=False for a StringListProperty

2010-03-22 Thread dhruvbird
Hello, I have a model with a single attribute that is a StringListProperty. I get an error if I define it as such: class Test(db.Expando): people = db.StringListProperty(required=False, indexed=True) However, on changing it to: class Test(db.Expando): people =

[google-appengine] Anyone noticing their requests taking more CPU usage today?

2010-03-22 Thread Blake
My crontabs have been taking around 500-600 cpu seconds, but today have been up over 1000 cpu seconds. I'm not asserting that there's an issue - it's possible it was a change I made, which is why I'm asking around. -- You received this message because you are subscribed to the Google Groups