Re: [google-appengine] Re: Server-Sent Events using Channels API
Hi Nick, thanks for the extensive feedback! I'm not much into Javascript and wasn't aware that the EventSource object reconnects on closed connections - that should suffice for prototyping. I'll look into opening a feature request if I settle on using App Engine for my project. On Wed, Jun 3, 2015 at 9:26 PM, Nick (Cloud Platform Support) pay...@google.com wrote: I can't comment on the GAE roadmap or any timeline for feature implementation but I still figured I would gather a lot of information so you know exactly the state of everything. That already helped a lot. Thanks again. Robert -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CABvA2ahUS22xAvFky07hH2Bkt4-%3DmtKauwQ%3D5Fy%2BE%3D-yh%2B%3Dc7A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Server-Sent Events using Channels API
As you can read from the docs https://cloud.google.com/appengine/docs/python/channel/javascript, the Channels API client depends on importing from your app's special route: /_ah/channel/jsapi. This special route redirects to https://talkgadget.google.com/talkgadget/channel.js, where you'll find a very well-obfuscated and minified JS client which allows you to use the magic Channel API methods like onopen, onmessage, onerror, and close. You can use a JS beautifier to see the code, but as you will see it's quite complex. The Channels API mirrors closely the server-sent events standard, as you can see from inspecting the methods available in the W3C doc http://www.w3.org/TR/eventsource/#the-eventsource-interfaceyou linked (onopen, onmessage, onerror), and has a very similar use-case profile, although it isn't compliant with the standard. You could attempt to declare Content-Type: text/event-stream on your own vanilla App Engine handler, and use an EventSource https://developer.mozilla.org/en-US/docs/Web/API/EventSourceobject in the browser to initiate a keep-alive connection. The problem is, App Engine waits for the handler on your app to return fully before flushing the buffer and sending the response data. You can find this documented here https://cloud.google.com/appengine/docs/java/requests#Java_Responses for java, here https://cloud.google.com/appengine/docs/python/requests#Python_Responses for python, here https://cloud.google.com/appengine/docs/php/requests#PHP_Responses for php, and here https://cloud.google.com/appengine/docs/go/requests#Go_Responses for go. What this means in practice is that your stream will not be keep-alive and will close each time one response is sent. Or, if you implement your server-sent event code server-side as most people do, it will buffer up all of its responses and finally send them all only when it terminates. Neither of these cases are all that desirable, since the first breaks the some of the efficiency of server-sent events by requiring the connection to be recreated each time (the polling code which powers EventSource in the browser will still, however, make things appear more or less smooth and as you want; you won't be able to gain much meaningful information from open/close events, however). The second case will break the function of server-sent events entirely. There's already a public issue tracker thread requesting Web Sockets for GAE, and even one person in the thread https://code.google.com/p/googleappengine/issues/detail?id=2535#c45 has mentioned server-sent events, but it doesn't have its own feature request thread yet, and they are quite separate http://stackoverflow.com/a/8800255 technologies. I encourage you to create a feature request to allow server-sent events on App Engine, either as part of the Channels API or otherwise. It seems as though you'd have more success with Compute Engine https://cloud.google.com/compute/ if you want to use server-sent events as they should be, today. I can't comment on the GAE roadmap or any timeline for feature implementation but I still figured I would gather a lot of information so you know exactly the state of everything. I encourage you again to create a public issue tracker thread and get as many users to star it as you can. Hope this helped answer your question, Nick On Tuesday, June 2, 2015 at 1:53:33 AM UTC-4, Robert Stepanek wrote: Is the Channels API planned to support the Server-Sent Events W3C Recommendation (http://www.w3.org/TR/eventsource/)? Given that this standard is pushed by Google it would be great to also use it on App Engine. Or does it work already with the current Channels implementation? Many thanks, Robert -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/be85b8ef-b8ad-44c5-ad5c-844e023317d5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] The API package 'file' or call 'Create()' was not found
https://lh3.googleusercontent.com/-Lq-jCVqa2iE/VW9ytkoXJxI/HeM/DVxsRAvFZp0/s1600/Sans%2Btitre.png https://lh3.googleusercontent.com/-h2C8Bjqj7ug/VW9xTrZNohI/HeE/c3_UOzgmhbs/s1600/Sans%2Btitre.png Le mercredi 3 juin 2015 20:29:06 UTC+2, Ryan (Cloud Platform Support) a écrit : Can you provide a screenshot of where the jars are? As well as an updated screenshot showing your classpath? On Wednesday, June 3, 2015 at 12:03:14 PM UTC-4, Christophe DA COSTA wrote: I don't find the solution I added appengine-testing.jar and appengine-api-stubs.jar but I have the same Error. I see on thegooglecloudstorageclient getstarted https://cloud.google.com/appengine/docs/java/googlecloudstorageclient/getstarted page that I need this lybraries: - appengine-gcs-client.jar - guava-15.0.jar - joda-time-2.3.jar - appengine-testing.jar - appengine-api.jar - appengine-api-stubs.jar So, now I use all this. Le mardi 2 juin 2015 16:06:07 UTC+2, Ryan (Cloud Platform Support) a écrit : Salutations Christophe, If you go to the Migrating from the Files API https://cloud.google.com/appengine/docs/java/googlecloudstorageclient/migrate page you will see that error means you are missing libraries. I would read through the page and see what libraries you are missing. On Tuesday, June 2, 2015 at 6:58:46 AM UTC-4, Christophe DA COSTA wrote: Thanks for yours answers, I am trying to use the Google Cloud Storage but I have this erreur: com.google.api.server.spi.SystemService invokeServiceMethod: exception occurred while calling backed method java.lang.NoClassDefFoundError: com/google/api/client/http/HttpRequestInitializer at com.google.appengine.tools.cloudstorage.oauth.OauthRawGcsServiceFactory.clinit(OauthRawGcsServiceFactory.java:31) at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createRawGcsService(GcsServiceFactory.java:59) at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createGcsService(GcsServiceFactory.java:44) at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createGcsService(GcsServiceFactory.java:40) at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createGcsService(GcsServiceFactory.java:75) at com.listecourses.model.ListeModelEndpoint.insertListeModel(ListeModelEndpoint.java:204) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:45) at com.google.api.server.spi.SystemService.invokeServiceMethod(SystemService.java:359) at com.google.api.server.spi.SystemServiceServlet.execute(SystemServiceServlet.java:113) at com.google.api.server.spi.SystemServiceServlet.doPost(SystemServiceServlet.java:71) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:437) at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:444) at com.google.tracing.CurrentContext.runInContext(CurrentContext.java:230) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:308) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:300) at
[google-appengine] Re: Serve ssl requests on both custom domain and appspot.com
This works fine. Note that they're considered separate domains by the browser, so cookies won't be shared, and you'll need to use relative urls to prevent CORS issues. On Wednesday, June 3, 2015 at 7:18:07 AM UTC+10, Kehinde Ayanniyi wrote: Am planning to develop an app that is free to the end users. The little cost of running the server will be taken care of by me, so cost saving is important in this context. The app requires that users access via SSL/TLS, so I will be using google apps for domain to setup an SSL custom domain. Because of limited budget, using VIP with the SSL certificate is out of the option, so am left with using SNI which I guess is free for the first 5 slots. Ofcourse, the down-side of using SNI SSL is that old platforms like IE on XP and Android 2.X.X will have issues with my app. As a work around to this SNI limitation, I consider to detect and redirect users on old platform where SNI will fail to the https://myapp.appspot.com instead of the default https://myapp.com So I will like to know whether after I set up custom domain with SSL for my GAE app, will I still be able to use https://myapp.appspot.com to access my app and at the same time still have the https://myapp.com working correctly. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/abfe1069-4c60-4a4b-a793-b1cf24dc3a6a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] how can i get images from GAE cropped and resized php ?
Please i downloaded google-api-PHP-client from GitHub from this link ( https://github.com/google/google-api-php-client ) but i want to know how can i get images from my buckets resized or cropped using php code or should i use any other tool ? please provide me with an example to do that Thanks . -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/c3e10d32-b901-48a4-b524-0928ded40371%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: Datastore Admin Issue - Backup - Namespaces
Hello Patrice, I checked this, and i have the same problem as Aswath. I have an application with a lot of namespaces, and the namespace dropdown is only showing the first 250 namespaces. For the round number it seems like there is a limit on the number of namespaces displayed. Thanks. Alejandro. 2015-06-03 9:29 GMT+02:00 Aswath Satrasala aswath.satras...@gmail.com: Hello, My appid: accountingguru-india Namespace: sarahfoodspvtltd-kumarharikant-sarahfoods.com The kinds, I want to backup are in that namespace, but I could have selected other kinds also (in the previous screen), that may not yet be in that namespace. A whole bunch of namespaces are missing in the dropdown selection. The namespaces starting after 'BIS..' are not displayed. Attached is the screen shot, of the namespace dropdown selection -Aswath www.AccountingGuru.net On Tue, Jun 2, 2015 at 7:52 PM, Patrice (Cloud Platform Support) pvoutsi...@google.com wrote: Hi Aswath. We'd need a bit more details to be able to help you here. Are you sure that the namespace you want to backup isn't part of another application's datastore? Are the kinds you are backing up in that namespace? I've tried different combinations, and everything seemed to have worked fine. If you could add print screens, both showing that the kinds are in the requested namespace, and of the page not showing you the namespace, it would be helpful in troubleshooting further Cheers On Tuesday, June 2, 2015 at 8:14:58 AM UTC-4, aswath wrote: Hello, I am trying to do backup of a Namespace, however, I cannot select the namespace. I am doing the following in the appengine console (old) * Click on the Datastore Admin * Select the KINDS * Click on the 'Backup Entities' * In the next screen, I am trying to choose the namespace. However, there are only few namespaces displayed. I cannot select the namespace, I wanted. -Aswath www.AccountingGuru.net. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAKFF5G5wRCY_t4xwSz-P_Fxhv2r6sQ%3DoUTj-8UvGNOuC814rXA%40mail.gmail.com https://groups.google.com/d/msgid/google-appengine/CAKFF5G5wRCY_t4xwSz-P_Fxhv2r6sQ%3DoUTj-8UvGNOuC814rXA%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAM5QdGd1urcx_MtD09Vvbmu1rYfXwUauErZ623-_6Fr7gyJ5_g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: resident instances are not handling requests
The interaction between resident instances and the instance settings are pretty complex. The scheduler tries to keep the resident idle, so what you are seeing is correct. If non-resident instances are busy, the request will be routed to the resident one. This also affects the meaning of the pending latency settings (which are confusing by themselves). The docs mention this in a note: Note: If you set a minimum number of idle instances, the pending latency setting will have less effect on your application's performance. Because App Engine keeps idle instances in reserve, it is unlikely that requests will enter the pending queue except in exceptionally high load spikes. You will need to test your application and expected traffic volume to determine the ideal number of instances to keep in reserve. As for max-idle-instances, I would put that to 1, as Kaan suggested. For us this cut our instance bill in half (!), with no noticeable effect on performance. I have no idea why this is not the default. Then you also have max_concurrent_requests, which also affect performance, at least on Python. I would recommend that you try a low number, like 2. This might seem counterintuitive, but running more requests concurrently can actually increases response time of all of them. This is something you really have to try and see what fits your app best. All things considered, I think the application settings are very complex and it is very easy to shoot yourself in the foot with them and make your app perform badly. This is bad for the user, and as a consequence, for App Engine itself. I rather see one default setting that processes requests as fast as possible, which is the ultimate goal right? On Wednesday, June 3, 2015 at 5:42:54 AM UTC+2, Kaan Soral wrote: In general, my instance charts look similar It's also important to note that, in general, my general instances are my billed instances, so likely there are instances there to serve my requests, yet I don't pay for them, that's nice :) Resident instances are there as he specified min_instances, so it shouldn't be related to modules and backends and stuff like that, he is just using everything as default as far as I understand Miroslav, your charts look regular to me, it might be a good idea to set min and max instances to 1, that way you will only pay for 1 resident instance and the extras will not be billed (they will only be billed if you are actually using them, so this will likely not affect your performance significantly but reduce your costs instead) I think the main issue is mostly confusion and the black box nature of the instance scheduler -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/787b0960-7ad4-4870-b0d8-80be4de53693%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: Datastore Admin Issue - Backup - Namespaces
Hi Alejandro, thank you for letting me know. See that makes a little bit more sense that it simply shows the first X. Not exactly expected behavior, but more logical than what I thought was happening at first. In any case, that seems to be a defect within the admin console. I therefore went ahead and created this issue https://code.google.com/p/googleappengine/issues/detail?id=12019, as the proper place to report defects is the public issue tracker. I would suggest for you two to star the issue so you can get updated when there`s progress. Cheers! On Wednesday, June 3, 2015 at 4:40:05 AM UTC-4, Alejandro Gonzalez wrote: Hello Patrice, I checked this, and i have the same problem as Aswath. I have an application with a lot of namespaces, and the namespace dropdown is only showing the first 250 namespaces. For the round number it seems like there is a limit on the number of namespaces displayed. Thanks. Alejandro. 2015-06-03 9:29 GMT+02:00 Aswath Satrasala aswath.satras...@gmail.com: Hello, My appid: accountingguru-india Namespace: sarahfoodspvtltd-kumarharikant-sarahfoods.com The kinds, I want to backup are in that namespace, but I could have selected other kinds also (in the previous screen), that may not yet be in that namespace. A whole bunch of namespaces are missing in the dropdown selection. The namespaces starting after 'BIS..' are not displayed. Attached is the screen shot, of the namespace dropdown selection -Aswath www.AccountingGuru.net On Tue, Jun 2, 2015 at 7:52 PM, Patrice (Cloud Platform Support) pvoutsi...@google.com wrote: Hi Aswath. We'd need a bit more details to be able to help you here. Are you sure that the namespace you want to backup isn't part of another application's datastore? Are the kinds you are backing up in that namespace? I've tried different combinations, and everything seemed to have worked fine. If you could add print screens, both showing that the kinds are in the requested namespace, and of the page not showing you the namespace, it would be helpful in troubleshooting further Cheers On Tuesday, June 2, 2015 at 8:14:58 AM UTC-4, aswath wrote: Hello, I am trying to do backup of a Namespace, however, I cannot select the namespace. I am doing the following in the appengine console (old) * Click on the Datastore Admin * Select the KINDS * Click on the 'Backup Entities' * In the next screen, I am trying to choose the namespace. However, there are only few namespaces displayed. I cannot select the namespace, I wanted. -Aswath www.AccountingGuru.net. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAKFF5G5wRCY_t4xwSz-P_Fxhv2r6sQ%3DoUTj-8UvGNOuC814rXA%40mail.gmail.com https://groups.google.com/d/msgid/google-appengine/CAKFF5G5wRCY_t4xwSz-P_Fxhv2r6sQ%3DoUTj-8UvGNOuC814rXA%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/afc2581c-4c20-411a-9c24-46457afa5c72%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: resident instances are not handling requests
Kaan, thanks for the clarification, I blanked on that part of resident. Since he mentioned he was moving to modules, I focused only on that. In any case, to explain why your shown instances are greater than your billed, it's because we don't charge for idle, so it's to be expected. But yeah, your explanation and troberti are EXACTLY right. The scheduler is a bit black-boxy, so you need to test it and find what is right for your app. Everything said is definitely on par with the behavior of the scheduler. I would drop max_concurrent_requests a bit, make sure you don't have too many max_idle_instances. All in all, this is very dependent on the nature of your app, your users, and your traffic, so very hard to help you with this, except by suggesting tips like the above ones, and suggesting you to test and explore the different parameters. Cheers On Wednesday, June 3, 2015 at 4:39:18 AM UTC-4, troberti wrote: The interaction between resident instances and the instance settings are pretty complex. The scheduler tries to keep the resident idle, so what you are seeing is correct. If non-resident instances are busy, the request will be routed to the resident one. This also affects the meaning of the pending latency settings (which are confusing by themselves). The docs mention this in a note: Note: If you set a minimum number of idle instances, the pending latency setting will have less effect on your application's performance. Because App Engine keeps idle instances in reserve, it is unlikely that requests will enter the pending queue except in exceptionally high load spikes. You will need to test your application and expected traffic volume to determine the ideal number of instances to keep in reserve. As for max-idle-instances, I would put that to 1, as Kaan suggested. For us this cut our instance bill in half (!), with no noticeable effect on performance. I have no idea why this is not the default. Then you also have max_concurrent_requests, which also affect performance, at least on Python. I would recommend that you try a low number, like 2. This might seem counterintuitive, but running more requests concurrently can actually increases response time of all of them. This is something you really have to try and see what fits your app best. All things considered, I think the application settings are very complex and it is very easy to shoot yourself in the foot with them and make your app perform badly. This is bad for the user, and as a consequence, for App Engine itself. I rather see one default setting that processes requests as fast as possible, which is the ultimate goal right? On Wednesday, June 3, 2015 at 5:42:54 AM UTC+2, Kaan Soral wrote: In general, my instance charts look similar It's also important to note that, in general, my general instances are my billed instances, so likely there are instances there to serve my requests, yet I don't pay for them, that's nice :) Resident instances are there as he specified min_instances, so it shouldn't be related to modules and backends and stuff like that, he is just using everything as default as far as I understand Miroslav, your charts look regular to me, it might be a good idea to set min and max instances to 1, that way you will only pay for 1 resident instance and the extras will not be billed (they will only be billed if you are actually using them, so this will likely not affect your performance significantly but reduce your costs instead) I think the main issue is mostly confusion and the black box nature of the instance scheduler -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/3e9fca8d-0396-4165-a02d-2ce4ba266aa2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: how can i get images from GAE cropped and resized php ?
Salutations Mohamed, I would check out this page on serving an image https://cloud.google.com/appengine/docs/php/googlestorage/images and this page for options https://cloud.google.com/appengine/docs/php/refdocs/classes/google.appengine.api.cloud_storage.CloudStorageTools#method_getImageServingUrl. If you run into issues I would recommend posting on StackOverflow http://stackoverflow.com/questions/tagged/google-app-engine+php. You should post what you have done and what error you receive. I would read this post first on how to ask a good question. http://stackoverflow.com/help/how-to-ask We do monitor GCP tags on StackOverflow. On Wednesday, June 3, 2015 at 6:34:39 AM UTC-4, mohamed hassan wrote: Please i downloaded google-api-PHP-client from GitHub from this link ( https://github.com/google/google-api-php-client ) but i want to know how can i get images from my buckets resized or cropped using php code or should i use any other tool ? please provide me with an example to do that Thanks . -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/0dc24aad-c5c0-44d2-b04f-16402e33b38b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Invited collaborators but they cannot receive invite / see app in appengine.google.com
Salutations Long, I will need to investigate this further to see what is happening. I need you to try a few things: 1) Re-Send the invitation. 2) If they never received the invitation check the spam folder. 3) Try sending to another email. 4) If they receive it but there are issues with the link have the person receiving the invitation action it in an incognito window. If the above does not work please send me a private reply with the following information: A) What were the results of the above tests: 1) 2) 3) 4) B) App ID C) Email of the account used to send the invites. D) List of people invites were sent to. E) HAR files for sending and trying to use the link. Thanks! On Wednesday, June 3, 2015 at 1:11:54 AM UTC-4, Long Tran wrote: Forced to use this new https://console.developers.google.com to invite but it never works. Anyone has an idea? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/6b2158de-eea2-4292-b842-470e77a7ff3f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Managed VM and logging with gcloud-maven-plugin
Hi, I have a java project running on Managed VM, and I use gcloud-maven-plugin to run the app locally, simply mvn gcloud:run I would like to see my application logs straight in the console, but so far I can only see the access logs. The only way that I found is to login directly into the docker container and read the logs from /var/log/app_engine/ but every time I make some code change and I rebuild the docker image, the container I'm logged in of course gets destroyed and I need to log in again... quite a long process so. I also tried to add more parameters, like mvn -Dgcloud.log_level=debug -Dgcloud.enable_mvm_logs -X gcloud:run but still no luck. Do you guys have any suggestion? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/2b2e4858-9771-4964-acb6-c02704a9a0b3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: how can i get images from GAE cropped and resized php ?
That link will display the cropped image. You can then display it on your website as you would any other image link. On Wednesday, June 3, 2015 at 11:36:52 AM UTC-4, mohamed hassan wrote: Salutations Ryan, I am sorry for not being clarify with you . what i am asking about that can i use the ( google-api-php-client ) library for php to get re-sized or cropped images and if not i used Google App engine SDK for php and used Cloud Storage Tools class on my locolhost as the following : $object_image_file = 'gs://zatrek/contact.jpg'; $object_image_url = CloudStorageTools::getImageServingUrl($object_image_file,['size' = 400, 'crop' = true]); echo $object_image_url; and i got as response http://localhost:8080/_ah/img/encoded_gs_file:emF0cmVrL2NvbnRhY3QuanBn=s400-c how can i use this link to get my image cropped ? Thanks Ryan . On Wed, Jun 3, 2015 at 4:19 PM, Ryan (Cloud Platform Support) rbruy...@google.com wrote: Salutations Mohamed, I would check out this page on serving an image https://cloud.google.com/appengine/docs/php/googlestorage/images and this page for options https://cloud.google.com/appengine/docs/php/refdocs/classes/google.appengine.api.cloud_storage.CloudStorageTools#method_getImageServingUrl. If you run into issues I would recommend posting on StackOverflow http://stackoverflow.com/questions/tagged/google-app-engine+php. You should post what you have done and what error you receive. I would read this post first on how to ask a good question. http://stackoverflow.com/help/how-to-ask We do monitor GCP tags on StackOverflow. On Wednesday, June 3, 2015 at 6:34:39 AM UTC-4, mohamed hassan wrote: Please i downloaded google-api-PHP-client from GitHub from this link ( https://github.com/google/google-api-php-client ) but i want to know how can i get images from my buckets resized or cropped using php code or should i use any other tool ? please provide me with an example to do that Thanks . -- You received this message because you are subscribed to a topic in the Google Groups Google App Engine group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/RIWoaLlLI9o/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/0dc24aad-c5c0-44d2-b04f-16402e33b38b%40googlegroups.com https://groups.google.com/d/msgid/google-appengine/0dc24aad-c5c0-44d2-b04f-16402e33b38b%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/e42c0b5b-d27c-43fe-a52e-853fbb9859f4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: how can i get images from GAE cropped and resized php ?
Salutations Ryan, I am sorry Ryan i am misunderstand how can display the cropped image from this link ? can you please give me an example how can i execute this ? Sorry for asking a lot . Thanks Ryan. On Wed, Jun 3, 2015 at 6:51 PM, Ryan (Cloud Platform Support) rbruy...@google.com wrote: That link will display the cropped image. You can then display it on your website as you would any other image link. On Wednesday, June 3, 2015 at 11:36:52 AM UTC-4, mohamed hassan wrote: Salutations Ryan, I am sorry for not being clarify with you . what i am asking about that can i use the ( google-api-php-client ) library for php to get re-sized or cropped images and if not i used Google App engine SDK for php and used Cloud Storage Tools class on my locolhost as the following : $object_image_file = 'gs://zatrek/contact.jpg'; $object_image_url = CloudStorageTools::getImageServingUrl($object_image_file,['size' = 400, 'crop' = true]); echo $object_image_url; and i got as response http://localhost:8080/_ah/img/encoded_gs_file:emF0cmVrL2NvbnRhY3QuanBn=s400-c how can i use this link to get my image cropped ? Thanks Ryan . On Wed, Jun 3, 2015 at 4:19 PM, Ryan (Cloud Platform Support) rbruy...@google.com wrote: Salutations Mohamed, I would check out this page on serving an image https://cloud.google.com/appengine/docs/php/googlestorage/images and this page for options https://cloud.google.com/appengine/docs/php/refdocs/classes/google.appengine.api.cloud_storage.CloudStorageTools#method_getImageServingUrl. If you run into issues I would recommend posting on StackOverflow http://stackoverflow.com/questions/tagged/google-app-engine+php. You should post what you have done and what error you receive. I would read this post first on how to ask a good question. http://stackoverflow.com/help/how-to-ask We do monitor GCP tags on StackOverflow. On Wednesday, June 3, 2015 at 6:34:39 AM UTC-4, mohamed hassan wrote: Please i downloaded google-api-PHP-client from GitHub from this link ( https://github.com/google/google-api-php-client ) but i want to know how can i get images from my buckets resized or cropped using php code or should i use any other tool ? please provide me with an example to do that Thanks . -- You received this message because you are subscribed to a topic in the Google Groups Google App Engine group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/RIWoaLlLI9o/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/0dc24aad-c5c0-44d2-b04f-16402e33b38b%40googlegroups.com https://groups.google.com/d/msgid/google-appengine/0dc24aad-c5c0-44d2-b04f-16402e33b38b%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups Google App Engine group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/RIWoaLlLI9o/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/e42c0b5b-d27c-43fe-a52e-853fbb9859f4%40googlegroups.com https://groups.google.com/d/msgid/google-appengine/e42c0b5b-d27c-43fe-a52e-853fbb9859f4%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CALyG8VKnTMRX8QTUrDik2S9v84guqoGYDCwzCFLikGhNQpiXbA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Serve ssl requests on both custom domain and appspot.com
Hi Kehinde, Great question, I haven't tested that myself to be fair, so I'm not 100% sure, but I don't see why it wouldn't work. I assume you will redirect from the generic handler, check the user agent to see what is being used, and redirect? Or simply provide both links? Cheers On Tuesday, June 2, 2015 at 5:18:07 PM UTC-4, Kehinde Ayanniyi wrote: Am planning to develop an app that is free to the end users. The little cost of running the server will be taken care of by me, so cost saving is important in this context. The app requires that users access via SSL/TLS, so I will be using google apps for domain to setup an SSL custom domain. Because of limited budget, using VIP with the SSL certificate is out of the option, so am left with using SNI which I guess is free for the first 5 slots. Ofcourse, the down-side of using SNI SSL is that old platforms like IE on XP and Android 2.X.X will have issues with my app. As a work around to this SNI limitation, I consider to detect and redirect users on old platform where SNI will fail to the https://myapp.appspot.com instead of the default https://myapp.com So I will like to know whether after I set up custom domain with SSL for my GAE app, will I still be able to use https://myapp.appspot.com to access my app and at the same time still have the https://myapp.com working correctly. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/1ec5558d-994f-4a27-91b9-829c8337f50f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: how can i get images from GAE cropped and resized php ?
Salutations Ryan, I am sorry for not being clarify with you . what i am asking about that can i use the ( google-api-php-client ) library for php to get re-sized or cropped images and if not i used Google App engine SDK for php and used Cloud Storage Tools class on my locolhost as the following : $object_image_file = 'gs://zatrek/contact.jpg'; $object_image_url = CloudStorageTools::getImageServingUrl($object_image_file,['size' = 400, 'crop' = true]); echo $object_image_url; and i got as response http://localhost:8080/_ah/img/encoded_gs_file:emF0cmVrL2NvbnRhY3QuanBn=s400-c how can i use this link to get my image cropped ? Thanks Ryan . On Wed, Jun 3, 2015 at 4:19 PM, Ryan (Cloud Platform Support) rbruy...@google.com wrote: Salutations Mohamed, I would check out this page on serving an image https://cloud.google.com/appengine/docs/php/googlestorage/images and this page for options https://cloud.google.com/appengine/docs/php/refdocs/classes/google.appengine.api.cloud_storage.CloudStorageTools#method_getImageServingUrl. If you run into issues I would recommend posting on StackOverflow http://stackoverflow.com/questions/tagged/google-app-engine+php. You should post what you have done and what error you receive. I would read this post first on how to ask a good question. http://stackoverflow.com/help/how-to-ask We do monitor GCP tags on StackOverflow. On Wednesday, June 3, 2015 at 6:34:39 AM UTC-4, mohamed hassan wrote: Please i downloaded google-api-PHP-client from GitHub from this link ( https://github.com/google/google-api-php-client ) but i want to know how can i get images from my buckets resized or cropped using php code or should i use any other tool ? please provide me with an example to do that Thanks . -- You received this message because you are subscribed to a topic in the Google Groups Google App Engine group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/RIWoaLlLI9o/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/0dc24aad-c5c0-44d2-b04f-16402e33b38b%40googlegroups.com https://groups.google.com/d/msgid/google-appengine/0dc24aad-c5c0-44d2-b04f-16402e33b38b%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CALyG8VJChVhRE%2BTBxYTLkz4R_a6juxRkxTy-WGyRFFU7S-KOsw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] The API package 'file' or call 'Create()' was not found
I don't find the solution I added appengine-testing.jar and appengine-api-stubs.jar but I have the same Error. I see on thegooglecloudstorageclient getstarted https://cloud.google.com/appengine/docs/java/googlecloudstorageclient/getstarted page that I need this lybraries: - appengine-gcs-client.jar - guava-15.0.jar - joda-time-2.3.jar - appengine-testing.jar - appengine-api.jar - appengine-api-stubs.jar So, now I use all this. Le mardi 2 juin 2015 16:06:07 UTC+2, Ryan (Cloud Platform Support) a écrit : Salutations Christophe, If you go to the Migrating from the Files API https://cloud.google.com/appengine/docs/java/googlecloudstorageclient/migrate page you will see that error means you are missing libraries. I would read through the page and see what libraries you are missing. On Tuesday, June 2, 2015 at 6:58:46 AM UTC-4, Christophe DA COSTA wrote: Thanks for yours answers, I am trying to use the Google Cloud Storage but I have this erreur: com.google.api.server.spi.SystemService invokeServiceMethod: exception occurred while calling backed method java.lang.NoClassDefFoundError: com/google/api/client/http/HttpRequestInitializer at com.google.appengine.tools.cloudstorage.oauth.OauthRawGcsServiceFactory.clinit(OauthRawGcsServiceFactory.java:31) at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createRawGcsService(GcsServiceFactory.java:59) at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createGcsService(GcsServiceFactory.java:44) at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createGcsService(GcsServiceFactory.java:40) at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createGcsService(GcsServiceFactory.java:75) at com.listecourses.model.ListeModelEndpoint.insertListeModel(ListeModelEndpoint.java:204) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:45) at com.google.api.server.spi.SystemService.invokeServiceMethod(SystemService.java:359) at com.google.api.server.spi.SystemServiceServlet.execute(SystemServiceServlet.java:113) at com.google.api.server.spi.SystemServiceServlet.doPost(SystemServiceServlet.java:71) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:437) at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:444) at com.google.tracing.CurrentContext.runInContext(CurrentContext.java:230) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:308) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:300) at com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:441) at java.lang.Thread.run(Thread.java:745) my code is: GcsFilename fileName = new GcsFilename(my-bucket-name, someFileName.jpg); GcsOutputChannel outputChannel = GcsServiceFactory.createGcsService().createOrReplace(fileName, GcsFileOptions.getDefaultInstance()); outputChannel.write(ByteBuffer.wrap(listemodel.getImage())); outputChannel.close(); I
Re: [google-appengine] Managed VM and logging with gcloud-maven-plugin
There are changes coming to improve things in the next few weeks. In the mean time, here's what I do: Make sure .level=INFO or what you need in your logging.properties . For the class(es) I'm working with I set the class logging explicitly to: com.example.bigtable.managedvms.level=ALL Then in a separate window, I run the following script on my Mac: #!/bin/bash docker logs -f `docker ps -q` On Wed, Jun 3, 2015 at 6:39 AM, Paolo Rascuna paolo.rasc...@imagini.net wrote: Hi, I have a java project running on Managed VM, and I use gcloud-maven-plugin to run the app locally, simply mvn gcloud:run I would like to see my application logs straight in the console, but so far I can only see the access logs. The only way that I found is to login directly into the docker container and read the logs from /var/log/app_engine/ but every time I make some code change and I rebuild the docker image, the container I'm logged in of course gets destroyed and I need to log in again... quite a long process so. I also tried to add more parameters, like mvn -Dgcloud.log_level=debug -Dgcloud.enable_mvm_logs -X gcloud:run but still no luck. Do you guys have any suggestion? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/2b2e4858-9771-4964-acb6-c02704a9a0b3%40googlegroups.com https://groups.google.com/d/msgid/google-appengine/2b2e4858-9771-4964-acb6-c02704a9a0b3%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- Les Vogel | Cloud Developer Relations | l...@google.com | 408-676-7023 -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAGB1p5idzk7HwiPpERAHDU3mA5QiSMtDp7qFcCxpefh6Lh_Ssg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Deletion Google App Engine Account only, not the Gmail account
Hello People, Please can you guys throw some light towards Deleting of the Google App Engine Account only, not the Gmail account -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/4235f060-f44d-43b3-a3ef-b2275b394964%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: Invited collaborators but they cannot receive invite / see app in appengine.google.com
Hi Ryan, I tried again just now and it seemed to work. The difference is status Invitation sent. Waiting for response. which I didn't see last time. Thanks for looking into it. On 3 June 2015 at 06:30, Ryan (Cloud Platform Support) rbruy...@google.com wrote: Salutations Long, I will need to investigate this further to see what is happening. I need you to try a few things: 1) Re-Send the invitation. 2) If they never received the invitation check the spam folder. 3) Try sending to another email. 4) If they receive it but there are issues with the link have the person receiving the invitation action it in an incognito window. If the above does not work please send me a private reply with the following information: A) What were the results of the above tests: 1) 2) 3) 4) B) App ID C) Email of the account used to send the invites. D) List of people invites were sent to. E) HAR files for sending and trying to use the link. Thanks! On Wednesday, June 3, 2015 at 1:11:54 AM UTC-4, Long Tran wrote: Forced to use this new https://console.developers.google.com to invite but it never works. Anyone has an idea? -- You received this message because you are subscribed to a topic in the Google Groups Google App Engine group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/lT1o9R0tjVY/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/6b2158de-eea2-4292-b842-470e77a7ff3f%40googlegroups.com https://groups.google.com/d/msgid/google-appengine/6b2158de-eea2-4292-b842-470e77a7ff3f%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAK%3Dt8-Xm26KjkB2LLgL8yAY2WYagokJxUxw7znjTA%2BCkVvs-Xg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] The API package 'file' or call 'Create()' was not found
The JAR file google-http-client-1.20.0.jar contains the missing class your exception is reporting (com/google/api/client/http/HttpRequestInitializer). I don't see the filename in your build path screenshot - the closest name I see is google-http-client-appengine which contains appengine specific services, not the general http library. Try going to https://developers.google.com/api-client-library/java/google-api-java-client/download, retrieving the ZIP file there, and adding the file named *google-http-client-1.20.0.jar *to your project. - -Vinny P Technology Media Consultant Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com On Wed, Jun 3, 2015 at 4:34 PM, Christophe DA COSTA totof...@gmail.com wrote: https://lh3.googleusercontent.com/-Lq-jCVqa2iE/VW9ytkoXJxI/HeM/DVxsRAvFZp0/s1600/Sans%2Btitre.png https://lh3.googleusercontent.com/-h2C8Bjqj7ug/VW9xTrZNohI/HeE/c3_UOzgmhbs/s1600/Sans%2Btitre.png Le mercredi 3 juin 2015 20:29:06 UTC+2, Ryan (Cloud Platform Support) a écrit : Can you provide a screenshot of where the jars are? As well as an updated screenshot showing your classpath? On Wednesday, June 3, 2015 at 12:03:14 PM UTC-4, Christophe DA COSTA wrote: I don't find the solution I added appengine-testing.jar and appengine-api-stubs.jar but I have the same Error. I see on thegooglecloudstorageclient getstarted https://cloud.google.com/appengine/docs/java/googlecloudstorageclient/getstarted page that I need this lybraries: - appengine-gcs-client.jar - guava-15.0.jar - joda-time-2.3.jar - appengine-testing.jar - appengine-api.jar - appengine-api-stubs.jar So, now I use all this. Le mardi 2 juin 2015 16:06:07 UTC+2, Ryan (Cloud Platform Support) a écrit : Salutations Christophe, If you go to the Migrating from the Files API https://cloud.google.com/appengine/docs/java/googlecloudstorageclient/migrate page you will see that error means you are missing libraries. I would read through the page and see what libraries you are missing. On Tuesday, June 2, 2015 at 6:58:46 AM UTC-4, Christophe DA COSTA wrote: Thanks for yours answers, I am trying to use the Google Cloud Storage but I have this erreur: com.google.api.server.spi.SystemService invokeServiceMethod: exception occurred while calling backed method java.lang.NoClassDefFoundError: com/google/api/client/http/HttpRequestInitializer at com.google.appengine.tools.cloudstorage.oauth.OauthRawGcsServiceFactory.clinit(OauthRawGcsServiceFactory.java:31) at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createRawGcsService(GcsServiceFactory.java:59) at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createGcsService(GcsServiceFactory.java:44) at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createGcsService(GcsServiceFactory.java:40) at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createGcsService(GcsServiceFactory.java:75) at com.listecourses.model.ListeModelEndpoint.insertListeModel(ListeModelEndpoint.java:204) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:45) at com.google.api.server.spi.SystemService.invokeServiceMethod(SystemService.java:359) at com.google.api.server.spi.SystemServiceServlet.execute(SystemServiceServlet.java:113) at com.google.api.server.spi.SystemServiceServlet.doPost(SystemServiceServlet.java:71) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at
Re: [google-appengine] Deletion Google App Engine Account only, not the Gmail account
You can visit https://console.developers.google.com/project, which will show you a list of projects registered to you. To delete an App Engine app, click the trashcan symbol next to the name (see the red box here: http://imgur.com/cUpIK80). - -Vinny P Technology Media Consultant Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com On Wed, Jun 3, 2015 at 8:37 PM, Namratha S Iyer namrathasi...@gmail.com wrote: Hello People, Please can you guys throw some light towards Deleting of the Google App Engine Account only, not the Gmail account -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/4235f060-f44d-43b3-a3ef-b2275b394964%40googlegroups.com https://groups.google.com/d/msgid/google-appengine/4235f060-f44d-43b3-a3ef-b2275b394964%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CALSvALB6KYc%2BK-mnVAr6nxVz2E6w%2BCtmS2cOtEz7rZvcV-6gyw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: GAE php CloudStorageTools class is missing
On Tue, Jun 2, 2015 at 10:35 AM, mohamed hassan mohamedhassan2...@gmail.com wrote: *Fatal error*: Call to undefined function make_call() in *C:\xampp\htdocs\google_cloud\google\appengine\runtime\RealApiProxy.php* on line *49* Are you using the App Engine development server, or another PHP server on your local machine? Can you post the commands you use to launch the dev server? - -Vinny P Technology Media Consultant Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CALSvALBrOxuCbqXY_3pWwhbtFjZkfsfaTgi1DsW%3Dx%3DwnoRRuOg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] The API package 'file' or call 'Create()' was not found
Can you provide a screenshot of where the jars are? As well as an updated screenshot showing your classpath? On Wednesday, June 3, 2015 at 12:03:14 PM UTC-4, Christophe DA COSTA wrote: I don't find the solution I added appengine-testing.jar and appengine-api-stubs.jar but I have the same Error. I see on thegooglecloudstorageclient getstarted https://cloud.google.com/appengine/docs/java/googlecloudstorageclient/getstarted page that I need this lybraries: - appengine-gcs-client.jar - guava-15.0.jar - joda-time-2.3.jar - appengine-testing.jar - appengine-api.jar - appengine-api-stubs.jar So, now I use all this. Le mardi 2 juin 2015 16:06:07 UTC+2, Ryan (Cloud Platform Support) a écrit : Salutations Christophe, If you go to the Migrating from the Files API https://cloud.google.com/appengine/docs/java/googlecloudstorageclient/migrate page you will see that error means you are missing libraries. I would read through the page and see what libraries you are missing. On Tuesday, June 2, 2015 at 6:58:46 AM UTC-4, Christophe DA COSTA wrote: Thanks for yours answers, I am trying to use the Google Cloud Storage but I have this erreur: com.google.api.server.spi.SystemService invokeServiceMethod: exception occurred while calling backed method java.lang.NoClassDefFoundError: com/google/api/client/http/HttpRequestInitializer at com.google.appengine.tools.cloudstorage.oauth.OauthRawGcsServiceFactory.clinit(OauthRawGcsServiceFactory.java:31) at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createRawGcsService(GcsServiceFactory.java:59) at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createGcsService(GcsServiceFactory.java:44) at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createGcsService(GcsServiceFactory.java:40) at com.google.appengine.tools.cloudstorage.GcsServiceFactory.createGcsService(GcsServiceFactory.java:75) at com.listecourses.model.ListeModelEndpoint.insertListeModel(ListeModelEndpoint.java:204) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:45) at com.google.api.server.spi.SystemService.invokeServiceMethod(SystemService.java:359) at com.google.api.server.spi.SystemServiceServlet.execute(SystemServiceServlet.java:113) at com.google.api.server.spi.SystemServiceServlet.doPost(SystemServiceServlet.java:71) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:437) at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:444) at com.google.tracing.CurrentContext.runInContext(CurrentContext.java:230) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:308) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:300) at com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:441) at java.lang.Thread.run(Thread.java:745) my code is: GcsFilename fileName = new GcsFilename(my-bucket-name, someFileName.jpg); GcsOutputChannel outputChannel =
Re: [google-appengine] Re: how can i get images from GAE cropped and resized php ?
You can simply do this: echo img src=' . $object_image_url . ' alt='Image'; Note that it will only work from the Production server as your image is hosted on the production server. On Wednesday, June 3, 2015 at 11:56:20 AM UTC-4, mohamed hassan wrote: Salutations Ryan, I am sorry Ryan i am misunderstand how can display the cropped image from this link ? can you please give me an example how can i execute this ? Sorry for asking a lot . Thanks Ryan. On Wed, Jun 3, 2015 at 6:51 PM, Ryan (Cloud Platform Support) rbruy...@google.com wrote: That link will display the cropped image. You can then display it on your website as you would any other image link. On Wednesday, June 3, 2015 at 11:36:52 AM UTC-4, mohamed hassan wrote: Salutations Ryan, I am sorry for not being clarify with you . what i am asking about that can i use the ( google-api-php-client ) library for php to get re-sized or cropped images and if not i used Google App engine SDK for php and used Cloud Storage Tools class on my locolhost as the following : $object_image_file = 'gs://zatrek/contact.jpg'; $object_image_url = CloudStorageTools::getImageServingUrl($object_image_file,['size' = 400, 'crop' = true]); echo $object_image_url; and i got as response http://localhost:8080/_ah/img/encoded_gs_file:emF0cmVrL2NvbnRhY3QuanBn=s400-c how can i use this link to get my image cropped ? Thanks Ryan . On Wed, Jun 3, 2015 at 4:19 PM, Ryan (Cloud Platform Support) rbruy...@google.com wrote: Salutations Mohamed, I would check out this page on serving an image https://cloud.google.com/appengine/docs/php/googlestorage/images and this page for options https://cloud.google.com/appengine/docs/php/refdocs/classes/google.appengine.api.cloud_storage.CloudStorageTools#method_getImageServingUrl. If you run into issues I would recommend posting on StackOverflow http://stackoverflow.com/questions/tagged/google-app-engine+php. You should post what you have done and what error you receive. I would read this post first on how to ask a good question. http://stackoverflow.com/help/how-to-ask We do monitor GCP tags on StackOverflow. On Wednesday, June 3, 2015 at 6:34:39 AM UTC-4, mohamed hassan wrote: Please i downloaded google-api-PHP-client from GitHub from this link ( https://github.com/google/google-api-php-client ) but i want to know how can i get images from my buckets resized or cropped using php code or should i use any other tool ? please provide me with an example to do that Thanks . -- You received this message because you are subscribed to a topic in the Google Groups Google App Engine group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/RIWoaLlLI9o/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/0dc24aad-c5c0-44d2-b04f-16402e33b38b%40googlegroups.com https://groups.google.com/d/msgid/google-appengine/0dc24aad-c5c0-44d2-b04f-16402e33b38b%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups Google App Engine group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/RIWoaLlLI9o/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/e42c0b5b-d27c-43fe-a52e-853fbb9859f4%40googlegroups.com https://groups.google.com/d/msgid/google-appengine/e42c0b5b-d27c-43fe-a52e-853fbb9859f4%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/3b341871-e2bd-4bdd-aafa-6eca929f2664%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: Datastore Admin Issue - Backup - Namespaces
Hi again, So, as you can see on the linked issue, this is actually expected behavior, to make sure that the query retrieving your namespaces doesn't time out, we limit the results. If you need to have a namespace backed up that you cannot find, you will have to use cron jobs for scheduled backups https://cloud.google.com/appengine/articles/scheduled_backups. Cheers! On Wednesday, June 3, 2015 at 10:47:55 AM UTC-4, Patrice (Cloud Platform Support) wrote: Hi Alejandro, thank you for letting me know. See that makes a little bit more sense that it simply shows the first X. Not exactly expected behavior, but more logical than what I thought was happening at first. In any case, that seems to be a defect within the admin console. I therefore went ahead and created this issue https://code.google.com/p/googleappengine/issues/detail?id=12019, as the proper place to report defects is the public issue tracker. I would suggest for you two to star the issue so you can get updated when there`s progress. Cheers! On Wednesday, June 3, 2015 at 4:40:05 AM UTC-4, Alejandro Gonzalez wrote: Hello Patrice, I checked this, and i have the same problem as Aswath. I have an application with a lot of namespaces, and the namespace dropdown is only showing the first 250 namespaces. For the round number it seems like there is a limit on the number of namespaces displayed. Thanks. Alejandro. 2015-06-03 9:29 GMT+02:00 Aswath Satrasala aswath.satras...@gmail.com: Hello, My appid: accountingguru-india Namespace: sarahfoodspvtltd-kumarharikant-sarahfoods.com The kinds, I want to backup are in that namespace, but I could have selected other kinds also (in the previous screen), that may not yet be in that namespace. A whole bunch of namespaces are missing in the dropdown selection. The namespaces starting after 'BIS..' are not displayed. Attached is the screen shot, of the namespace dropdown selection -Aswath www.AccountingGuru.net On Tue, Jun 2, 2015 at 7:52 PM, Patrice (Cloud Platform Support) pvoutsi...@google.com wrote: Hi Aswath. We'd need a bit more details to be able to help you here. Are you sure that the namespace you want to backup isn't part of another application's datastore? Are the kinds you are backing up in that namespace? I've tried different combinations, and everything seemed to have worked fine. If you could add print screens, both showing that the kinds are in the requested namespace, and of the page not showing you the namespace, it would be helpful in troubleshooting further Cheers On Tuesday, June 2, 2015 at 8:14:58 AM UTC-4, aswath wrote: Hello, I am trying to do backup of a Namespace, however, I cannot select the namespace. I am doing the following in the appengine console (old) * Click on the Datastore Admin * Select the KINDS * Click on the 'Backup Entities' * In the next screen, I am trying to choose the namespace. However, there are only few namespaces displayed. I cannot select the namespace, I wanted. -Aswath www.AccountingGuru.net. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAKFF5G5wRCY_t4xwSz-P_Fxhv2r6sQ%3DoUTj-8UvGNOuC814rXA%40mail.gmail.com https://groups.google.com/d/msgid/google-appengine/CAKFF5G5wRCY_t4xwSz-P_Fxhv2r6sQ%3DoUTj-8UvGNOuC814rXA%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/ead52dd0-e013-4583-8d74-d8c63d3c3cce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.