Re: [google-appengine] Re: java two request/thread that interact on the same session
Hi Michael, I have clicked on the link you provide and read the documentation. I have created a small project to test channel api. I can make it running. From the main request I can send a message to the client using the channel. The client can then respond to me. But I have seen that the response is not synchronous, it can be done using POST (or GET). This mean that the client value is owned by a second request that need to give this value to the main request. So the problem is not far different with channel api. Looking at the java-channel-tic-tac-toe example I have seen that the MoveServlet load a Game object from the datastore (not session), make the move and inform other clients. In this case is the datastore the communication channel... And this can I use even in my solution. I will investigate more the problem. Firs I check if the channel api can be mixed with session, or to use datastore as communication channel. Many thanks! On 05/11/2012 04:09 AM, Michael Hermus wrote: You should click the link I provided in my first post, and read the doc. The Channel API allows you to create a persistent connection between the server and a JavaScript client, allowing you to send data back and forth. I imagine that would allow you to accomplish your goals. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] HTTP 404 File not found for file downloads
Hi I have an application in appspot.com. When I attempting any file download using a tag in html, it throws file not found error. Please suggest solution. Thank you Umamageswari -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: HTTP 404 File not found for file downloads
Hi The URL in your a tag needs to point to either a handler or a static resource. If your getting a 404 then the URL is incorrect and does not map to either of these. T On Friday, May 11, 2012 4:44:33 PM UTC+8, Uma Jeyachandran wrote: Hi I have an application in appspot.com. When I attempting any file download using a tag in html, it throws file not found error. Please suggest solution. Thank you Umamageswari -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/7pW72tfXe2wJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: java two request/thread that interact on the same session
Yes, the channel itself is one way from server to client, while the client to server communication is via normal HTTP requests. You seem to be stuck on the pattern of having two threads on the server side that need to interact directly with each other. I don't think that is correct. Your application state should be stored in the Datastore. Your 'update' requests can perform whatever processing they need to and interact with your application state, and then send results back to the client. You can use either the Channel API or a simple AJAX pattern to create a rich user interface in this way. Best of luck. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/YbHpCbd8-REJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] how to remove a kind from datastore using python
i create a kind using python : class zb_news(db.Model): news_date = db.DateProperty(required=True) title = db.StringProperty(required=True) news = db.TextProperty(required=True) after put some data, i need to change property. but i don't know how to change property. now i like remove the kind zb_news what to do? any sample? please help thank you very much -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Doing migrations
Dear All, I want to know how everyone is doing large migrations. I am not having luck with java mapreduce. I get the following exception consistently. /mapreduce/mapperCallback - RuntimeException: Couldn't find MR with job ID. Added to that, there is not enough documentation to understand all the concepts and terminology in the mapreduce implementation. So far, my data was small, and I was using remoteapi and perform the migrations. Now, the data is grown big with large number of namespaces. I am looking for alternatives to using remoteapi, for doing faster migrations. Is there any alternative to mapreduce or some framework based on taskqueues. -Aswath -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] GAE, Django and SSL
Hi, I know that GAE provides SSL traffic through appspot.com domains. But there aren't code examples that use django. My app.yaml is: application: my_app version: 1 runtime: python27 api_version: 1 threadsafe: true libraries: - name: django version: 1.3 builtins: - django_wsgi: on Does anyone knows what do I have to do to use SSL in GAE with Django? Thanks in advance. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/-CCwSCt3WtoJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: GAE, Django and SSL
By default you don't have anything to do, just access your site with https instead of http But you can configure how ssl is handled on a per url basis in you app.yaml: https://developers.google.com/appengine/docs/python/config/appconfig#Secure_URLs On May 11, 10:00 pm, João Silva joao.andre.almeida.si...@gmail.com wrote: Hi, I know that GAE provides SSL traffic through appspot.com domains. But there aren't code examples that use django. My app.yaml is: application: my_app version: 1 runtime: python27 api_version: 1 threadsafe: true libraries: - name: django version: 1.3 builtins: - django_wsgi: on Does anyone knows what do I have to do to use SSL in GAE with Django? Thanks in advance. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: HTTP 404 File not found for file downloads
Hi Uma Jeyachandran: *you should upload it as static file,this error because this file is considered in the local host and GAE doesn't find it, you should configure app.yaml and specify this * *file in it , see this link for app.yaml configuration * https://developers.google.com/appengine/docs/python/config/appconfig, you can go to the log for this application to see the error description.* * On Friday, May 11, 2012 11:44:33 AM UTC+3, Uma Jeyachandran wrote: Hi I have an application in appspot.com. When I attempting any file download using a tag in html, it throws file not found error. Please suggest solution. Thank you Umamageswari -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/ndrCX85-4D4J. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: chrome https warning for unsecured content
I am having the same problems. My e-mail and Google voice both show that they are insecure. I even get a banner across the screen warning me of this. Can you at least direct me to a webpage that explains how to secure my communications. Thanks!!! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/4SI_8HhtDKUJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: chrome https warning for unsecured content
On Monday, November 21, 2011 10:30:02 PM UTC-5, James Gilliam wrote: I am using HTTPS but get the annoying caution warning (or even big red X warning) when using the chrome browser when there is unsecured content in the page. This can occur if even one http:// img is being used, e.g. a profile pic from twitter. Or if you are loading javascript from an ad server. I looked for a more appropriate forum because I realize this is a Chrome issue but could not find any. I have been able to get away from some of this by redirecting from my own https to the http ... this redirection Chrome does not detect; unfortunately, the ad server disallows it. On Monday, November 21, 2011 10:30:02 PM UTC-5, James Gilliam wrote: I am using HTTPS but get the annoying caution warning (or even big red X warning) when using the chrome browser when there is unsecured content in the page. This can occur if even one http:// img is being used, e.g. a profile pic from twitter. Or if you are loading javascript from an ad server. I looked for a more appropriate forum because I realize this is a Chrome issue but could not find any. I have been able to get away from some of this by redirecting from my own https to the http ... this redirection Chrome does not detect; unfortunately, the ad server disallows it. There is no warning in Safari. My customer is complaining that the https warning makes my content seem less secure to others. Any ideas out there. On Monday, November 21, 2011 10:30:02 PM UTC-5, James Gilliam wrote: I am using HTTPS but get the annoying caution warning (or even big red X warning) when using the chrome browser when there is unsecured content in the page. This can occur if even one http:// img is being used, e.g. a profile pic from twitter. Or if you are loading javascript from an ad server. I looked for a more appropriate forum because I realize this is a Chrome issue but could not find any. I have been able to get away from some of this by redirecting from my own https to the http ... this redirection Chrome does not detect; unfortunately, the ad server disallows it. There is no warning in Safari. My customer is complaining that the https warning makes my content seem less secure to others. Any ideas out there. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/q61u4ScoynQJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: how to remove a kind from datastore using python
Easiest: create zb_news_2 Hard: run zb_news.all().delete() and move on -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/D51Z6xWmyBEJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: full text search API is experimental, ready for a test drive
(GAE team: congrats!!! on search-- please add clustered/grouped resultshttp://wiki.apache.org/solr/FieldCollapsingto your todo list-- it's very hard to emulate such a feature at the app layer) Jeff: - this is pre-release, and if you personally can't bear that risk, then let others play beta-tester for you. - if Google waits for pricing before release then that delays the release, which nobody wants. - pricing can depend on usage patterns, which they only know once they see usage. in general, if you're already live in production on GAE then there are few reasons to invest materially in a beta: - someone is demanding this. - you expect to depend on little details of this feature and therefore want to join the design - your karma with google and its community are running a little low, and this is an easy way to restock. == why I'm posting this. - you have spare time and it's more fun than youtube cat videos. fwiw, 95% of the time, I read the docs on new APIs, then go back to work, and this is no exception: - we're not in pain: my company uses SOLR/Lucene on IntoVPS and it works well. It was a big investment last year, but now it's a sunk cost. - we need clustered/grouped results, which isn't in the beta (and it's hard to emulate). hope this helps! adam On Thursday, May 10, 2012 8:04:08 PM UTC-7, Jeff Schnitzer wrote: On Tue, May 8, 2012 at 7:49 PM, Ugorji wrote: If I sink in development time using it, and build my application to depend on it, and then the price is released and it's prohibitive to me, I've lost a fair amount of development time. I concur. It's not necessary to have a final price, but some sort of guidance is needed before investing the days of engineering time required to use it. For example, I have a FTS solution right now using an indexed list property in the datastore. Will this be cheaper or more expensive? Jeff -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/HgPhY5I8iDAJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: how to remove a kind from datastore using python
On May 12, 4:17 am, Kaan Soral kaanso...@gmail.com wrote: Easiest: create zb_news_2 Hard: run zb_news.all().delete() and move on thanks for your reply this is what i did. and working now i cannot access db admin, since i am in China. i need to remove some kind (table) to clean db. anybody can help? :remove kind (table) from datastore thanks -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: HTTP 404 File not found for file downloads
Many thanks for your solution. It worked after configuring app.yaml. Thanks Regards Umamageswari J On Fri, May 11, 2012 at 11:23 PM, Computer_Engineer groupd...@gmail.comwrote: Hi Uma Jeyachandran: *you should upload it as static file,this error because this file is considered in the local host and GAE doesn't find it, you should configure app.yaml and specify this * *file in it , see this link for app.yaml configuration * https://developers.google.com/appengine/docs/python/config/appconfig, you can go to the log for this application to see the error description.* * On Friday, May 11, 2012 11:44:33 AM UTC+3, Uma Jeyachandran wrote: Hi I have an application in appspot.com. When I attempting any file download using a tag in html, it throws file not found error. Please suggest solution. Thank you Umamageswari -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/ndrCX85-4D4J. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.