[google-appengine] Re: Online tool to decode/encode a Datastore Key
In case someone needs to automate a conversion, the services /decode and /encode (used by the page as ajax calls) return JSON data. Although in order to process hundreds of keys in a batch, remote services calls + JSON decoding might not be the most practical solution, so I plan to release a command-line tool for decoding, encoding and conversion. On Wednesday, July 30, 2014 1:41:58 PM UTC+2, dele...@gmail.com wrote: Hello Having used the AppEngine services for a few months, I experienced the following facts concerning the NoSQL Datastore primary keys : - the exact nature of a Key is not obvious to everyone (although documented in each language-specific online doc). - the creation/modification of a Key is not trivial when it comes to AppIds and Namespaces, depending on what is exposed or not in each language-specific API. FWIW, I've deployed the following page to help data extracting from, or encoding to a Key : http://datastore-key.appspot.com/ Example : http://datastore-key.appspot.com/?keystring=ag9zfmRhdGFzdG9yZS1rZXlyNQsSEk15UGFyZW50RW50aXR5VHlwZSIIZXVyb3BlLTQMCxIPTXlTdWJFbnRpdHlUeXBlGCoM It answers to two questions for debug and understanding purpose : - What entity is refered to by this huge string dangling in my querystring/json/logs/hardcoded constants ? - What would be the string representation of a key of an entity in my application with specific id ? The keys themselves are luckily language-independent, like all the Datastore content and the admin console pages. This online tool also provides nice links to the Datastore Viewer, and two browser search engines taking a Key string as search term. -- 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. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Anyone got Django working on Google App Engine? Seems there are inconsistent, incomplete and conflicting docs. Any advice appreciated....SOS
An alternative to Django-nonrel, https://github.com/lukebpotato/djangae. On Sunday, 3 August 2014 03:42:09 UTC+1, Christian Seberino wrote: Is this the latest greatest docs for Django on Google AppEngine? http://django-nonrel.org/ There seems to be another page high on a search: http://www.allbuttonspressed.com/projects/djangoappengine#installation With the first doc I was able to get a toy Django app running with the local devserver but that page has scanty instructions for getting models and uploading to Google beyond that!?!? e.g. (1) In various places it says to do manage.py deploy in order to deploy your app. The problem is that deploy isn't a normal Django switch for manage.py. The docs insinuate you need to somehow use djangoappengine but there is no mention of how to magically tweak manage.py with djangoappengine so that the deploy switch appears suddenly. (2) It isn't clear how to create models and use them. I was getting errors about me not having permission to do this. Any help greatly appreciated. Sincerely, Chris -- 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. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Enable SSL custom domain without Google Apps Account
Hi, I want to enable ssl for my custom domains but I don't want to open a Google Apps account for each domain. How do I proceed? Thanks Karl-Heinz -- 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. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Can't read property file on Server Side in GWT
Hi, I am new to GWT, I want to read property file on Server side. I have DBConfig.java, useDBConfig.java and DBConfig.properties all placed in server package. I can't read the values from property file on Server Side. Your help is highly appreciated. public interface DBConfig extends Constants {@DefaultStringValue(host)String host(String host); @DefaultStringValue(port)String port(String port); @DefaultStringValue(username)String username(String username); @DefaultStringValue(password)String password(String password); } public void useDBConfig() {DBConfig constants = GWT.create(DBConfig.class);Window.alert(constants.host()); host = constants.host(host); port = constants.port(port); username = constants.username(username); password = constants.password(password); } property file... host=127.0.0.1 port=3306 username=root password=root I found out that constants couldn't be used on server side. There could be a solution of JSON etc. I don't know about that stuff. Could someone please help me out. Thanks in advance -- 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. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Client Certificate Authentication in GAE
Hi Waqas, did you had any success implementing client certificate authN in GAE? I'm trying to implement the same but the docs are not very useful. Thanks On Friday, 29 November 2013 06:27:10 UTC, waqas ali wrote: I want to know is client certificate authentication is possible in GAE. I have an application that have to request client certificates to the user. I already have created an application in tomcat server which perfectly perform mutual authentication of client and server. I also want to know is this possible that GAE cloud instance can run my tomcat service for client certification. -- 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. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Google Code issue tracker cleanup
Obviously getting feedback from users is not too vital to you guys otherwise you would'nt have ignored the Issue Tracker for 4+ years. How is it that no one is held accountable for this? How is this acceptable for a company such as Google? If it takes you this long just to fix the issue tracker, I can only imagine how long it will take for the actual issues themselves to get resolved. Maybe 5 years later we will actually get Servlet 3.0 support. Probably not though. On Wednesday, July 9, 2014 10:48:52 AM UTC-4, Jesse Scherer (Google) wrote: Over the past few years we have fallen behind on updating our issue tracker on Google Code. But since getting feedback from our users is vital to us, we will be renewing our focus on making the tracker useful to you. We must work through the large number of open issues which exist today. Many of the older issues issues represent popular feature requests, but others were opened long ago and are no longer relevant to the person who opened them or to the App Engine community. We wish to fix this so that developers can easily find and follow issues which apply to them. So, over the next few weeks we will review open issues and close those that are obsolete and merge related issues together when possible. There is much work to do here, and in some cases we may inadvertently close issues which are still relevant and important. If an issue which affects you is closed and marked as obsolete or as a duplicate of another issue, please comment on the issue so we can take another look. How you can help -- 1. Check for a duplicate first. If so, star that issue. We often do sorts by number of stars, so if it's a common issue, lots of duplicates can cause us to miss it 2. Write a clear, concise bug report. This is a report that needs to be read several times. Write very clearly reproduction steps, OS, SDK version and post code if you can. If we can't understand the bug report, we will close it. 3. Follow up. We will sometimes post questions in the bug. If we don't receive a response, we will close the bug. Also - if it turns out to be user error, it helps us a lot if you post your fix. This sometimes helps us expose places where we can improve our documentation. Thank you all in advance for your support and commitment. -- Jesse Scherer | Technical Program Manager | jsch...@google.com javascript: -- 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. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Can't deploy with Google App Engine Launcher
I have the same issue. This is the first time I am attempting to deploy. Have I missed a step? On Monday, 21 July 2014 20:32:26 UTC-7, Vinny P wrote: On Fri, Jul 18, 2014 at 5:43 AM, avant@gmail.com javascript: wrote: I'm on win7 with firewall turned off, using GAEL version 1.9.7 and my google account does not use 2-Step Verification, experiencing the following error on deploy each time: Password for my_googl...@gmail.com javascript:: Invalid username or password. 2014-07-18 13:34:55,424 ERROR appcfg.py:2395 An error occurred processing file '': HTTP Error 401: Unauthorized. Aborting. I would retry using the OAuth option ( https://developers.google.com/appengine/docs/python/tools/uploadinganapp#Python_Password-less_login_with_OAuth2 ). If that still doesn't work, a few questions: how many people have access to this application ID? Is this the first time you've attempted deployment, or have you successfully deployed an application before (to this app ID and to other application IDs). Can you try creating a new application ID and deploying to that? - -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. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Outbound Certificate authentication
Hi, We are trying to use a client side SSL certificate on an Appengine instance to communicate with a service which is on a customer internal network. We need to use a certificate so that they can verify that only our app can get through the firewall. I cannot find an example of this working and apparently it wasn't possible some time ago. Has anyone implemented this? IT would be very useful to get some feedback from you guys. 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. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Invitation to own/admin a new Google application only shows my existing applications (have multiple Gmail accounts)
My colleague sent me invitation to a Google application that he started on the domain where we both are admin at.I receive the invitation just fine on my domain email (say nav...@domain1.com) but when I click the invite (using either of the links - one if I don't have Google Apps Account and another if I have a Google Apps Account), it takes me directly to my existing apps on the http://appengine.google.com site without any reference/link to this newly created application. It does not make a difference if I use an already opened Chrome window or open when in Incognito mode. It asks me to sign-in using my Google Account and when I sign in using the email account that is linked to this domain, I get this situation - ie only existing apps. However if I sign-in using a different Google Account (say nav...@gmail.com or nav...@domain2.com), it will take me through the invitation and I can see this new app just fine. - I find it extremely bizzare! In fact I was even able to invite myself again using this account but I had deja vu experience when logging in using my domain account (nav...@domain1.com). Any ideas? How I can add myself as an owner/admin to this new app using my domain email account? So -- 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. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] How to test with webtest and multiprocessing in GAE
On Wed, Aug 6, 2014 at 10:49 AM, puriketu99 puriketu.wh...@gmail.com wrote: Hello,experts. Please tell me how to solve a following problem. I would like to use webtest with multiprocess but it fails. import multiprocessing Multiprocessing isn't available on App Engine: https://groups.google.com/d/msg/google-appengine/BCtU881-XgQ/nWPMeOy-KKoJ - -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. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Can't deploy with Google App Engine Launcher
On Wed, Aug 6, 2014 at 7:28 PM, Pranav Rao pranavr...@gmail.com wrote: I have the same issue. This is the first time I am attempting to deploy. Have I missed a step? Is this your first time deploying to this application ID, or to App Engine in general? - -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. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Outbound Certificate authentication
On Thu, Aug 7, 2014 at 9:56 AM, Ruth M. pablo.sole...@gmail.com wrote: We are trying to use a client side SSL certificate on an Appengine instance to communicate with a service which is on a customer internal network. We need to use a certificate so that they can verify that only our app can get through the firewall. I cannot find an example of this working and apparently it wasn't possible some time ago. You might want to star this issue, which covers your request: https://code.google.com/p/googleappengine/issues/detail?id=3719 . Looking at the issue, it seems that someone has managed to do it with the Apache HTTP client (see comment #11 on the above link). - -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. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Can't read property file on Server Side in GWT
On Wed, Aug 6, 2014 at 7:37 AM, Najeeb Shah snajeebullahs...@gmail.com wrote: I am new to GWT, I want to read property file on Server side. I have DBConfig.java, useDBConfig.java and DBConfig.properties all placed in server package. I can't read the values from property file on Server Side. Your help is highly appreciated. There could be a solution of JSON etc. I don't know about that stuff. Could someone please help me out. Where in the folder hierarchy is the properties file placed? You have a few options here: you can use App Engine's own service to store system properties or you can use your current design of loading a file. If you want to use App Engine's system properties, see this documentation for setting it up: https://developers.google.com/appengine/docs/java/configyaml/appconfig_yaml#Java_app_yaml_System_properties_environment_variables_and_context_parameters If you still want to read from a properties file, you can use the below sample code which will load in a properties file and store the info inside a Properties object (you need to run this code within a servlet since it needs access to a ServletContext): *InputStream properties_stream = this.getServletContext().getResourceAsStream(/WEB-INF/prop.properties);Properties app_properties = new Properties();app_properties.load(properties_stream);* - -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. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Invitation to own/admin a new Google application only shows my existing applications (have multiple Gmail accounts)
On Thu, Aug 7, 2014 at 7:10 AM, Naveen Garg naveeng...@newerahpc.com wrote: My colleague sent me invitation to a Google application that he started on the domain where we both are admin at.I receive the invitation just fine on my domain email but when I click the invite (using either of the links - one if I don't have Google Apps Account and another if I have a Google Apps Account), it takes me directly to my existing apps on the http://appengine.google.com site without any reference/link to this newly created application. Is your *domain1* account the same domain that you and your colleague have Apps admin privileges over? Specifically, is your domain1 account the one with Apps admin privileges or is the admin account a separate account? - -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. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] How to test with webtest and multiprocessing in GAE
I did not know it.thx. 2014-08-08 12:07 GMT+09:00 Vinny P vinny...@gmail.com: On Wed, Aug 6, 2014 at 10:49 AM, puriketu99 puriketu.wh...@gmail.com wrote: Hello,experts. Please tell me how to solve a following problem. I would like to use webtest with multiprocess but it fails. import multiprocessing Multiprocessing isn't available on App Engine: https://groups.google.com/d/msg/google-appengine/BCtU881-XgQ/nWPMeOy-KKoJ - -Vinny P Technology Media Consultant Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- 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/9s3lynDu_Cc/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. 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. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Expected BEGIN_OBJECT but was STRING at line 1 column 1
On Thu, Aug 7, 2014 at 12:27 AM, Bishan Buddhika tvbis...@gmail.com wrote: I'm getting below error from my google app engine program. But when i run this program on my PC, it's working without any errors. Below error is getting when uploaded to google app engine and run from there. com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 http://stackoverflow.com/questions/25157962/expected-begin-object-but-was-string-at-line-1-column-1 Hi Bishan, A few things: 1. Please post the entire stack trace including line numbers, not just the exception message. 2. Your code is directly opening up a stream to the data URL, without checking to see if the input is valid. Can you modify your code to show the status code being returned by the feed server (it should be 200) and print out into logging the text received from the server? Here's example code to show the status code returned: http://stackoverflow.com/a/6467904 3. When you say *when i run this program on my PC, it's working without any errors* are you running the code within the development app server or another server? Are you pulling the data feed from the feed server or using test JSON text? If you are pulling the data from the feed server, is the JSON you posted a representative sample of the JSON you expect to receive? If not, please describe the JSON you do expect to receive (sample JSON is OK too). - -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. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Enable SSL custom domain without Google Apps Account
On Thu, Aug 7, 2014 at 9:22 AM, Karl-Heinz Müller karlhe...@gmail.com wrote: I want to enable ssl for my custom domains but I don't want to open a Google Apps account for each domain. How do I proceed? The short version is: you can't. If you want to set up SSL, you need to go through Apps. See the blue *Important* note on this page: https://developers.google.com/appengine/docs/domain If you still want SSL without Apps, you can try using Cloudflare to reverse proxy your application: http://blog.cloudflare.com/easiest-ssl-ever-now-included-automatically-w - -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. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] AppEngine / GCS / Cloudstorage API - Is it possible to modify the ACL's and serve files directly from GCS?
On Wed, Aug 6, 2014 at 12:14 PM, Kaan Soral kaanso...@gmail.com wrote: I'm not acquainted to RTS protocols, it would be great if the answer included which protocols are supported in different scenarios My concern isn't bandwidth but the user experience instead, the videos are played only in full screen on iOS phones, in order for the full screen playback to start, the request is waited, therefore there is a ~10 second delay between a video trigger and the playback Thank goodness you said iOS, that opens up some options! I would suggest taking a look at HTTP Live Streaming: https://developer.apple.com/library/ios/documentation/networkinginternet/conceptual/streamingmediaguide/HTTPStreamingArchitecture/HTTPStreamingArchitecture.html or here's a shorter summary of it: http://stackoverflow.com/a/1070979 Essentially, you need to take your video and chop it up into shorter clips, and reencode it at different bitrates. Zencoder's clip service can simplify that for you: https://app.zencoder.com/docs/api/encoding/clips . From there, all you need to do is send a playlist file, and the iOS client will automatically figure out which bitrate and clip to download. Even better: this works over regular HTTP (you don't need a special streaming server). I'm not sure why you're getting the delay, but a small reason might be that iOS is (in your current configuration) attempting to fully/mostly download the video before playback. By declaring a playlist file iOS knows to stream the video, and to select the correct bitrate to speed up the first play. - -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. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Expected BEGIN_OBJECT but was STRING at line 1 column 1
Hi, Thank you very much for your reply. Your reply guided me to find the error. I got 403 as Response Code and now i found the error. :) On Friday, August 8, 2014 8:56:35 AM UTC+5:30, Vinny P wrote: On Thu, Aug 7, 2014 at 12:27 AM, Bishan Buddhika tvbi...@gmail.com javascript: wrote: I'm getting below error from my google app engine program. But when i run this program on my PC, it's working without any errors. Below error is getting when uploaded to google app engine and run from there. com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 http://stackoverflow.com/questions/25157962/expected-begin-object-but-was-string-at-line-1-column-1 Hi Bishan, A few things: 1. Please post the entire stack trace including line numbers, not just the exception message. 2. Your code is directly opening up a stream to the data URL, without checking to see if the input is valid. Can you modify your code to show the status code being returned by the feed server (it should be 200) and print out into logging the text received from the server? Here's example code to show the status code returned: http://stackoverflow.com/a/6467904 3. When you say *when i run this program on my PC, it's working without any errors* are you running the code within the development app server or another server? Are you pulling the data feed from the feed server or using test JSON text? If you are pulling the data from the feed server, is the JSON you posted a representative sample of the JSON you expect to receive? If not, please describe the JSON you do expect to receive (sample JSON is OK too). - -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. For more options, visit https://groups.google.com/d/optout.