[appengine-java] Users and UserService: fetch userID without login

2010-12-22 Thread l.denardo
Hello, I'm trying to figure out possible solutions for a problem. I'm currently using openID to authenticate users, restricting to Google as an identity provider (both gmail and Google Apps). What I need to do is to obtain reliable user information before a user logs in to the application. Use

[appengine-java] Understanding gwt-dispatch and Singletons/member variables

2010-12-22 Thread Sky
Hi all, I use gwt-dispatch in a project and now I have a question concerning the gwt-dispatch framework and member variables in ActionHandlers. I use guice on server side and bind the ActionHandlers as follow: bindHandler(GetXYHandler.class); - this is per definition no singleton! In

[appengine-java] Re: Entity relationship designing - best practice

2010-12-22 Thread WillSpecht
http://www.google.com/events/io/2009/sessions/BuildingScalableComplexApps.html this is a pretty good discussion on building apps that have lots of child objects. I also think you are prematurely optimizing. How many exams is a user going to have? 100, 200? This is still a tiny number and if you

[appengine-java] Workaround to get a cursor from a sorted and filtered query?

2010-12-22 Thread Glenn
I'm trying to find a workaround for some query cursor limitations. Say that I have entities with date and an value which is a multiple of ten from 0 to 100. I need to get paginated entities sorted by date and with the integer field above a given threshold, along the lines of the pseudo code:

Re: [appengine-java] Retrieve GMAIL contacts

2010-12-22 Thread Ikai Lan (Google)
You might want to ask here: http://groups.google.com/group/google-contacts-api (Also, for future reference, a stack trace is helpful when asking for help) -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit:

[appengine-java] Sending email from Java dev server

2010-12-22 Thread Thomas Oldervoll
Is there a way to enable email sending for the AppEngine Java dev server? I've found instructions for Pythonhttp://code.google.com/appengine/docs/python/tools/devserver.html#Using_Mail, but I can't figure out how to do this for the Jaav server - adding --enable_sendmail does not work. Thomas

Re: [appengine-java] Error in docs for Changing the Root Directory

2010-12-22 Thread Ikai Lan (Google)
Thanks! Will fix. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Dec 13, 2010 at 4:50 PM, Nevena neven...@gmail.com wrote: I just noticed there

[appengine-java] NOT ABLE TO DEPLOY

2010-12-22 Thread Sumi
WHY DOES THIS HAPPEN OFTEN? Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/clonefiles?app_id=Xversion=5; 500 Internal Server Error htmlhead meta http-equiv=content-type content=text/html;charset=utf-8 title500 Server Error/title /head body text=#00

Re: [appengine-java] NOT ABLE TO DEPLOY

2010-12-22 Thread Ikai Lan (Google)
We're looking into it: http://code.google.com/p/googleappengine/issues/detail?id=4293 -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Wed, Dec 22, 2010

Re: [appengine-java] GWT and GAE debugging problem

2010-12-22 Thread Ikai Lan (Google)
Have you asked your question here? http://groups.google.com/group/Google-Web-Toolkit -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Wed, Dec 15, 2010 at

Re: [appengine-java] com.google.appengine.api.datastore.Text does not preserve formatting

2010-12-22 Thread Ikai Lan (Google)
I'm pretty sure the formatting isn't being lost - HTML renders newlines and spaces as a single space. You will need to preserve HTML formatting in your final output. You can test this by setting output content-type to text/plain and seeing that line breaks and spaces are correctly saved. -- Ikai

Re: [appengine-java] Users and UserService: fetch userID without login

2010-12-22 Thread Ikai Lan (Google)
Does a domain's user list contain an ID? We can't provide this ID to you ahead of time. I think for your use case, it's safe to use the email and handle the edge case of someone changing their email. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:

Re: [appengine-java] Re: Cant retrieve a list of objects when using GAE and JPA.

2010-12-22 Thread Cesar Ruiz
Hey can you please explaine me the DTO way, with some code or an example, I really need to retrieve those objects. Thank you in advanced. Kido. On 21 December 2010 20:18, Stevko andy.ste...@gmail.com wrote: I may be dated on this with not keeping up on the latest gwt advances. The problems is

Re: [appengine-java] Re: Cant retrieve a list of objects when using GAE and JPA.

2010-12-22 Thread A. Stevko
Data Transfer Object (DTO) pattern is explained in this page http://java.sun.com/blueprints/corej2eepatterns/Patterns/TransferObject.html http://java.sun.com/blueprints/corej2eepatterns/Patterns/TransferObject.htmlThe Sample Code Implementing the Transfer Object Pattern gives a pretty clear

[appengine-java] Re: how to access all values a property has?

2010-12-22 Thread jacek.ambroziak
Thank you for answering. Indeed, I do keep a running count and I use MapRed to compute the extent of a property (of a kind). Recently I watched again the Google I/O video w/ Brett Slatkin where he talks about self-join, and the zig-zag algorithm in about minute 27 into that video. Indexes need to

[appengine-java] Issues redirecting to domain

2010-12-22 Thread Vik
Hie Our app is at: http://2.latest.sakshumweb.appspot.com/ And we have added our domain http://www.sakshum.com This was all working fine from last 6+ months. But from yesterday http://www.sakshum.com fails to load the app. It says browser could not find the page. We havent done any changes

Re: [appengine-java] Issues redirecting to domain

2010-12-22 Thread A. Stevko
Both urls work the same for me. Downforeveryoneorjustme says its up too http://www.downforeveryoneorjustme.com/www.sakshum.com http://www.downforeveryoneorjustme.com/www.sakshum.com On Wed, Dec 22, 2010 at 8:55 PM, Vik vik@gmail.com wrote: Hie Our app is at:

[appengine-java] Re: Any easy way to run demos on 1.4 release?

2010-12-22 Thread NeoK
I've already installed Eclipse plugin and imported project with Eclipse File-New-Java Project from Ant Buildfile. As far as I know the demos under * \eclipse\plugins\com.google.appengine.eclipse.sdkbundle.1.4.0_1.4.0.v201012021502\appengine-java-sdk-1.4.0\demos * folder don't have the eclipse

[google-appengine] Re: BIlling Settings?

2010-12-22 Thread MyElasticEye
Same here. Need a solution asap. On Dec 22, 7:01 am, Patrick Twohig patr...@namazustudios.com wrote: Hi, I'm consistently getting an error 500 when trying to adjust my app's billing settings.  Anybody else having this problem? Thanks, Patrick. -- Patrick H. Twohig. Namazu Studios

[google-appengine] Re: BIlling Settings?

2010-12-22 Thread sarp
We also have this problem. We're exceeding our quotas and can't change our billing settings. It's very frustrating! On Dec 22, 7:01 am, Patrick Twohig patr...@namazustudios.com wrote: Hi, I'm consistently getting an error 500 when trying to adjust my app's billing settings.  Anybody else

[google-appengine] Re: Deploy app to several appengines at the same time..?

2010-12-22 Thread Dieter Krachtus
I was hoping somebody has already a shell script worked out that has this multi-deploy and several other features. I have most clients: Win, OSX or Linux. On Dec 22, 4:02 am, Ernesto Karim Oltra ernestoka...@gmail.com wrote: Have you tried a shell script? Or anything that runs on your client?

Re: [google-appengine] Re: Newbie Q - Public IP address_DNS Server?

2010-12-22 Thread Julien Lancelot
You're absolutely right, I've it on this page : http://support.apigee.com/apigee/topics/apigee_server_ips There are 2 IPs used for the moment : 174.129.236.240, 75.101.150.28. That's perfect! Thank you! On Tue, Dec 21, 2010 at 17:21, Barry Hunter barrybhun...@gmail.com wrote: On 21 December

[google-appengine] Add a Domain - GAE Administration - Not working!

2010-12-22 Thread branflake2267
Please fix add a domain int he administration console for GAE. Thanks, Brandon Donnelson -- 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,

[google-appengine] exceptions.TypeError

2010-12-22 Thread Tsolmon Narantsogt
Hello list When i run that command i got this error. python dev_appserver.py projectname i'm using ubuntu 10.10 with python2.6. *type 'exceptions.TypeError'*Python 2.6.5: /usr/bin/python Wed Dec 22 16:02:15 2010 A problem occurred in a Python script. Here is the sequence of function calls

[google-appengine] Cannot access to Datastore Admin

2010-12-22 Thread Kegan Gan
I want to access the App Engine Datastore Admin for my application. I have added the following to my app.yaml: builtins: - appstats: on - datastore_admin: on - remote_api: on I can see the Datastore Admin link on my application dashboard. However, every time I click on the Datastore

[google-appengine] Re: Add a Domain - GAE Administration - Not working!

2010-12-22 Thread Tim Hoffman
How can anyone work out from this post what the problem with the interface is. In addition if you feel there is a bug or other problem you should log an issue http://code.google.com/p/googleappengine/issues/list -- You received this message because you are subscribed to the Google Groups

[google-appengine] Query Help: Search for Entity Key within a Kind

2010-12-22 Thread stace
I am using Google App Engine for the backend to my elearning app. I am trying to to a GQL query in the admin dashboard, in order to find ActivityCompletion records for a certain user. The user field (or whatever the non relational equivalent to 'field' is!) is called user, and uses a KEY for

Re: [google-appengine] Query Help: Search for Entity Key within a Kind

2010-12-22 Thread Stephen Johnson
Where where clause is filtering on the __key__ field of the ActivityCompletion entity and not the User field. I assume it should look something like: where user = Key('User',9122) if user keys or numbers and not strings otherwise where user = Key('User',9122) Also, I'm assuming

Re: [google-appengine] Query Help: Search for Entity Key within a Kind

2010-12-22 Thread Stephen Johnson
Wow I can't type this morning. Your where clause is filtering on the __key__ field of the ActivityCompletion entity and not the User field. I assume it should look something like: where user = Key('User',9122) if user keys are numbers and not strings otherwise where user =

Re: [google-appengine] Query Help: Search for Entity Key within a Kind

2010-12-22 Thread stace
Lovely - works perfect! Sorry to have been such a dunce about this, I'm used to mysql and have quite a bit of trouble getting my brained wrapped around the finer points of the Datastore and using GQL. thanks so much, you've saved me a ton of time. -- You received this message because you are

Re: [google-appengine] Query Help: Search for Entity Key within a Kind

2010-12-22 Thread Stephen Johnson
Not a problem. Glad it was so easy. It is a bit of a mind shift from relational databases. On Wed, Dec 22, 2010 at 10:33 AM, stace mspan...@gmail.com wrote: Lovely - works perfect! Sorry to have been such a dunce about this, I'm used to mysql and have quite a bit of trouble getting my brained

Re: [google-appengine] Query Help: Search for Entity Key within a Kind

2010-12-22 Thread Stephen Johnson
Just another FYI in case you're not aware of it. You might want to shorten the entity name ActivityCompletion. Your entity names are in all the keys and index entries so long entity names can add a great deal of metadata overhead if you have lots of those entity kinds in the datastore. Otherwise

Re: [google-appengine] Query Help: Search for Entity Key within a Kind

2010-12-22 Thread stace
Thanks very much for the suggestion - we don't have too many models - just 10 or so - so perhaps now it's OK like this but I will definitely keep that in mind for anything we do next! My programmer disappeared so I'm trying to get a little bit up to speed on GAE, which is an uphill struggle,

[google-appengine] DNS error

2010-12-22 Thread Pythagoras
I can't connect anymore to my application. (It used to work fine). In Firefox, receive a DNS error occurred. Server cannot be found. The link may be broken. My applicaiton identifier is coco041266 (and I use the link http://coco041266.appspot.com/) On my dashboard, everything looks normal.. --

[google-appengine] How to map www to my GAE app?

2010-12-22 Thread Anar Seyf
I registered a domain (say domain1.com), added it to Google Apps, deployed an app (say app1.appspot.com), and linked it with the Google Apps so that it responds to the URL app1.domain1.com. I'm now trying to link the same app to the URL www.domain1.com. I tried to change the GoDaddy CNAME record

[google-appengine] Request For More Applications

2010-12-22 Thread Craig Younkins
I have used my limit of 10 applications, and would greatly appreciate a few more. If a Googler would like to message me off-list, I can tell them 4 apps that can be permanently deleted. Thank you! Craig Younkins -- You received this message because you are subscribed to the Google Groups

Re: [google-appengine] Re: BIlling Settings?

2010-12-22 Thread saidimu apale
I've also had this same issue for the last 2-3 days. On Wed, Dec 22, 2010 at 4:07 AM, sarp sarpcen...@gmail.com wrote: We also have this problem. We're exceeding our quotas and can't change our billing settings. It's very frustrating! On Dec 22, 7:01 am, Patrick Twohig

[google-appengine] AppEngine In Apps Market Place?

2010-12-22 Thread Brandon Wirtz
I have an application that I built which I would like to sell in the Google Apps Marketplace http://www.google.com/enterprise/marketplace One of the check boxes is for Installable on Google Apps . I run my App Engine Apps on Apps all the time, and because I have made all the settings

[google-appengine] Re: Request For More Applications

2010-12-22 Thread Philip
You can delete them by yourself. Take a look at Application Settings at your dashboard. On Dec 22, 1:55 am, Craig Younkins cyounk...@gmail.com wrote: I have used my limit of 10 applications, and would greatly appreciate a few more. If a Googler would like to message me off-list, I can tell

[google-appengine] Re: AppEngine In Apps Market Place?

2010-12-22 Thread Roberto Saccon
Installable in the context of Apps Market Place means make it accessible for single-sign-on from google apps. It doesn't matter at all whether the app is on appengine or anywhere else. However my experience so far with Apps Market Place on AppEngine is that I couldn't get the billing jar

Re: [google-appengine] DNS error

2010-12-22 Thread Stephen Johnson
I get a 404 not found from your app. It's not DNS. Looks like you app has something wrong with it. On Tue, Dec 21, 2010 at 2:03 PM, Pythagoras peter.n...@gmail.com wrote: I can't connect anymore to my application. (It used to work fine). In Firefox, receive a DNS error occurred. Server cannot

Re: [google-appengine] user service return page

2010-12-22 Thread Ikai Lan (Google)
thisUrl refers to the URL that GWT is requesting, not the URL hosting the GWT page. For instance, if your GWT page is index.html, you will want to redirect to that, not the URL at which you have defined your RPC handler. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:

Re: [google-appengine] Re: I can't download data using bulkloader

2010-12-22 Thread Ikai Lan (Google)
Is your indentation set up correctly? Connector must be at the same indentation level as kind. http://www.yaml.org/spec/current.html (Fun fact: If you had any experience in Python you would have caught this right away) -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:

[google-appengine] Unable to deploy since 3.10pm EST

2010-12-22 Thread Sundar
I keep getting the following from about 3.10pm EST, when trying to deploy my application: Error 500: --- begin server output --- htmlhead meta http-equiv=content-type content=text/html;charset=utf-8 title500 Server Error/title /head body text=#00 bgcolor=#ff h1Error: Server Error/h1

[google-appengine] Re: Unable to deploy since 3.10pm EST

2010-12-22 Thread tempy
Same here. App ID: openkleio On Dec 22, 9:20 pm, Sundar cyberto...@gmail.com wrote: I keep getting the following from about 3.10pm EST, when trying to deploy my application: Error 500: --- begin server output --- htmlhead meta http-equiv=content-type content=text/html;charset=utf-8

[google-appengine] Re: Unable to deploy since 3.10pm EST

2010-12-22 Thread kamens
Same exact situation/error here. On Dec 22, 3:20 pm, Sundar cyberto...@gmail.com wrote: I keep getting the following from about 3.10pm EST, when trying to deploy my application: Error 500: --- begin server output --- htmlhead meta http-equiv=content-type content=text/html;charset=utf-8

[google-appengine] Re: Unable to deploy since 3.10pm EST

2010-12-22 Thread kamens
If it helps: App ID: khanexercises On Dec 22, 3:22 pm, kamens kam...@gmail.com wrote: Same exact situation/error here. On Dec 22, 3:20 pm, Sundar cyberto...@gmail.com wrote: I keep getting the following from about 3.10pm EST, when trying to deploy my application: Error 500: ---

[google-appengine] Re: Unable to deploy since 3.10pm EST

2010-12-22 Thread Philip
Please star this issue (usually the fastest way to get help) if you are also affected. http://code.google.com/p/googleappengine/issues/detail?id=4293 On Dec 22, 9:23 pm, kamens kam...@gmail.com wrote: If it helps: App ID: khanexercises On Dec 22, 3:22 pm, kamens kam...@gmail.com wrote:

Re: [google-appengine] Billing Disabled

2010-12-22 Thread Ikai Lan (Google)
You should be able to enabling billing now. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Fri, Dec 17, 2010 at 1:38 AM, yohan yohan...@gmail.com wrote:

[google-appengine] Re: -1L exception?

2010-12-22 Thread ten_foot_ninja
It was a KeyError. Strange that it returned -1L instead of KeyError:... On Dec 21, 1:48 am, Tim Hoffman zutes...@gmail.com wrote: With out a stack trace is pretty hard work work out. T -- You received this message because you are subscribed to the Google Groups Google App Engine group. To

Re: [google-appengine] Query Help: Search for Entity Key within a Kind

2010-12-22 Thread stace
I have another query issue - not sure if I should do a new post or not - but here it is! I'm trying to find Activity types by using their ID/name value - which look like this: *Decoded entity key:* *Activity: name=Lesson/level3gratitude* This doesn't prove as easy as searching for keys that

Re: [google-appengine] Re: Unable to deploy since 3.10pm EST

2010-12-22 Thread Ikai Lan (Google)
This has been fixed. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Wed, Dec 22, 2010 at 12:26 PM, Philip philip.mates...@driggle.comwrote: Please star

Re: [google-appengine] Re: Unable to deploy since 3.10pm EST

2010-12-22 Thread Sundar
Ikai, I appreciate the response. But please could you give us more detail - what happened to cause the problem and what was fixed? Thanks. On Wed, Dec 22, 2010 at 4:20 PM, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: This has been fixed. -- Ikai Lan Developer

Re: [google-appengine] Re: BIlling Settings?

2010-12-22 Thread Ikai Lan (Google)
Can you guys send me your application IDs as well as reproduction steps to get the error 500? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Wed, Dec 22,

Re: [google-appengine] Re: Unable to deploy since 3.10pm EST

2010-12-22 Thread Ikai Lan (Google)
We had I/O issues with the underlying persistence mechanism behind the deploys - they were stuck in a bad state. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine

Re: [google-appengine] Query Help: Search for Entity Key within a Kind

2010-12-22 Thread Stephen Johnson
Are you actually putting where 'name'/ID in your GQL? Don't you want the following: SELECT * FROM Activity where __key__ = Key('Activity','Lesson/level3gratitude') On Wed, Dec 22, 2010 at 2:00 PM, stace mspan...@gmail.com wrote: I have another query issue - not sure if I should do a new

Re: [google-appengine] Query Help: Search for Entity Key within a Kind

2010-12-22 Thread stace
Yes I am, this is what happens when a GAE moron tries to write GQL queries, lol! Thank you again, your help has made my day! The problem with the samples on the App Engine docs site is that they are not written for people who are starting from ZERO with understanding of using GQL for queries

Re: [google-appengine] Query Help: Search for Entity Key within a Kind

2010-12-22 Thread Stephen Johnson
Glad to be of help, Stephen On Wed, Dec 22, 2010 at 3:02 PM, stace mspan...@gmail.com wrote: Yes I am, this is what happens when a GAE moron tries to write GQL queries, lol! Thank you again, your help has made my day! The problem with the samples on the App Engine docs site is that they

Re: [google-appengine] How to map www to my GAE app?

2010-12-22 Thread A. Stevko
Actually you had the right combo there. Create a cname record for www to ghs.google.com I've done the same with my ninuku.com domain hosted by GoDaddy Perhaps you can delete the record and recreate it? On Tue, Dec 21, 2010 at 6:23 PM, Anar Seyf anar.s...@gmail.com wrote: I registered a domain

Re: [google-appengine] Re: BIlling Settings?

2010-12-22 Thread Ikai Lan (Google)
I talked to the team about this, and this was the result of some code we pushed. The change has been rolled back. We'll fix it before we push it again. Try updating your settings now and let me know if it's still broken. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:

[google-appengine] Re: Unable to deploy since 3.10pm EST

2010-12-22 Thread tempy
Thanks for the quick turnaround! On Dec 22, 10:55 pm, Ikai Lan (Google) ikai.l+gro...@google.com wrote: We had I/O issues with the underlying persistence mechanism behind the deploys - they were stuck in a bad state. -- Ikai Lan Developer Programs Engineer, Google App Engine

Re: [google-appengine] Re: BIlling Settings?

2010-12-22 Thread Patrick Twohig
Works now. Thanks Ikai. On Wed, Dec 22, 2010 at 3:05 PM, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: I talked to the team about this, and this was the result of some code we pushed. The change has been rolled back. We'll fix it before we push it again. Try

[google-appengine] Re: Not authorized - can't log into appengine

2010-12-22 Thread sreekumar
If you are using custom Google Apps domains, make sure that the administrator of your domain has enabled the 'Google App Engine' service from the Google Apps dashboard. I previously got the 'not authorized' message and solved this issue by doing the above. -- You received this message because

[google-appengine] Request for Experimental App Feedback

2010-12-22 Thread Erik
Hello everyone, Over the past few months I have been getting my feet wet with Google App Engine, and have created a site called Wiki-Hop (http://www.wiki- hop.org/). Wiki-Hop is a search engine for finding connections between people in Wikipedia, similar to the idea of six degrees of Kevin

Re: [google-appengine] Query Help: Search for Entity Key within a Kind

2010-12-22 Thread Tim Hoffman
Hi You should probably avoid using GQL and stick to Query objects, then you won't keep slipping into the SQL mindset. There is no real benefit in using GQL at all, and is fraught with the semantic problems of looking like SQL but being nothing like it ;-) In addition some things are just a bit

Re: [google-appengine] Re: Channel API CPU usage

2010-12-22 Thread Nick Johnson (Google)
Hi, 2770 milliseconds is 2.7 CPU seconds, which works out to a cost of $0.76 dollars per call, or seven one-thousandths of a cent. This doesn't seem like it will be outrageously expensive, and I suspect you'll find it challenging to find a third-party service that works for a lower total

Re: [google-appengine] Re: This request used a high amount of CPU and may soon exceed its quota - 2010/2011

2010-12-22 Thread Matija
GAE team !? More info. -- 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+unsubscr...@googlegroups.com. For