[appengine-java] appcfg deployment hangs at jsp compile
hi guys i cannot deploy to appengine because the appcfg hangs at 8% jsp compiling. i have deployed hundreds of these and i dunno what is wrong. i am losing my mind over this simple deployment. appcfg.cmd update c:\src\mingle\geoserver\trunk\target\geoserver-1.0- SNAPSHOT Reading application configuration data... 4/03/2011 15:15:00 com.google.apphosting.utils.config.AppEngineWebXmlReader read AppEngineWebXml INFO: Successfully processed c:/src/mingle/geoserver/trunk/target/ geoserver-1.0- SNAPSHOT\WEB-INF/appengine-web.xml 4/03/2011 15:15:00 com.google.apphosting.utils.config.AbstractConfigXmlReader re adConfigXml INFO: Successfully processed c:/src/mingle/geoserver/trunk/target/ geoserver-1.0- SNAPSHOT\WEB-INF/web.xml 4/03/2011 15:15:00 com.google.apphosting.utils.config.AbstractConfigXmlReader re adConfigXml INFO: Successfully processed c:/src/mingle/geoserver/trunk/target/ geoserver-1.0- SNAPSHOT\WEB-INF/cron.xml 4/03/2011 15:15:00 com.google.apphosting.utils.config.IndexesXmlReader readConfi gXml INFO: Successfully processed c:\src\mingle\geoserver\trunk\target \geoserver-1.0- SNAPSHOT\WEB-INF\appengine-generated\datastore-indexes-auto.xml Beginning server interaction for minglegeo... 0% Creating staging directory 5% Scanning for jsp files. 8% Compiling jsp files. thats it.. it stay like that for ever. after 1 minute 10 minutes doesnt matter. nothing changes. no errors in console or logs. a javac process is running with 0 cpu i am using jdk1.6_06 any help is most appreciated for my sanity, thanks -lp -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Problem with query - jdo
The persistence layer uses lazy-load approach, so when in jsp it tries to access to entities extracted from the database it throws exception because the persistence manager is just closed. So, how to avoid this problem? so either use eager fetch... not a good idea for large objects. OR use a VTO pattern (http://java.sun.com/blueprints/patterns/ TransferObject.html) to populate ur presentation objects. this enables the persistence layer transaction to be abstracted away from presentation. VTO pattern is more usefull. -lp -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Error javax.persistence.PersistenceException: Illegal argument
Hi Didier!... To what part of the blog do you you recount that it is associated with my worry? Regards Lisandro On Feb 28, 2:40 am, Didier Durand durand.did...@gmail.com wrote: Sorry, Got confused with Objectify that I use now in place of JDO/JPA. Look at this blog:http://gae-java-persistence.blogspot.com/ You have there the needed examples to solve your problem regards didier On Feb 27, 2:53 pm, lisandrodc lisandr...@gmail.com wrote: Thanks Didier, but @Parent It is not an annotation of JPA... link:http://www.datanucleus.org/products/accessplatform_1_1/jpa/annotation... What is what you say that I must place in the code? Regards Lisandro On 27 feb, 04:06, Didier Durand durand.did...@gmail.com wrote: Yes, You can't update 2 entities that are not related by a parent (@Parent) - child relationship in a single transaction else GAE creates them in 2 separate entity groups and then throws an exception because a transaction can't update objects in more than 1 entity group. See parag Entity Groups inhttp://code.google.com/appengine/docs/java/datastore/transactions.html regards didier On Feb 26, 8:49 pm, lisandrodc lisandr...@gmail.com wrote: Hi ! I have an error at update an object: public void agregarGrupoConUsuario(Usuario usuario,Long idGrupo) { EntityTransaction et= em.getTransaction(); try { et.begin(); ControladorGrupoTorneo cGT = new ControladorGrupoTorneo(); GrupoTorneo grTorneo = cGT.devolverGrupoTorneo(idGrupo); usuario.agregarGrupoTorneo(grTorneo); em.merge(usuario); et.commit(); //the exception at commit; System.out.println(persistioUsuarioConGrupo); } finally { The error is: Caused by: java.lang.IllegalArgumentException: can't operate on multiple entity groups in a single transaction. found both Element { type: GrupoTorneo id: 3} and Element { type: Usuario id: 11 } Class Usuario: @Entity public class Usuario { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Key id; private String nombreUsuario; private String nombre; private String apellido; private String telefono; private String password; private String mail; private String imagen; private String ciudad; private String pais; @OneToMany(cascade = {CascadeType.PERSIST, CascadeType.REMOVE, CascadeType.REFRESH, CascadeType.MERGE}) private ListRegFechaUsuario listRegFechaUsuario; @OneToMany(cascade = {CascadeType.PERSIST, CascadeType.REMOVE, CascadeType.REFRESH, CascadeType.MERGE}) private ListGrupoTorneo gruposTorneo; /** Class GrupoTorneo: @Entity public class GrupoTorneo { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Key id; private String nombre; private String descripcion; private Date fechaCreacion; private Long idTorneo; private Long idUsuarioCreador; private String nombreUsuarioCreador; private Long idGrupo; ... ... Solution? Regards -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Collection object not being updated
Hi Cosmin! I have decided to use JPA due to the fact that with JDO I met several bugs associated with GAE and JPA I had fewer problems, beyond the restrictions that there imposes GAE of the correct use of the oriented object programming . Because of it I recommend to you to use for GAE, JPA... Regards On Mar 1, 1:59 pm, Ian Marshall ianmarshall...@gmail.com wrote: Hi Cosmin, I do not see any calls to pm.makePersistent(...); I use this to persist newly-created persistent instances. I know that you do not use transactions, but I do. Within an active transaction, one can update persistent instances and even persist or delete entity group child instances without calling pm.makePersistent(...); Have you looked at the GAE persistence blog of Max Ross of Google? There are some excellent working examples there... Ian On Feb 28, 6:55 pm, Cosmin Stefan cosmin.stefandob...@gmail.com wrote: So no ideea anyone? On Feb 25, 11:42 pm, Cosmin Stefan cosmin.stefandob...@gmail.com wrote: Hey, I have an issue while trying to update one object in a collection, using JDO. Here are the facts: o i have a class (let's call it BigClass), that has an embedded class(SmallClass) containing an ArrayList. o I DONT use/need a transaction o I query the database to get a List of BigClass items that should be modified. I iterate through each of them and I... o I remove an element from the list in the SmallClass embedded in the current BigClass, the changes are not ALWAYS persisted o if I print (log) the object after the change, it looks modified, but if i check the DataViewer, the object was not updated o i even tried using JDOHelper.makeDirty on the BigClass, with the fieldName SmallClass, and it still doesn't work. Some relevant code: Query q = pm.newQuery(BigClass.class,id==:ids); ListBigClass participatingUsers=(ListBigClass) q.execute(participantIDs); //Update the participants ListIteratorBigClass it=participatingUsers.listIterator(); BigClass participant; boolean modified; while(it.hasNext()) { participant=it.next(); participant.list.remove(smth); JDOHelper.makeDirty(participant,collection); } modify other objects pm.close() Another thing is that some of the changes I make after this part are persisted... So, if you have any suggestions, shoot pls! Cosmin -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Problem using REST in GAE
Hi guys!! In my project i have to check in the datastore if an e-mail is already present through this rest request: (using Spring Mvc+Json) @RequestMapping(method = RequestMethod.GET, value = /list_user/{email}, headers = Accept=application/json) public @ResponseBody boolean getComment(@PathVariable String email) throws Base64DecoderException{ email = new String(Base64.decode(email)); String email2 = email.toLowerCase(); int compareResult = email.compareTo(email2); if (compareResult != 0) return false; EmailValidator ev = EmailValidator.getInstance(); if (!ev.isValid(email)) return false; else return true; } Locally the request return a boolean value as planned but on appspot it doesn't return a value... Can anybody help me please? Another question: Can i return a http header using a GET? -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Logging file size
Hi, Interesting question! From the quota page: http://code.google.com/appengine/docs/quotas.html, it doesn't seem that there is not any official limit on logging. Maybe some googler will let us know if there is one anyway or not. On Mar 4, 4:30 pm, JT jem...@gmail.com wrote: I know there is a limit of 6.5 hours CPU time per day for GAE4J, but if I turn on verbose logging onto the console like using System.out.println, does the size of the logging limited by GAE in any way? Thanks for any hint! -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Data store transfer
Hie I was using my gmail account to signup and host a web app on GAE. We do have an google apps account. Earlier it was not possible to sign up GAE using apps accounts. But now it is., So, how can we move our existing data to the new app hosted on account signed up with google apps ? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Error javax.persistence.PersistenceException: Illegal argument
Hi, Look at http://gae-java-persistence.blogspot.com/2009/10/executing-batch-gets.html http://gae-java-persistence.blogspot.com/2009/10/optimistic-locking-with-version.html regards didier On Mar 4, 1:45 pm, lisandrodc lisandr...@gmail.com wrote: Hi Didier!... To what part of the blog do you you recount that it is associated with my worry? Regards Lisandro On Feb 28, 2:40 am, Didier Durand durand.did...@gmail.com wrote: Sorry, Got confused with Objectify that I use now in place of JDO/JPA. Look at this blog:http://gae-java-persistence.blogspot.com/ You have there the needed examples to solve your problem regards didier On Feb 27, 2:53 pm, lisandrodc lisandr...@gmail.com wrote: Thanks Didier, but @Parent It is not an annotation of JPA... link:http://www.datanucleus.org/products/accessplatform_1_1/jpa/annotation... What is what you say that I must place in the code? Regards Lisandro On 27 feb, 04:06, Didier Durand durand.did...@gmail.com wrote: Yes, You can't update 2 entities that are not related by a parent (@Parent) - child relationship in a single transaction else GAE creates them in 2 separate entity groups and then throws an exception because a transaction can't update objects in more than 1 entity group. See parag Entity Groups inhttp://code.google.com/appengine/docs/java/datastore/transactions.html regards didier On Feb 26, 8:49 pm, lisandrodc lisandr...@gmail.com wrote: Hi ! I have an error at update an object: public void agregarGrupoConUsuario(Usuario usuario,Long idGrupo) { EntityTransaction et= em.getTransaction(); try { et.begin(); ControladorGrupoTorneo cGT = new ControladorGrupoTorneo(); GrupoTorneo grTorneo = cGT.devolverGrupoTorneo(idGrupo); usuario.agregarGrupoTorneo(grTorneo); em.merge(usuario); et.commit(); //the exception at commit; System.out.println(persistioUsuarioConGrupo); } finally { The error is: Caused by: java.lang.IllegalArgumentException: can't operate on multiple entity groups in a single transaction. found both Element { type: GrupoTorneo id: 3} and Element { type: Usuario id: 11 } Class Usuario: @Entity public class Usuario { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Key id; private String nombreUsuario; private String nombre; private String apellido; private String telefono; private String password; private String mail; private String imagen; private String ciudad; private String pais; @OneToMany(cascade = {CascadeType.PERSIST, CascadeType.REMOVE, CascadeType.REFRESH, CascadeType.MERGE}) private ListRegFechaUsuario listRegFechaUsuario; @OneToMany(cascade = {CascadeType.PERSIST, CascadeType.REMOVE, CascadeType.REFRESH, CascadeType.MERGE}) private ListGrupoTorneo gruposTorneo; /** Class GrupoTorneo: @Entity public class GrupoTorneo { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Key id; private String nombre; private String descripcion; private Date fechaCreacion; private Long idTorneo; private Long idUsuarioCreador; private String nombreUsuarioCreador; private Long idGrupo; ... ... Solution? Regards -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] logging with .info() causes 840cpu_ms an WARNING
This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application. How can I avoid that. If I change le log call from .info() to .warning the request is handled fast without the message above. Thanky for helping -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Far too many 500 errors for some requests, 203 errors, high latency
Dear Appengine team, Our application is experiencing 500 errors for the past 12 hours. Currently our pages are not coming up at all. One example of the log is as follows. - *2011-03-03 16:22:49.391 /admin/[OUR_URL] 500 10466ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine)* *0.1.0.1 - - [03/Mar/2011:16:22:49 -0800] GET /admin/[OUR_URL] HTTP/1.1 500 0 - AppEngine-Google; (+http://code.google.com/appengine) [OURAPP]. appspot.com ms=10466 cpu_ms=0 api_cpu_ms=0 cpm_usd=0.28 queue_name=__cron task_name=48e5f5bf96117979c2ac24c0c5a7ed25 exit_code=203* * * *2011-03-03 16:22:49.322* *A serious problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new process to be used for the next request to your application. If you see this message frequently, you should contact the App Engine team. (Error code 203)* *-* * * * * Also, for the past couple of days we are seeing far too many loading_requests, inordinate delays.. Need help from the appengine team. In case you want the app ID let me know, I will share it privately anyone interested. Thanks a lot for your help. Prashant -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Far too many 500 errors for some requests, 203 errors, high latency
Follow up on some more troubleshooting we did, 1. we created another app id, and uploaded the same code, and we were able to get it working. 2. We created another version of the same code in the same appid, but it did not work 3. we suspected the data store and we cleaned up all our app, and now it is working fine ( so far ) This is concerning to us, as we are planning to go live very soon. What is that in our data store that caused this issue to occur ? Is there a way to determine that? We did not get any information in the logs apart from continuous stream of 500 errors ( and 203 errors). We do not mind paying for always on, but will that make it go away? We seek help / guidance from the google app engine team to diagnose any problems with our app by looking at our app behaviour, before we expose our customers to the risk. Thanks in advance. Regards Prashant On Fri, Mar 4, 2011 at 10:45 AM, Prashant Hegde prashant.he...@gmail.comwrote: Dear Appengine team, Our application is experiencing 500 errors for the past 12 hours. Currently our pages are not coming up at all. One example of the log is as follows. - *2011-03-03 16:22:49.391 /admin/[OUR_URL] 500 10466ms 0cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine)* *0.1.0.1 - - [03/Mar/2011:16:22:49 -0800] GET /admin/[OUR_URL] HTTP/1.1 500 0 - AppEngine-Google; (+http://code.google.com/appengine) [OURAPP]. appspot.com ms=10466 cpu_ms=0 api_cpu_ms=0 cpm_usd=0.28 queue_name=__cron task_name=48e5f5bf96117979c2ac24c0c5a7ed25 exit_code=203 * * * *2011-03-03 16:22:49.322* *A serious problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new process to be used for the next request to your application. If you see this message frequently, you should contact the App Engine team. (Error code 203)* *-* * * * * Also, for the past couple of days we are seeing far too many loading_requests, inordinate delays.. Need help from the appengine team. In case you want the app ID let me know, I will share it privately anyone interested. Thanks a lot for your help. Prashant -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: eclipse shows error in .jsp but tutorial project runs
I'm getting exactly the same thing. How did you create you jsp file? I could not find a specific jsp file on the File/New so I created a generic file and named it guestbook.jsp. This may be the problem, but I could not find a way around it. On Mar 2, 5:43 pm, marsh...@marshallfarrier.com marsh...@marshallfarrier.com wrote: another thing that might be helpful for diagnostics of my guestbook.jsp following the java tutorial: Eclipse isn't color coding anything or making use of its programmer-friendly features on the .jsp file, which i have in the war directory of the project. Eclipse is of course using a JDK for the project, so that error message is rather cryptic to me. it just somehow isn't understanding what the .jsp really is, even though when it builds, it builds the project correctly (since it runs) but thinks there is an error--if that makes any sense. moving forward in the tutorial, all of this amounts not only to the annoyance of the red-x marker, but also as i edit the file, since eclipse isn't checking it, i'm on my own in terms of checking for punctuation and all that--it would just be nice if eclipse could give me the info that it usually does rather than misunderstanding that file. On Mar 1, 9:42 pm, marsh...@marshallfarrier.com marsh...@marshallfarrier.com wrote: actually, i did just discover some info on what it doesn't like: Down in the bottom box where there's a console tab and a few others, there is also a problems tab. When i click there it says your project must be configured to use a JDK in order to use JSPs. Just following the tutorial, i did change web.xml to have guestbook.jsp as welcome-file but didn't change anything else. web.xml in its entirety is: [code] ?xml version=1.0 encoding=utf-8? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee; xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; xsi:schemaLocation=http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/we...; version=2.5 servlet servlet-nameGuestbook/servlet-name servlet-classguestbook.GuestbookServlet/servlet-class /servlet servlet-mapping servlet-nameGuestbook/servlet-name url-pattern/guestbook/url-pattern /servlet-mapping welcome-file-list welcome-fileguestbook.jsp/welcome-file /welcome-file-list /web-app [/code] p.s.: what tags do you use here to set code apart so that it's easier to read? On Mar 1, 2:08 pm, Ikai Lan (Google) ika...@google.com wrote: Do you know what the error says when you hover over the X? Could just be Eclipse weirdness. Ikai Lan Developer Programs Engineer, Google App Engine Blog:http://googleappengine.blogspot.com Twitter:http://twitter.com/app_engine Reddit:http://www.reddit.com/r/appengine On Tue, Mar 1, 2011 at 8:05 AM, Aisthesis marsh...@marshallfarrier.comwrote: i'm just trying to learn how the app engine works and was working through the tutorial. in the guestbook.jsp version, using eclipse, i started off with some actual errors (missing quotation mark, missing space) but after getting enough of those corrected that the program does run in my browser, i still get the x-file sign in eclipse next to the guestbook.jsp file, and it hasn't gone away after repeated cleans. here's my file: [code] %@ page contentType=text/html;charset=UTF-8 language=java % %@ page import=com.google.appengine.api.users.User % %@ page import=com.google.appengine.api.users.UserService % %@ page import=com.google.appengine.api.users.UserServiceFactory % html body % UserService userService = UserServiceFactory.getUserService(); User user = userService.getCurrentUser(); if (user != null) { % pHello, %= user.getNickname() %! (You can a href=%= userService.createLogoutURL(request.getRequestURI()) %sign out/a.)/p % } else { % pHello! a href=%= userService.createLoginURL(request.getRequestURI()) %Sign in/a to include your name with greetings you post./p % } % /body /html [/code] is there still something wrong with it? and, if not, any ideas as to what might be causing the eclipse error symbol? -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the
[appengine-java] Re: Problem using REST in GAE
A GET response ever with a HTTP STATUS ! ;) How are u making your GET request? Have you specify to include the HTTP HEADER ? Example for your REST (using curl command): curl -i -HAccept:application/json http://yourdomaid/restpath/list_user/somethingencoded For the other question i have no answer, sorry! -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Login redirect failing all of a sudden /_ah/conflogin
What was the good workaround? Our login is broken, too. We have two App Engine apps: one is the front end and one the back end, with a REST API. When the user accesses the front end a call to the back end is made where redirect = userService.createLoginURL(gae front end); is called. In this case both apps have appspot.com urls and it worked well. We are dead in the water now. Please help! Thanks, Glenn On Mar 2, 12:31 pm, Jon McAlister jon...@google.com wrote: Looks like you pushed a good workaround already, but yes that was a result of a new login system yesterday, and looks like it is not handling this case like the prior system did. Specifically, calling createLoginUrl where the continue url is not the same as the url the app is hosted on. And, furthermore, the continue url is not an app engine url at all. For now, what you did was a good workaround. That is, use an app engine url as the continue url, and then have the app engine app redirect to the non-app-engine url. Need to think on this case some more. On Wed, Mar 2, 2011 at 7:53 AM, Joerg Weingarten jbwinvest...@gmail.com wrote: Since this morning my call to userservice.createLoginUrl produces a url that doesn't work anymore. When selecting my Sign in link, which has a url like: https://www.google.com/accounts/ServiceLogin?service=ahpassive=true;... I get the error: The requested URL /_ah/conflogin was not found on this server. Somebody please help. Thx ---Joerg--- -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine-java?hl=en. -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Login redirect failing all of a sudden /_ah/conflogin
The workaround is to have the app perform the redirect. That is, createLoginUrl only works when the continue url is a url for the app. If you need the user to be sent to another app/host after login, then your app needs to do that redirect. On Fri, Mar 4, 2011 at 11:47 AM, Glenn glenn.mur...@gmail.com wrote: What was the good workaround? Our login is broken, too. We have two App Engine apps: one is the front end and one the back end, with a REST API. When the user accesses the front end a call to the back end is made where redirect = userService.createLoginURL(gae front end); is called. In this case both apps have appspot.com urls and it worked well. We are dead in the water now. Please help! Thanks, Glenn On Mar 2, 12:31 pm, Jon McAlister jon...@google.com wrote: Looks like you pushed a good workaround already, but yes that was a result of a new login system yesterday, and looks like it is not handling this case like the prior system did. Specifically, calling createLoginUrl where the continue url is not the same as the url the app is hosted on. And, furthermore, the continue url is not an app engine url at all. For now, what you did was a good workaround. That is, use an app engine url as the continue url, and then have the app engine app redirect to the non-app-engine url. Need to think on this case some more. On Wed, Mar 2, 2011 at 7:53 AM, Joerg Weingarten jbwinvest...@gmail.com wrote: Since this morning my call to userservice.createLoginUrl produces a url that doesn't work anymore. When selecting my Sign in link, which has a url like: https://www.google.com/accounts/ServiceLogin?service=ahpassive=true;... I get the error: The requested URL /_ah/conflogin was not found on this server. Somebody please help. Thx ---Joerg--- -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine-java?hl=en. -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Could Not Verify SSL Certificate
Still experiencing the same problem with 1.4.2 On Feb 28, 1:35 pm, Rafael Nunes rafael.nu...@gmail.com wrote: Same problem here. Any news? On Feb 19, 12:05 am, mushion22 goodham...@gmail.com wrote: I have the same issue using 1.4.2 on OS X 10.6. The app works fine when deployed to production, but has theseSSLcertificateerrors in the development server. Seems to affect more than just the Google APIs, am having the same issue with RestFB. On Feb 18, 3:55 pm, Tod Jiang t...@cherrymind.com wrote: Yes, I got the similar issue, and it's ok in SDK1.4.0 latest spreadsheet api Caused by: javax.net.ssl.SSLHandshakeException:CouldnotverifySSL certificatefor:https://spreadsheets.google On Feb 17, 7:30 pm, Nurettin Omer Hamzaoglu nomerhamzao...@gmail.com wrote: Hi, After I've update to GAE 1.4.2 I started to receive the following error when retrieving customer license. javax.net.ssl.SSLHandshakeException:CouldnotverifySSLcertificatefor:https://www.googleapis.com/appsmarket/v2sandbox/customerLicense/ Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) App Engine API 1.4.2 Google API Client 1.2.2 alpha With the following versions I'mnotgetting the error, everything works fine. Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) App Engine API 1.4.0 Google API Client 1.2.2 alpha I've also opened threads athttps://groups.google.com/forum/?lnk=raot#!topic/google-apps-marketpl... andhttps://groups.google.com/forum/?lnk=raot#!topic/google-api-java-clie... andhttps://groups.google.com/forum/?lnk=raot#!topic/google-api-java-clie... . 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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: logging with .info() causes 840cpu_ms an WARNING
Tanks, But Why is there only a loading Request with the .Info() logging ( for example None for warn())? On 4 Mrz., 21:18, Simon Knott knott.si...@gmail.com wrote: That is just the warning message which is output by GAE for a loading request for your app. Read about loading requests here:http://code.google.com/appengine/kb/java.html#What_Is_A_Loading_Request -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] how to keep fields unique
I'm struggling with a bug that is closely related to this thread. I think transactions all by themselves will not work here. This is because the transactions are optimistic. So, if the transaction looks like this (pseudo code) pm.currentTransaction.begin(); Object preexistingEntity = pm.query(for secondary key); if(null != preexistingEntity) throw SecondaryKeyException pm.insert(new Entity(secondary key)); pm.currentTransaction.commit(). The issue (I think) is that because transactions are optimistic, it is still possible for a race condition. Two separate processes can create a transaction and attempt to read the preexistingEntity. If they are very close in time (like my case, 32 milliseconds), then they will both return null, since the entity does not yet exist. So, neither process will throw the SecondaryKeyException. The will both go on and create new entitities and insert them. Each of these entities will have different primary keys because the database creates these, but the entity's secondary key (an email address in this case) is not enforced by the database, so there is no error on either commit. Thus, I end up with two entities with a duplicate value for a field that I want to be unique. I my case, this happened when the user double-clicked an activation link; The server received two requests within 50 milliseconds of each other and both transactions completed without error. I want to use a human readable, unique field for my users names. I need the database generated unique id to create relationships with other entities that survive even if the human readable field is changed. For instance, if a user changes their email address, I don't want to have to go around to all the possible related entities and fixup references to it. So, I use the primary Key for this. But I still want the email address to be unique in the database. Anyone from Google know how to make this happen? HELP -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] how to keep fields unique
OK, here is something that looks promising; http://squeeville.com/2009/01/30/add-a-unique-constraint-to-google-app-engine/ This shows a solution in python, but the concept is applicable to Java. Basically, for the unique field, you create another database entity and derive a primary Key based on the unique field. Since the database ensures uniqueness of a primary key, this means that we can atomically create and check the existence of this entity. So my pseudocode might look like; pm.currentTransaction.begin(); Object preexistingKey = pm.insert(new SecondaryKeyEntity(secondary key)); pm.currentTransaction.commit(); // // if we get here, then the previous transaction completed and // no other process will be able to get to this section of the code // using the same secondary key // pm.currentTransaction.begin(); pm.insert(new Entity(secondary key)); pm.currentTransaction.commit(). Of course, you need to do something similar when you change the secondary key (for instance, if someone wants to update their email address). Again, just attempt to create an 'SecondaryKeyEntity' with the new email address. If that successes, then you can change the email address in the primary entity. Remember to delete the old SecondaryKeyEntity after!! I'll work on this over the weekend and post some code if I figure it out. In the mean time, if anyone has already done this, please let us know. 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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[google-appengine] Re: Cant Update Indexes or Access Indexes in Datastore Admin
Never mind. I'm in now. On Mar 3, 11:20 pm, Aaron aaron.t.che...@gmail.com wrote: Hi, For the past two days, I haven't been able to upload my index definitions when I deploy. I receive a message saying: Your app was updated, but there was an error updating your indexes. Please retry later with appcfg.py update_indexes. When I try to update_indexes I get a 500 error. In addition, when I log into my admin console, I get a server error when trying to view my Datastore Indexes. Any help in this matter would be greatly appreciated. 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-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: How to fetch the parent and child data in one to many relation based on child properties
What is the problem of traversing the Leave objects, harvest all the unique parent keys and retrieve them in a second query. In Python: leaves = someQuery.fetch(1000) parentKeys=set( [ k.key() for k in leaves ] ) parents = db.get(list(parentKeys)) 2011/3/3 andy andy.anand1...@gmail.com: I have Employee and Leave Transactions Details entities in one to many relation when i execute a query against Employee(parent) i am getting the result of employee and its responding leave transaction but if i need the information based on child properties (like 'Status' if Status is Applied ) then only retrieve the specific properties (rather than all details) of employee and leave transaction details. what you have suggested is right but using that i only get the child information but i want to include the parent also. one more can include more than one entity in query, like joining two tables/entity -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] google-app-engine-django troubles with fixtures
I'm using google-app-engine-django, Django 1.2, dev_appengine 1.4.2. Data I was add to the datastore via manage.py shell When I try python manage.py dumpdata myapp fixture.json I get a file with empty square brackets. I created file manually [ { model:myapp.news, pk:25, fields:{ title:Title News Check One, body:Body News Check One } } ] After python manage.py loaddata myapp/fixtures/fixture.json I've got DeserializationError: Invalid model identifier: 'myapp.news' Next my attempt is fixtures = ['djengine.json'] in a TestCase instance. And data didn't load again. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Please reset my index
http://code.google.com/p/googleappengine/issues/entry?template=Production%20issue 2011/3/4 Thomas Wiradikusuma wiradikus...@gmail.com Hi App Engine team, Can you please reset index for my app lelanggokil-hr? Thanks in advance :) -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- gr, Wim den Ouden Custom Google App Engine http://code.google.com/intl/nl/appengine/ based webapps https://neighborshare.appspot.com/. Free open source neighborshare framework http://code.google.com/p/relat/. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Huge cold start times, up to 75 seconds!
I've experienced this today as well: 2011-03-04 00:20:13.826 /daySummary/get 200 33245ms 6798cpu_ms 12api_cpu_ms -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Who do I ask to have a non-billable quota raised?
For this kind of testing I think you're going to have to stump up the cash - I can't see why Google should give you additional free resources so that you don't look stupid in front of a client :) -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Huge cold start times, up to 75 seconds!
this is happening to me too. Today seems to be more responsive than yesterday (6-12 secs) On Fri, Mar 4, 2011 at 10:38 AM, Simon Knott knott.si...@gmail.com wrote: I've experienced this today as well: 2011-03-04 00:20:13.826 /daySummary/get 200 33245ms 6798cpu_ms 12api_cpu_ms -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Mauro Sebastián Asprea E-Mail: mauroasp...@gmail.com Mobile: +34 654297582 Skype: mauro.asprea http://www.wishandbam.com/ Algunos hombres ven las cosas como son y se preguntan porque. Otros sueñan cosas que nunca fueron y se preguntan por qué no?. George Bernard Shaw -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Channel API encoding problem
When using the Channel API and sending messages with Croatian letters (e.g. message šđžčćŠĐŽČĆ) the message received on the client gets mangled. The message I receive on the client looks like this: message ??. Has anyone had a similar issue. Is there a way to configure the Channel API so I get the proper message on the client side? Thanks for your help. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Attempting to guarantee a write
On Fri, Mar 4, 2011 at 12:26 AM, Richard Arrano rickarr...@gmail.com wrote: I had an idea that it might be able to be implemented in the form of something along the lines of 1MB unevictable memcache storage; You could do this with a persistent server: https://groups.google.com/forum/#!topic/google-appengine/Gukw_nOHT90 -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Trouble using appspot with google docs
Thanks, that was the issue. Apparently the docs which say that registration is Optional, are out of date. On Mar 3, 2011, at 6:26 PM, Robert Kluin wrote: It is probably talking about: http://code.google.com/apis/accounts/docs/RegistrationForWebAppsAuto.html I just checked one of my (registered) apps from appspot.com, I did not seem to have any issues. Robert On Thu, Mar 3, 2011 at 17:01, Joshua Smith joshuaesm...@charter.net wrote: My town library is using a google docs survey to capture book request forms. These get dropped into a spreadsheet. The person who handles these requests was intimidated by the spreadsheet, so I whipped up a little web interface to show her the data in a form that looks like the paper they used to use. This worked fine for a couple weeks, but we're suddenly getting this message: The page you have requested cannot be displayed. Another site was requesting access to your Google Account, but sent a malformed request. Please contact the site that you were trying to use when you received this message to inform them of the error. A detailed error message follows: The site http://appspot.com; has not been registered. When I connect from the local SDK, I get: The site localhost is requesting access to your Google Account for the product(s) listed below. writely20x20.gifGoogle Docs If you grant access, you can revoke access at any time under 'My Account'. localhost will not have access to your password or any other personal information from your Google Account. Learn more warning.gif This website is registered with Google to make authorization requests, but has not been configured to send requests securely. We recommend that you continue the process only if you trust the following destination: http://localhost:8906/token Did google change something on purpose? If so, what is the fix? Do I need to move this little utility into a domain? Any idea what it means to be registered? (I know that's a Google Docs API question more than an appengine question.) -Joshua -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Question about download_app admin access to application
First of all, thanks for AppEngine! I notice that appcfg.py download_app limits the download to the developer that uploads it. Would it be possible to allow the owner of the application to also download the application. That would be very helpful to allow the owner to help the developer. I know that it may be better to use true source control, but appcfg.py download_app is better for very simple cases Thanks, Ralph -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Attempting to guarantee a write
Richard wrote: Something that occurred to me that might help you was I was actually considering de-isolating the datastore as a single point of failure by additionally sending out those really high importance writes via XMPP to some other server. Absolutely agree. Amazon Web Services is perfect. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: HR Vs. Master-Slave Comparison. Is it worth extra cost?
Hi Ikai, Don't usually comment on threads going in this direction. But noted that you seem on edge a bit. First wanted to say how important your contributions are. I'm sure it is hard to be in meetings and then try to provide insights to the forum in a manner that keeps Legal happy. Myself, I am very encouraged by HR -- MS did not seem to be panning out. Cheeers, stevep -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
RE: [google-appengine] Re: Who do I ask to have a non-billable quota raised?
There are quotas other than the ones you pay for. Yes we are already running on the pay version, and have set daily budgets at 20x what the best day has been so far. For other clients we used to hit non-billable quotas from time to time, when it looked like a DOS rather than the client appeared on a talk show. From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Simon Knott Sent: Friday, March 04, 2011 1:41 AM To: google-appengine@googlegroups.com Subject: [google-appengine] Re: Who do I ask to have a non-billable quota raised? For this kind of testing I think you're going to have to stump up the cash - I can't see why Google should give you additional free resources so that you don't look stupid in front of a client :) -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: HR Vs. Master-Slave Comparison. Is it worth extra cost?
+1 2011/3/4 stevep prosse...@gmail.com Hi Ikai, Don't usually comment on threads going in this direction. But noted that you seem on edge a bit. First wanted to say how important your contributions are. I'm sure it is hard to be in meetings and then try to provide insights to the forum in a manner that keeps Legal happy. Myself, I am very encouraged by HR -- MS did not seem to be panning out. Cheeers, stevep -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- gr, Wim den Ouden Custom Google App Engine http://code.google.com/intl/nl/appengine/ based webapps https://neighborshare.appspot.com/. Free open source neighborshare framework http://code.google.com/p/relat/. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Who do I ask to have a non-billable quota raised?
500QPS is 43,200,000 requests / day (which is the default quota); to get that lifted Googlers usually ask that you submit a billing support issue explaining your need for the increase. Don't forget to mention any other quotas you're close to hitting ;) Robert On Fri, Mar 4, 2011 at 04:40, Simon Knott knott.si...@gmail.com wrote: For this kind of testing I think you're going to have to stump up the cash - I can't see why Google should give you additional free resources so that you don't look stupid in front of a client :) -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
RE: [google-appengine] Re: Who do I ask to have a non-billable quota raised?
Client has a lousy web designer (from an html perspective), so we may get there... each page has 102-106 objects so 500k visitors (not improbable) would get us there. You'd think they'd put a contact billing support button in the Dashboard somewhere :-) -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Robert Kluin Sent: Friday, March 04, 2011 8:23 AM To: google-appengine@googlegroups.com Subject: Re: [google-appengine] Re: Who do I ask to have a non-billable quota raised? 500QPS is 43,200,000 requests / day (which is the default quota); to get that lifted Googlers usually ask that you submit a billing support issue explaining your need for the increase. Don't forget to mention any other quotas you're close to hitting ;) Robert On Fri, Mar 4, 2011 at 04:40, Simon Knott knott.si...@gmail.com wrote: For this kind of testing I think you're going to have to stump up the cash - I can't see why Google should give you additional free resources so that you don't look stupid in front of a client :) -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Channel API encoding problem
Is the message correctly encoded? On Fri, Mar 4, 2011 at 08:33, dilbert dilbert.elbo...@gmail.com wrote: When using the Channel API and sending messages with Croatian letters (e.g. message šđžčćŠĐŽČĆ) the message received on the client gets mangled. The message I receive on the client looks like this: message ??. Has anyone had a similar issue. Is there a way to configure the Channel API so I get the proper message on the client side? Thanks for your help. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Google Checkout
Guys what about this stuff - Google Checkout? I hope soon I will have paid service.. And users of mine suppose to pay for staff.. If I create registration or authentication based on Google Account will this user have possibility to pay use Google Checkout API or stuff like this? Or PayPal ? I do not know.. :( Please advice about this problem. How can I organize payments from users to me ? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Question about download_app admin access to application
Use source control. Being able to download code is *not* a substitute for source control, you can get a private repository on bitbucket or github for free. If your developers aren't using source control, train them or get more experienced / better developers. Here is a lengthly thread discussing the topic: http://groups.google.com/group/google-appengine/browse_thread/thread/f79670c37defc6ec/9a51496c7841a0e7?lnk=gstq=download+code#9a51496c7841a0e7 There have been many discussions about this on the lists: http://groups.google.com/group/google-appengine/search?group=google-appengineq=download+codeqt_g=Search+this+group Robert On Fri, Mar 4, 2011 at 10:27, fedex1 fed...@gmail.com wrote: First of all, thanks for AppEngine! I notice that appcfg.py download_app limits the download to the developer that uploads it. Would it be possible to allow the owner of the application to also download the application. That would be very helpful to allow the owner to help the developer. I know that it may be better to use true source control, but appcfg.py download_app is better for very simple cases Thanks, Ralph -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Channel API encoding problem
Not really sure what you mean. I use the following to send the message: https://groups.google.com/forum/?show_docid=074d568de0a59f7a#%21topic/google-appengine/3u2eW0xgLpU ChannelServiceFactory.getChannelService().sendMessage(new ChannelMessage(key, message šđžčćŠĐŽČĆ)); Thanks for the help. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] app engine service not going away
I added a google app engine hosted app to this domain. now after that i m trying to disable it and it doesnt happen. tried multiple times and also waited for hours to happen. please advise -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: can we assume time is sync across all servers?
I haven't experienced time-sync issues. I just know that it would be a problem if I did, so I developed a contingency hack. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Multiple inequality filters on multiple properties
I need to do queries with more than 1 inequality filter. Adding new fields to then make an equality filter, for example, quarters or price ranges is the best approach? And after the query filter the results by code? It doesn't looks very nice. It looks a little dirty to me. How do you handle situations like this? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Google Checkout
On Mar 4, 11:52 am, anton savchuk anton.antoh...@gmail.com wrote: Guys what about this stuff - Google Checkout? I hope soon I will have paid service.. And users of mine suppose to pay for staff.. If I create registration or authentication based on Google Account will this user have possibility to pay use Google Checkout API or stuff like this? Or PayPal ? I do not know.. :( Please advice about this problem. How can I organize payments from users to me ? App Engine doesn't include any integration of either Checkout or Paypal; how you authenticate your users to your app doesn't matter at all in how you get them to pay, since you'll need to use third-party libraries to handle the payment processing anyway. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Multiple apps billing in quick succession and being declined by our bank.
We have three apps and it seems that they generate a charge to our credit card of the same amount each in quick succession. Our bank interprets this as an error and declines the second and third charges. We got this email for the second and third charges: Your Google Order # X withGoogle Services is currently on hold. An attempt to charge your MASTERCARD xxx- for USD2.10 on 27 Feb failed. This may have occurred because of insufficient funds, or as a precautionary measure against fraud. You may see authorisations on your billing statement for a declined charge. Occasionally, the authorisation for a charge may be approved, but the actual charge for the order declined. Contact the customer service department for MASTERCARD xxx- for help with resolving this payment issue. (I've added some XXXs). I can't see a way to retry these charges, any suggestions on how to overcome this issue? It would be nice if Google checkout could bundle up multiple close transactions into a single charge (I know Apple does this). Best wishes, Peter -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] 最佳搜尋方式
如何利用GAE資料庫(Big Table)做模糊搜尋,減少CPU Time的浪費? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: chrome to device question
Anyone? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] app engine service not going away
My experience is your app is likely disabled. To get it to go out of your Google Apps Dashboard you will need to delete the GAE application and wait for the three days for it to be actually deleted. On Fri, Mar 4, 2011 at 10:20 AM, Vivek Kumar v...@sakshum.org wrote: I added a google app engine hosted app to this domain. now after that i m trying to disable it and it doesnt happen. tried multiple times and also waited for hours to happen. please advise -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Question about download_app admin access to application
I use assemble.com and Mecurial. I use assembla because my source is not open source and therefore the free solutions will not work for me. Source control is the only way to go even if there is only one developer. The advantages are many! On Fri, Mar 4, 2011 at 9:52 AM, Robert Kluin robert.kl...@gmail.com wrote: Use source control. Being able to download code is *not* a substitute for source control, you can get a private repository on bitbucket or github for free. If your developers aren't using source control, train them or get more experienced / better developers. Here is a lengthly thread discussing the topic: http://groups.google.com/group/google-appengine/browse_thread/thread/f79670c37defc6ec/9a51496c7841a0e7?lnk=gstq=download+code#9a51496c7841a0e7 There have been many discussions about this on the lists: http://groups.google.com/group/google-appengine/search?group=google-appengineq=download+codeqt_g=Search+this+group Robert On Fri, Mar 4, 2011 at 10:27, fedex1 fed...@gmail.com wrote: First of all, thanks for AppEngine! I notice that appcfg.py download_app limits the download to the developer that uploads it. Would it be possible to allow the owner of the application to also download the application. That would be very helpful to allow the owner to help the developer. I know that it may be better to use true source control, but appcfg.py download_app is better for very simple cases Thanks, Ralph -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Runaway Tasks
I have a Task that's purpose is to chew away at data that needs to be deleted. I have millions of records that need to go, so the task uses the low level api and key only queries to grab 1000 delete them and restart the task until the remaining count is zero. The task is set to 5/sec with a bucket size of 5. The other day it skyrocketed my CPU usage and maxed out my 5$ quota (400 CPU seconds / second, i think the lights in New York dimmed). Am i missing some setting here? How do i keep a task queue chugging along at a fixed rate without a burst like that, regardless of how many tasks are in the queue? 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-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] AppSec or Penetration testing?
Do you have any more information about what it is you're going to be doing? I can flag our team and make them aware of it. Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Fri, Mar 4, 2011 at 9:44 AM, Ben bhym...@gmail.com wrote: DOes anyone know if Google has any official policy around performing an Application Security assessment or Penetration Test against my own app on appengine? I can't seem to locate any info in the TOS or the groups/forums. I don't wan't to start sending malicious looking test requests to my app only to have google shut me down because they think it is an actual attack. Any info would be appreciated! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Help making query faster
Thanks Robert, what i ended up doing was limiting the request to 1000 at a time and then making more round trips to build a collection until the result was zero. On Jan 12, 2:18 pm, Robert Kluin robert.kl...@gmail.com wrote: Hi Ben, How many records are you fetching at a time? Perhaps you want to limit the results you present at one time to 20 (or some other reasonable number), then use cursors to facilitate paging? Robert On Tue, Jan 11, 2011 at 13:15, Benjamin bsaut...@gmail.com wrote: Hi Everyone, A little challenge for the day - If I have many millions of an object persisted in the datastore that have an two properties: a long value and a date, and I want to query for a subset of those object that have the same long value, and a date that falls between a start and end date range. This is how i'm doing it: q = pm.newQuery(RecordedValue.class, pointFK== k timestamp = sd timestamp = ed); q.declareImports(import java.util.Date); args = new HashMapString, Object(); args.put(k, point.getId()); args.put(sd, startDate); args.put(ed, endDate); q.declareParameters(String k, Date sd, Date ed); q.setOrdering(timestamp descending); data = (ListRecordedValue) q .executeWithMap(args); My users are experiencing hard deadline exceeded errors when trying to pull this data. I was wondering if there was a better, more magical way to do this query, or can i improve things with a better index definition in my datastore-indexes file. Thanks! Ben -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Google Checkout
I see.. thank you. Could you recommend some third-party libraries? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Huge cold start times, up to 75 seconds!
Robert, when you say 5-10% of the time, do you mean 5-10% of your loading requests or 5-10% of your overall requests? Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Thu, Mar 3, 2011 at 7:47 PM, Robert Kluin robert.kl...@gmail.com wrote: I see occasional issues with this too. Here a a few samples from about 12 hours ago, same URL: My typical loading request: ms=228 cpu_ms=222 api_cpu_ms=82 cpm_usd=0.006245 loading_request=1 I see these maybe 15% of the time: ms=6667 cpu_ms=358 api_cpu_ms=8 cpm_usd=0.010137 loading_request=1 And these maybe 5% to 10%, depending on the day: ms=421495 cpu_ms=380 api_cpu_ms=77 cpm_usd=0.010744 loading_request=1 pending_ms=14 I've also went through a period of a couple weeks where this app was seeing about 95% of the loading requests like the last one. Same code base (last update to it was about 110 days ago). Robert On Thu, Mar 3, 2011 at 21:01, Gary Eberhart happycatmad...@gmail.com wrote: I had the same issues. However, paying the .30 cents per day to keep 3 instances of my app running has made a huge difference. On Thu, Mar 3, 2011 at 5:29 PM, Petey brianpeter...@gmail.com wrote: I'm seeing the same thing in the last couple of days. Requests that normally take under a second are taking longer than 15 seconds. An example from my logs: 2011-03-03 16:25:01.114 GET /friends 200 real=22788ms cpu=52549ms api=260ms overhead=0ms (5 RPCs) And it's only running 3 Gets and 2 Queries. On Mar 3, 9:43 am, Spines kwste...@gmail.com wrote: More info: My cpu_ms for cold starts is consistently between 7 and 9 seconds, yet the actual time it takes to respond fluctuates from 8 to 75 seconds. Log lines: 2011-03-03 09:36:26.620 /?tab=recenteditsajax=true 200 47085ms 8873cpu_ms 30api_cpu_ms 2011-03-03 09:25:38.135 /?tab=popularajax=true 200 39145ms 8640cpu_ms 30api_cpu_ms 2011-03-03 07:38:15.167 /?tab=needshelpajax=true 200 17632ms 8476cpu_ms 30api_cpu_ms 2011-03-03 07:18:03.143 /?tab=newajax=true 200 75680ms 8896cpu_ms 30api_cpu_ms -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Please reset my index
Your indexes are serving. What are you asking for? Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Thu, Mar 3, 2011 at 6:14 PM, Thomas Wiradikusuma wiradikus...@gmail.comwrote: Hi App Engine team, Can you please reset index for my app lelanggokil-hr? Thanks in advance :) -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: HR Vs. Master-Slave Comparison. Is it worth extra cost?
I'd like to highlight that we're not stubborn enough to admit we were right all along, because we weren't. It's unrealistic to think that someone gets something right the first time, and we're no different. High replication is our admission that the problem isn't that we can't get the average error rate down, the problem is that we can bring it down but we can't eliminate datastore latency spikes. As far as eventual consistency goes, our users that are on high replication have not seen any issues. If we weren't always fussing about transparency, we would probably have been able to not even bring it up, and it's unlikely anyone would have noticed - we just figured it'd make more sense to communicate it, though now we are seeing that users are overreacting a bit. Did you know index creation is also asynchronous? That is, when you save a property, it returns before indexes have been created? Technically, this constitutes a consistency issue, but it has no real world impact because it is instantaneous. We documented eventual consistency issues because they are an order of magnitude slower than asynchronous index creation, so in some small cases of write an entity then do a cross entity group query the query results will be off. If you've run any kind of SQL service at scale that replicates to a read-slave, you should be used to this pattern of persistence. We plan on setting High Replication as the default for all new applications. It's not quite removing it, but perhaps we will explore that direction, though we are current hesitant to do so. We also plan on having some guest blog posts ... soon. If we had the manpower, we would work with each and every one of you to migrate over, then help you benchmark. Unfortunately, we can't. We can, however, try to publish as much data as we have as it comes in. I think the most useful data here will be data from third-parties. As far as our tests go, everything seems alright, but I'm pretty sure you'll all have more confidence in the results if they're being written by users whose entire businesses depend on the reliability and performance of App Engine. Spines: Please link me to where the documentation says that master/slave is the best option so we can fix it. To answer your question: yes, High Replication mitigates the impact of datastore spikes, and provides a path for us to pretty much eliminate them altogether. Lastly, I want to apologize if I came off as irate. I'm usually quick to respond emotionally, and the damn undo send button went away too quickly in my gmail. I don't mean to shut down any kind of joking around, but do remember that this group is internationally read. Sarcasm doesn't come off well in email, and it comes off 10x more confusing for non-native English speakers. If there's any chance any of you guys are coming to Pycon in Atlanta next week, Wesley and I will be there. Let's smooth things over with some drinks/food =). Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Thu, Mar 3, 2011 at 6:37 PM, Darien Caldwell darien.caldw...@gmail.comwrote: I'm kind of disappointed with Google's recent attitude change. When master/slave was all there was, it was deemed 'production worthy'. Now suddenly it's If you are running a production service, you should not use Master/Slave datastore. Ever. Given that the HR datastore has some pretty big problems from a user perspective (costs 3 times more, only supports Eventual consistency), it's not really feasable to use for production code in *every* instance. So I'm very disappointed to hear these kinds of comments coming from Google. You shouldn't make something, then complain when people use it. If you don't want people using Master/Slave, maybe you should remove it. To berate customers for preferring an option you *provide* is just mind blowing. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: can we assume time is sync across all servers?
I'm trying to think of a solution that doesn't involve fetching data from a third party time service, but I'm drawing a blank. How did you detect the time skew in the first place? Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Thu, Mar 3, 2011 at 4:57 PM, Eric Ka Ka Ng ngk...@gmail.com wrote: Hi Gopal, Calvin, and Ikai, thx all for your sharing. Calvin, your handy script implements Gopal idea could be very useful to many of us ;) Ikai, yes, later we could do more testing and sampling, and with Calvin's script, to log the time (and delta with google time) however, this is not a problem frequently happen and we are currently busying with some other application dev tasks, guess it may take some time to log and analyze this problem, and would keep you posted. just thinking what kinds of 'examples' we could provide? (you want log? data in DS? script to produce the log / data? ) btw, how could we explain Brett's data pipelines' talk at 35:50 or i interpret wrongly? and i believe Gopal, Calvin faced time sync issues and thus have the idea and implementation to solve this (just me recently aware about this problem). how much time is off did you experience? thx a lot! - eric On 4 March 2011 03:12, Ikai Lan (Google) ika...@google.com wrote: Can you provide examples where the time is off by 30 minutes? This seems incorrect. There's definitely clock skew, but we're talking milliseconds, seconds or at worst, worst, worst maybe a minute or two. Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Thu, Mar 3, 2011 at 5:54 AM, Ng Ka Ka Eric ngk...@gmail.com wrote: Hi Raymond, Just watched the video. Thx for pointing this reference. I really didnt expect that the machines are not time synced (can be off for 40mins?!) are there any technical difficulties to sync them? And in this case, for whatever reason if we want to record the time when the request is made into DS, how can we do that? - eric Sent from my iPhone On 2011年3月3日, at 下午6:20, Raymond C. windz...@gmail.com wrote: According to Brett's data pipelines' talk ( http://www.youtube.com/watch?v=zSDC_TU7rtc, around 35:50), its not -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Google Checkout
I just recently completed a Google Checkout integration for my GAE app. The fact that you are on GAE makes no difference except that if you do a level 2 integration you will have to use your app-name.appspot.com URL for the callbacks since Google Checkout requires the callback URL to be secure. All that said, if I had it to do over, I would definitely go with Pay Pal (or someone else). Checkout seems to be an abandoned product within Google. There are long-standing bugs that prevent some users from paying and support (even for merchants) is almost nonexistent. -Chris On Fri, Mar 4, 2011 at 1:01 PM, anton savchuk anton.antoh...@gmail.comwrote: I see.. thank you. Could you recommend some third-party libraries? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Serving old static files when changing default version
That's weird. I sent that message 4 days ago, and it just showed up in the group digest today. I hope the temporal vortex doesn't confuse anyone. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Google Checkout
Oii.. it is good to know. thank you for this helpful information! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Picasa, Youtube API
I am wondering. has App Engine access for users picasa photos or Youtube video.. I mean kind of API? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: can we assume time is sync across all servers?
From the gist: - the difference between the time on AppEngine's proxy servers (as detected in the response headers) and local time on AppEngine's serving machines. local_now = datetime.utcnow() google_time = urlfetch.fetch('http://www.google.com/robots.txt', method=urlfetch.HEAD) google_now = datetime.strptime(google_time.headers['date'], '%a, %d %b %Y %H:%M:%S GMT') swatch_delta = local_now - google_now This works if the proxy servers don't also have greatly varying clock-skew, else the delta can swing in wildly unexpected ways. saidimu On Fri, Mar 4, 2011 at 2:13 PM, Ikai Lan (Google) ika...@google.com wrote: I'm trying to think of a solution that doesn't involve fetching data from a third party time service, but I'm drawing a blank. How did you detect the time skew in the first place? Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Thu, Mar 3, 2011 at 4:57 PM, Eric Ka Ka Ng ngk...@gmail.com wrote: Hi Gopal, Calvin, and Ikai, thx all for your sharing. Calvin, your handy script implements Gopal idea could be very useful to many of us ;) Ikai, yes, later we could do more testing and sampling, and with Calvin's script, to log the time (and delta with google time) however, this is not a problem frequently happen and we are currently busying with some other application dev tasks, guess it may take some time to log and analyze this problem, and would keep you posted. just thinking what kinds of 'examples' we could provide? (you want log? data in DS? script to produce the log / data? ) btw, how could we explain Brett's data pipelines' talk at 35:50 or i interpret wrongly? and i believe Gopal, Calvin faced time sync issues and thus have the idea and implementation to solve this (just me recently aware about this problem). how much time is off did you experience? thx a lot! - eric On 4 March 2011 03:12, Ikai Lan (Google) ika...@google.com wrote: Can you provide examples where the time is off by 30 minutes? This seems incorrect. There's definitely clock skew, but we're talking milliseconds, seconds or at worst, worst, worst maybe a minute or two. Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Thu, Mar 3, 2011 at 5:54 AM, Ng Ka Ka Eric ngk...@gmail.com wrote: Hi Raymond, Just watched the video. Thx for pointing this reference. I really didnt expect that the machines are not time synced (can be off for 40mins?!) are there any technical difficulties to sync them? And in this case, for whatever reason if we want to record the time when the request is made into DS, how can we do that? - eric Sent from my iPhone On 2011年3月3日, at 下午6:20, Raymond C. windz...@gmail.com wrote: According to Brett's data pipelines' talk ( http://www.youtube.com/watch?v=zSDC_TU7rtc, around 35:50), its not -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are
Re: RE: [google-appengine] Re: Who do I ask to have a non-billable quota raised?
Ah sorry Brandon, I misunderstood. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Huge cold start times, up to 75 seconds!
Hey Ikai, My numbers were all for loading requests. Sorry, I should have been more specific. :) Sometimes I also notice requests like the second one in my list (ms=6667) for non-loading requests too. But that is a small single-digit percentage. Robert On Fri, Mar 4, 2011 at 14:08, Ikai Lan (Google) ika...@google.com wrote: Robert, when you say 5-10% of the time, do you mean 5-10% of your loading requests or 5-10% of your overall requests? Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Thu, Mar 3, 2011 at 7:47 PM, Robert Kluin robert.kl...@gmail.com wrote: I see occasional issues with this too. Here a a few samples from about 12 hours ago, same URL: My typical loading request: ms=228 cpu_ms=222 api_cpu_ms=82 cpm_usd=0.006245 loading_request=1 I see these maybe 15% of the time: ms=6667 cpu_ms=358 api_cpu_ms=8 cpm_usd=0.010137 loading_request=1 And these maybe 5% to 10%, depending on the day: ms=421495 cpu_ms=380 api_cpu_ms=77 cpm_usd=0.010744 loading_request=1 pending_ms=14 I've also went through a period of a couple weeks where this app was seeing about 95% of the loading requests like the last one. Same code base (last update to it was about 110 days ago). Robert On Thu, Mar 3, 2011 at 21:01, Gary Eberhart happycatmad...@gmail.com wrote: I had the same issues. However, paying the .30 cents per day to keep 3 instances of my app running has made a huge difference. On Thu, Mar 3, 2011 at 5:29 PM, Petey brianpeter...@gmail.com wrote: I'm seeing the same thing in the last couple of days. Requests that normally take under a second are taking longer than 15 seconds. An example from my logs: 2011-03-03 16:25:01.114 GET /friends 200 real=22788ms cpu=52549ms api=260ms overhead=0ms (5 RPCs) And it's only running 3 Gets and 2 Queries. On Mar 3, 9:43 am, Spines kwste...@gmail.com wrote: More info: My cpu_ms for cold starts is consistently between 7 and 9 seconds, yet the actual time it takes to respond fluctuates from 8 to 75 seconds. Log lines: 2011-03-03 09:36:26.620 /?tab=recenteditsajax=true 200 47085ms 8873cpu_ms 30api_cpu_ms 2011-03-03 09:25:38.135 /?tab=popularajax=true 200 39145ms 8640cpu_ms 30api_cpu_ms 2011-03-03 07:38:15.167 /?tab=needshelpajax=true 200 17632ms 8476cpu_ms 30api_cpu_ms 2011-03-03 07:18:03.143 /?tab=newajax=true 200 75680ms 8896cpu_ms 30api_cpu_ms -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Question about download_app admin access to application
Gary, you might want to switch providers: ASSEMBLE.COM is for sale. Bitbucket offers private repositories on free accounts too. Robert On Fri, Mar 4, 2011 at 13:31, Gary Eberhart happycatmad...@gmail.com wrote: I use assemble.com and Mecurial. I use assembla because my source is not open source and therefore the free solutions will not work for me. Source control is the only way to go even if there is only one developer. The advantages are many! On Fri, Mar 4, 2011 at 9:52 AM, Robert Kluin robert.kl...@gmail.com wrote: Use source control. Being able to download code is *not* a substitute for source control, you can get a private repository on bitbucket or github for free. If your developers aren't using source control, train them or get more experienced / better developers. Here is a lengthly thread discussing the topic: http://groups.google.com/group/google-appengine/browse_thread/thread/f79670c37defc6ec/9a51496c7841a0e7?lnk=gstq=download+code#9a51496c7841a0e7 There have been many discussions about this on the lists: http://groups.google.com/group/google-appengine/search?group=google-appengineq=download+codeqt_g=Search+this+group Robert On Fri, Mar 4, 2011 at 10:27, fedex1 fed...@gmail.com wrote: First of all, thanks for AppEngine! I notice that appcfg.py download_app limits the download to the developer that uploads it. Would it be possible to allow the owner of the application to also download the application. That would be very helpful to allow the owner to help the developer. I know that it may be better to use true source control, but appcfg.py download_app is better for very simple cases Thanks, Ralph -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Question about download_app admin access to application
Thanks for the info! On Fri, Mar 4, 2011 at 12:52 PM, Robert Kluin robert.kl...@gmail.comwrote: Gary, you might want to switch providers: ASSEMBLE.COM is for sale. Bitbucket offers private repositories on free accounts too. Robert On Fri, Mar 4, 2011 at 13:31, Gary Eberhart happycatmad...@gmail.com wrote: I use assemble.com and Mecurial. I use assembla because my source is not open source and therefore the free solutions will not work for me. Source control is the only way to go even if there is only one developer. The advantages are many! On Fri, Mar 4, 2011 at 9:52 AM, Robert Kluin robert.kl...@gmail.com wrote: Use source control. Being able to download code is *not* a substitute for source control, you can get a private repository on bitbucket or github for free. If your developers aren't using source control, train them or get more experienced / better developers. Here is a lengthly thread discussing the topic: http://groups.google.com/group/google-appengine/browse_thread/thread/f79670c37defc6ec/9a51496c7841a0e7?lnk=gstq=download+code#9a51496c7841a0e7 There have been many discussions about this on the lists: http://groups.google.com/group/google-appengine/search?group=google-appengineq=download+codeqt_g=Search+this+group Robert On Fri, Mar 4, 2011 at 10:27, fedex1 fed...@gmail.com wrote: First of all, thanks for AppEngine! I notice that appcfg.py download_app limits the download to the developer that uploads it. Would it be possible to allow the owner of the application to also download the application. That would be very helpful to allow the owner to help the developer. I know that it may be better to use true source control, but appcfg.py download_app is better for very simple cases Thanks, Ralph -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Question about download_app admin access to application
Sorry. That would be assembla.com. I wish I could type as fast as I think I can. On Fri, Mar 4, 2011 at 1:00 PM, Gary Eberhart happycatmad...@gmail.comwrote: Thanks for the info! On Fri, Mar 4, 2011 at 12:52 PM, Robert Kluin robert.kl...@gmail.comwrote: Gary, you might want to switch providers: ASSEMBLE.COM is for sale. Bitbucket offers private repositories on free accounts too. Robert On Fri, Mar 4, 2011 at 13:31, Gary Eberhart happycatmad...@gmail.com wrote: I use assemble.com and Mecurial. I use assembla because my source is not open source and therefore the free solutions will not work for me. Source control is the only way to go even if there is only one developer. The advantages are many! On Fri, Mar 4, 2011 at 9:52 AM, Robert Kluin robert.kl...@gmail.com wrote: Use source control. Being able to download code is *not* a substitute for source control, you can get a private repository on bitbucket or github for free. If your developers aren't using source control, train them or get more experienced / better developers. Here is a lengthly thread discussing the topic: http://groups.google.com/group/google-appengine/browse_thread/thread/f79670c37defc6ec/9a51496c7841a0e7?lnk=gstq=download+code#9a51496c7841a0e7 There have been many discussions about this on the lists: http://groups.google.com/group/google-appengine/search?group=google-appengineq=download+codeqt_g=Search+this+group Robert On Fri, Mar 4, 2011 at 10:27, fedex1 fed...@gmail.com wrote: First of all, thanks for AppEngine! I notice that appcfg.py download_app limits the download to the developer that uploads it. Would it be possible to allow the owner of the application to also download the application. That would be very helpful to allow the owner to help the developer. I know that it may be better to use true source control, but appcfg.py download_app is better for very simple cases Thanks, Ralph -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com . To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Picasa, Youtube API
I don't know about picasa and youtube. However, I really like the performance and usability of the Blobstore http://code.google.com/appengine/docs/java/blobstore/overview.htmland the ImageServiceFactory. On Fri, Mar 4, 2011 at 12:42 PM, anton savchuk anton.antoh...@gmail.comwrote: I am wondering. has App Engine access for users picasa photos or Youtube video.. I mean kind of API? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Picasa, Youtube API
App Engine doesn't have any special APIs for access to other Google services, but any existing REST API should be usable on App Engine. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: can we assume time is sync across all servers?
Yeah, I can't find the thread where this was originally discussed, but the hack does make the assumption that Google is more careful about keeping the servers that serve 'www' requests in sync than they are about keeping the App Engine cluster in sync. The best use of this would be to point it at a server that is under your control, and is always served by a single machine. It should only query for time delta once when each App Engine instance is started up, so it shouldn't put that server under heavy load. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Picasa, Youtube API
Thank you guys for help! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: HR Vs. Master-Slave Comparison. Is it worth extra cost?
+1 On Fri, Mar 4, 2011 at 1:48 PM, Jeff Schwartz jefftschwa...@gmail.comwrote: I can't remember who said it but it went something like, The greatest failure is to not see the opportunities that come from failing! Oh, wait, I said it he he he. Ikai, you and all the other Googlers have nothing to feel defensive about. HR is obviously the chosen path and to ignore that is, well, foolish. Perhaps we don't say it often enough and you guys and gals (Googlers) don't get to hear it often enough and maybe we should say it more often but we are grateful for all the great technologies that you are enabling and allowing us to participate in and personally I just want to say thank you and tell you all how grateful I am. Jeff On Fri, Mar 4, 2011 at 2:06 PM, Ikai Lan (Google) ika...@google.comwrote: I'd like to highlight that we're not stubborn enough to admit we were right all along, because we weren't. It's unrealistic to think that someone gets something right the first time, and we're no different. High replication is our admission that the problem isn't that we can't get the average error rate down, the problem is that we can bring it down but we can't eliminate datastore latency spikes. As far as eventual consistency goes, our users that are on high replication have not seen any issues. If we weren't always fussing about transparency, we would probably have been able to not even bring it up, and it's unlikely anyone would have noticed - we just figured it'd make more sense to communicate it, though now we are seeing that users are overreacting a bit. Did you know index creation is also asynchronous? That is, when you save a property, it returns before indexes have been created? Technically, this constitutes a consistency issue, but it has no real world impact because it is instantaneous. We documented eventual consistency issues because they are an order of magnitude slower than asynchronous index creation, so in some small cases of write an entity then do a cross entity group query the query results will be off. If you've run any kind of SQL service at scale that replicates to a read-slave, you should be used to this pattern of persistence. We plan on setting High Replication as the default for all new applications. It's not quite removing it, but perhaps we will explore that direction, though we are current hesitant to do so. We also plan on having some guest blog posts ... soon. If we had the manpower, we would work with each and every one of you to migrate over, then help you benchmark. Unfortunately, we can't. We can, however, try to publish as much data as we have as it comes in. I think the most useful data here will be data from third-parties. As far as our tests go, everything seems alright, but I'm pretty sure you'll all have more confidence in the results if they're being written by users whose entire businesses depend on the reliability and performance of App Engine. Spines: Please link me to where the documentation says that master/slave is the best option so we can fix it. To answer your question: yes, High Replication mitigates the impact of datastore spikes, and provides a path for us to pretty much eliminate them altogether. Lastly, I want to apologize if I came off as irate. I'm usually quick to respond emotionally, and the damn undo send button went away too quickly in my gmail. I don't mean to shut down any kind of joking around, but do remember that this group is internationally read. Sarcasm doesn't come off well in email, and it comes off 10x more confusing for non-native English speakers. If there's any chance any of you guys are coming to Pycon in Atlanta next week, Wesley and I will be there. Let's smooth things over with some drinks/food =). Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Thu, Mar 3, 2011 at 6:37 PM, Darien Caldwell darien.caldw...@gmail.com wrote: I'm kind of disappointed with Google's recent attitude change. When master/slave was all there was, it was deemed 'production worthy'. Now suddenly it's If you are running a production service, you should not use Master/Slave datastore. Ever. Given that the HR datastore has some pretty big problems from a user perspective (costs 3 times more, only supports Eventual consistency), it's not really feasable to use for production code in *every* instance. So I'm very disappointed to hear these kinds of comments coming from Google. You shouldn't make something, then complain when people use it. If you don't want people using Master/Slave, maybe you should remove it. To berate customers for preferring an option you *provide* is just mind blowing. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to
[google-appengine] Re: HR Vs. Master-Slave Comparison. Is it worth extra cost?
On Mar 4, 3:57 pm, Philippe Beaudoin philippe.beaud...@gmail.com wrote: Forums posts could really use a thumb up feature to give a voice to the great silent minority. Switch back to the old google groups interface, and you can give them 5 stars. Which no one will see when they get rid of the old interface. :) -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: HR Vs. Master-Slave Comparison. Is it worth extra cost?
First of all, I just wanted to echo Jeff Schwartz's comment. Ikai, I think your response was very well thought out, for a thread which was close to going off-course. You nipped it right in the bud, while being clear about the reasons for careful dialogue. I appreciate that. I've been following different threads and notes and documentation on HR Datastore. From these, I had also come to the conclusion that the eventual consistency issue was minimal because - The write blocks while a replication to all the other sites is done in parallel - However, other requests that go to the sites might see the old or new data. - However, the stale data only exists until the write returns. - The edge case is if there is a network disconnect with one of the other sites during the replication. Then it may have to catch up later. If this is correct, then in the general scenario, all the sites are consistent when a write returns. Ikai, can you please confirm if this is more or less how it works. If so, then it may help alleviate people's concerns with the HR Datastore. Personally, my only concern with HR Datastore is that it is much more expensive than the MS, and also significantly more expensive than Amazon SimpleDB which promises the same features (HA, replication to multiple sites, etc) but at $0.25 per GB (while app engine charges $0.45 per GB for now). I understand that's a preliminary price till June/July when Google figures out what to charge, but I (and I reckon some other developers) would be more eager to jump on the HR Datastore option if the price difference wasn't so much. P.S. GAE was always cheaper than AWS and provided a richer development environment which made the decision easier for some of us. Just a thought. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Move To High Replication / No Response from Billing Tickets
Yes, I said I didn't get a reply, but It was a Gmail problem, now I see my reply, arriving 2 days late because of problems On Mar 4, 5:48 am, Raymond C. windz...@gmail.com wrote: I think you cannot request for a switch (at least for now), but you can request to create an alias for an existing application (released) to a new application which has been set to use HR. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Google Checkout
Paypal is t extreme, www.x.com is a simplified version of Paypal (an attempt to make it more developer friendly) but it is still too extreme. There are 10-15 possible services with 90 page documents each, no use case examples, no screen shots, no simple codes. There are services like Social Gold (they have shut themselves down and joined Google Checkout), SuperRewards, Tapjoy There are payment providers, you can integrate them with 2-3 lines of code. These payment providers exist because Paypal makes it too extreme to implement their service. If you would like other people making %10-20 over you take the simple route. The biggest problem is that, even if you implement Paypal, it will not be simple for users to pay you. That's why I liked Social Gold because it provided direct credit card payment. Quick and clean. Anyway I applied for Google Checkout In-App payments beta, no replies yet. I will check out standard Google Checkout now. What is needed for apps is an In-App payment system that is both simple for users and developers ... (Payments, Subscriptions, they can all be handled with a simple iframe payment / callback information structure) On Mar 4, 9:26 pm, anton savchuk anton.antoh...@gmail.com wrote: Oii.. it is good to know. thank you for this helpful information! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Google Checkout
Yes I agree.. PayPal is extraordinary.. and he has more than one 90 page documents.. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: can we assume time is sync across all servers?
I just discovered a previous invention that's similar to this idea: http://www.adeptus-mechanicus.com/codex/htpdate/htpdate.html They attempt to reduce inaccuracies by averaging multiple sources. I suppose that if you checked three source you could exclude one if it differed wildly from the other two. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Google Checkout
Clark Howard discourages the use of PayPal and I agree. http://www.clarkhoward.com/news/scams-ripoffs/crooks-using-paypal-exploit-online-small-business-/nFhm/ http://www.clarkhoward.com/news/scams-ripoffs/crooks-using-paypal-exploit-online-small-business-/nFhm/ On Fri, Mar 4, 2011 at 2:58 PM, anton savchuk anton.antoh...@gmail.comwrote: Yes I agree.. PayPal is extraordinary.. and he has more than one 90 page documents.. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: HR Vs. Master-Slave Comparison. Is it worth extra cost?
+ 1 to Ikai for making up and been so open. and some thoughts : 1) Before making HR de facto standard, a simple (just press a button and wait - no need foor alias) migration path should be devised for legacy MS appls. 2) Pricing - although new price can be acceptable for frequent used data, it becomes prohibitive for some use cases that need to store large volume of rarely used data for which access latency is not critical. So ... May be the solution could be MS and HR available side by side to all appls, though I am not sure if this is technically feasible. Happy coding;-) On Mar 4, 11:26 pm, Ugorji ugo...@gmail.com wrote: First of all, I just wanted to echo Jeff Schwartz's comment. Ikai, I think your response was very well thought out, for a thread which was close to going off-course. You nipped it right in the bud, while being clear about the reasons for careful dialogue. I appreciate that. I've been following different threads and notes and documentation on HR Datastore. From these, I had also come to the conclusion that the eventual consistency issue was minimal because - The write blocks while a replication to all the other sites is done in parallel - However, other requests that go to the sites might see the old or new data. - However, the stale data only exists until the write returns. - The edge case is if there is a network disconnect with one of the other sites during the replication. Then it may have to catch up later. If this is correct, then in the general scenario, all the sites are consistent when a write returns. Ikai, can you please confirm if this is more or less how it works. If so, then it may help alleviate people's concerns with the HR Datastore. Personally, my only concern with HR Datastore is that it is much more expensive than the MS, and also significantly more expensive than Amazon SimpleDB which promises the same features (HA, replication to multiple sites, etc) but at $0.25 per GB (while app engine charges $0.45 per GB for now). I understand that's a preliminary price till June/July when Google figures out what to charge, but I (and I reckon some other developers) would be more eager to jump on the HR Datastore option if the price difference wasn't so much. P.S. GAE was always cheaper than AWS and provided a richer development environment which made the decision easier for some of us. Just a thought. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Problem using Users API
That's not exactly the issue, or it doesn't matter at least. The matter is the user have to input his mobile number, and he complains a lot about it. They asked me for other ways to register without entering the number, so I have to give them the url posted above. When using the Don't have a Google Account? Create an account now link, in the login page returned by create_login_url() they are required to input the number to be able to have their own account in google. Test it, https://www.google.com/accounts/ServiceLogin?service=ahpassive=truecontinue=https://appengine.google.com/_ah/conflogin%3Fcontinue%3Dhttp://historypoint.appspot.com/ltmpl=gmahname=HistoryPointsig=23fcb9b39841f70c29d88d579e5c134a Press Create an account now, and write some information, when you click next, you are required to input mobile number. Tried right now in my computer. PD: If you don't want to enter information, simply highlight there are a section in the first register page called Get started with Google App Engine, when only registering for a simply google account. On 4 mar, 05:19, Robert Kluin robert.kl...@gmail.com wrote: That is an interesting bug. Are you sure they are getting sent to the google app engine account signup? There is a another bug which you may also want to star:http://code.google.com/p/googleappengine/issues/detail?id=1781 On Thu, Mar 3, 2011 at 16:12, Ernesto Karim Oltra ernestoka...@gmail.com wrote: Hi, Some of the users of my apps didn't have an account with google yet, so when they click the Login link pointing to create_login_url() they are redirected to google login page. There, below the login form there is a link to register if you don't have an account. Most of my clients use that link, and they have reported us google asked for their mobile number, as if they were registering to use app engine as a developer. Is there some way to avoid registering for using app engine when only wanted to acces an app? Only create a new account as in (without asking for mobile number): http://www.google.com/accounts/NewAccount -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Use Bottle Python Framework with Google App Engine
Hey guys, Bottle is an extremely small Python framework (71KB only!), comes with a development server, a templating engine and supports Jinja2 and Mako. You can use it for GAE too. Here's how: http://blog.rutwick.com/use-bottle-python-framework-with-google-app-engine Hope you find it useful! Thanks, Rutwick -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: HR Vs. Master-Slave Comparison. Is it worth extra cost?
On Fri, Mar 4, 2011 at 1:07 PM, Darien Caldwell darien.caldw...@gmail.com wrote: Eventual Consistency is really the #1 reason I'm reluctant to make any change to HR. I sell virtual goods, people pay real money for things that exist in the datastore. If they buy something, and it doesn't show up for minute/hours, I get complaints. Your reply seems to indicate that maybe Eventual Consistency isn't quite that inconsistent, but I haven't seen any data to express just how long things are out of sync, so I have to expect the worst. If you have that kind of reliability requirement, you should be using transactions - which provide consistency guarantees to boot. If you aren't using transactions, eventual consistency is likely far less of a problem than the outright failures that the M/S datastore provides. Jeff -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: HR Vs. Master-Slave Comparison. Is it worth extra cost?
On Mar 4, 12:48 pm, Jeff Schwartz jefftschwa...@gmail.com wrote: HR is obviously the chosen path and to ignore that is, well, foolish. I think this is part of the problem too. Until today, I was never aware there was a path to choose. Master/Slave always there, and worked fine (at least from my perspective). HR was introduced as an alternative, for people with Mission Critical needs. That is how it was introduced, as an alternative, not as a replacement. Then suddenly it's Master slave = bad out of left field. It's understandable people may be shocked/confused. Until today I never understood HR to be the new, better way. But now that I've been awakened to the writing on the wall for Master/ Slave, I guess I'll have to start looking at HR more seriously. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Google Checkout
Hi Jeff: I will soon have to deal with this issue. It would be nice if you can document your lesion learned, especially the best practice in regard to local persistence with Ocjectify. Thanks for your effort and recently released objectify-3.0x Duong BaTien DBGROUPS and BudhNet On Fri, Mar 4, 2011 at 5:44 PM, Jeff Schnitzer j...@infohazard.org wrote: I'm about 80% through with both Google Checkout and Paypal integration for a pure-digital service. I must say, Google Checkout is VERY disappointing - it seems to be an abandoned product. * The Java SDK doesn't even compile. * The binaries don't run on GAE (jaxb issues). * The documentation is not very helpful. Basically you have to do your own XML processing. The fact that the server must submit to a valid HTTPS callback makes testing a pain in the ass - this requirement exists even for the sandbox. I had to proxy through appengine *and* a cloud host ssh tunnel just to get the @#$%! payload to my Eclipse dev system. Overall the whole experience feels janky and utterly fails to inspire trust. Say what you will about Paypal's evil eye and their confusing product line, at least the integration is going fairly smoothly. It feels like 1990s technology but it works. The most helpful advice I can offer: Forget everything else on their stupid overmarketed website and go straight for Web Payments Standard. Tirade over. Jeff On Fri, Mar 4, 2011 at 11:22 AM, Chris Copeland ch...@cope360.com wrote: I just recently completed a Google Checkout integration for my GAE app. The fact that you are on GAE makes no difference except that if you do a level 2 integration you will have to use your app-name.appspot.com URL for the callbacks since Google Checkout requires the callback URL to be secure. All that said, if I had it to do over, I would definitely go with Pay Pal (or someone else). Checkout seems to be an abandoned product within Google. There are long-standing bugs that prevent some users from paying and support (even for merchants) is almost nonexistent. -Chris On Fri, Mar 4, 2011 at 1:01 PM, anton savchuk anton.antoh...@gmail.com wrote: I see.. thank you. Could you recommend some third-party libraries? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Dr. Duong BaTien DBGROUPS BudhNet -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: HR Vs. Master-Slave Comparison. Is it worth extra cost?
Hi Darien, Darien wrote: Eventual Consistency is really the #1 reason I'm reluctant to make any change to HR. I sell virtual goods, people pay real money for things that exist in the datastore. If they buy something, and it doesn't show up for minute/hours, I get complaints. I don't want to waylay this discussion, but I'd *really* like to know how you have you sales process structured. Is a quick overview possible?? Many thanks in advance, stevep -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Channel API encoding problem
I'm afraid I don't know enough about Java and how it handles unicode / characters encodings. Perhaps one of the Java people on the list can offer some ideas. Just an idea, have you tried specifying the characters with unicode code-points (ie U+0042)? Robert On Fri, Mar 4, 2011 at 12:07, dilbert dilbert.elbo...@gmail.com wrote: Not really sure what you mean. I use the following to send the message: ChannelServiceFactory.getChannelService().sendMessage(new ChannelMessage(key, message šđžčćŠĐŽČĆ)); Thanks for the help. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Channel API encoding problem
If you use unicode characters in an hardcoded string, I believe you have to make sure the file is stored in the right format. Right-click the file, then: Properties Resources -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Channel API encoding problem
If you use unicode characters in an hardcoded string, I believe you have to make sure the file is stored in the right format. Right-click the file, then: Properties Resources Text file encoding Other UTF-8 -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Google Checkout
There isn't much to say. Do Paypal first, the documentation is better and it requires fewer contortions. You probably want to go straight to the Web Payments Standard product. Implement both PDT and IPN. Jeff On Fri, Mar 4, 2011 at 5:59 PM, Duong BaTien duong.bat...@gmail.com wrote: Hi Jeff: I will soon have to deal with this issue. It would be nice if you can document your lesion learned, especially the best practice in regard to local persistence with Ocjectify. Thanks for your effort and recently released objectify-3.0x Duong BaTien DBGROUPS and BudhNet On Fri, Mar 4, 2011 at 5:44 PM, Jeff Schnitzer j...@infohazard.org wrote: I'm about 80% through with both Google Checkout and Paypal integration for a pure-digital service. I must say, Google Checkout is VERY disappointing - it seems to be an abandoned product. * The Java SDK doesn't even compile. * The binaries don't run on GAE (jaxb issues). * The documentation is not very helpful. Basically you have to do your own XML processing. The fact that the server must submit to a valid HTTPS callback makes testing a pain in the ass - this requirement exists even for the sandbox. I had to proxy through appengine *and* a cloud host ssh tunnel just to get the @#$%! payload to my Eclipse dev system. Overall the whole experience feels janky and utterly fails to inspire trust. Say what you will about Paypal's evil eye and their confusing product line, at least the integration is going fairly smoothly. It feels like 1990s technology but it works. The most helpful advice I can offer: Forget everything else on their stupid overmarketed website and go straight for Web Payments Standard. Tirade over. Jeff On Fri, Mar 4, 2011 at 11:22 AM, Chris Copeland ch...@cope360.com wrote: I just recently completed a Google Checkout integration for my GAE app. The fact that you are on GAE makes no difference except that if you do a level 2 integration you will have to use your app-name.appspot.com URL for the callbacks since Google Checkout requires the callback URL to be secure. All that said, if I had it to do over, I would definitely go with Pay Pal (or someone else). Checkout seems to be an abandoned product within Google. There are long-standing bugs that prevent some users from paying and support (even for merchants) is almost nonexistent. -Chris On Fri, Mar 4, 2011 at 1:01 PM, anton savchuk anton.antoh...@gmail.com wrote: I see.. thank you. Could you recommend some third-party libraries? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Dr. Duong BaTien DBGROUPS BudhNet -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Multiple inequality filters on multiple properties
You can use one inequality filter per query, so your only other choice is to filter in code somehow. Adding a new field to indicate that an entity is within some range lets you push some of that work to the datastore / indexes. Robert On Fri, Mar 4, 2011 at 12:54, nacho vela.igna...@gmail.com wrote: I need to do queries with more than 1 inequality filter. Adding new fields to then make an equality filter, for example, quarters or price ranges is the best approach? And after the query filter the results by code? It doesn't looks very nice. It looks a little dirty to me. How do you handle situations like this? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Please reset my index
@Wim den Ouden Thanks, I will bookmark this :) @Ikai If you look at my index (appid: lelanggokil-hr), Payment has 2 indices, but the first one (with ancestor) is no longer valid. Initially I made Payment child of Member, now I remove the relationship. But the index is still there. Is this harmless? On Mar 5, 3:11 am, Ikai Lan (Google) ika...@google.com wrote: Your indexes are serving. What are you asking for? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Please reset my index
Thomas, http://code.google.com/appengine/docs/python/tools/uploadinganapp.html#Deleting_Unused_Indexes Remove the index from index.yaml, then appcfg.py vacuum_indexes . Similar docs for java: http://code.google.com/appengine/docs/java/tools/uploadinganapp.html#Deleting_Unused_Indexes Robert On Fri, Mar 4, 2011 at 22:46, Thomas Wiradikusuma wiradikus...@gmail.com wrote: @Wim den Ouden Thanks, I will bookmark this :) @Ikai If you look at my index (appid: lelanggokil-hr), Payment has 2 indices, but the first one (with ancestor) is no longer valid. Initially I made Payment child of Member, now I remove the relationship. But the index is still there. Is this harmless? On Mar 5, 3:11 am, Ikai Lan (Google) ika...@google.com wrote: Your indexes are serving. What are you asking for? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Google Checkout
Yes, more likely PayPal will be decision.. He really does work.. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.