[google-appengine] Re: Search API over quota
OK, now that my quota has been reset, I can see things a bit more clearly. It seems the count for API calls is a bit more aggressive than I originally thought. My code just indexed 88 documents and accumulated about 1,200 of the 20,000 allotted calls. Document.Builder builder = Document.newBuilder(); builder.setId(id); builder.addField(Field.newBuilder().setName(name).setText(name)); builder.addField(Field.newBuilder().setName(description).setText(description)); Document document = builder.build(); PutResponse putResponse = index.put(document); Is that a total of 12 API calls or just 1? Thanks, Mike On Monday, April 15, 2013 12:13:30 PM UTC+3, Mike Dougherty wrote: Hello, I am using the Search API for an application. I understand that it is limited to 20,000 calls per 24 hours on a free application. But I expected that limit to not be a hard limit once we are using a paid application. How do I remove this limit? Also, it seems that the limit was not reset when the other quotas were reset this morning. I am pretty confident that my application has not made 20,000 calls in the last 2 hours. Thanks, Mike -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [google-appengine] Re: NDB Distinct and group by
I hope so too :) thanks Greg. Saludos. Moisés Belchín. 2013/4/15 Greg Jones greg.jo...@gmail.com That wasn't really an announcement, just a request for code-review, which seems to be ongoing. Hopefully this means it will be in the next release. On Monday, 15 April 2013 12:08:53 UTC+1, Moises Belchin wrote: Hi all, I've read this announcement and patch: https://groups.google.com/**forum/?fromgroups=#!topic/** appengine-ndb-discuss/**GMBlHAaOOekhttps://groups.google.com/forum/?fromgroups=#!topic/appengine-ndb-discuss/GMBlHAaOOek https://codereview.appspot.**com/7865043/https://codereview.appspot.com/7865043/ However I can't use DISTINCT or GROUP BY in the latest version of SDK 1.7.7 Can someone bring some light about this? Thanks so much. Regards. Moisés Belchín. -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[google-appengine] AppEngine and Adwords Api
Hi, maybe it is too obvious, but I cannot find any documentation how to get Adwords Api to work on App Engine production. Which dependencies to I have to use? And what XML lib has to be on the classpath? Somehow I am out of luck getting the lib to work... I posted my question on StackExchange - any help is really appreciated :) http://stackoverflow.com/questions/16014774/adwords-api-on-appengine-java Many thanks in advance! Best, Raphael -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [google-appengine] Re: security issue (strange behavior)
I have been meaning to post a similiar response. I wouldn't expect anything but excessive abuse of an open form. T On Tuesday, April 16, 2013 12:36:49 PM UTC+8, Jeff Schnitzer wrote: You have a web form online and spammers are filling it with spam? That's what happens when you put unauthenticated forms online. Put FB or Persona auth on it. Jeff On Mon, Apr 15, 2013 at 10:40 PM, @Mlaynes mlaynes...@gmail.comjavascript: wrote: hi to all again.. How you can see, the attacks of robots continues.. the result is that they are consuming my free quota on GAE service each day and my page will be broken almost all day ; ( https://lh4.googleusercontent.com/-7kv_23bhGdk/UWy2j9x8aFI/Cz0/G0gJfUwcKrM/s1600/igguestbook_issue01.jpg for lack of time, I have not implemented honeyput on fields of my form yet, but I hope will do it soon to measure its effectiveness. Currently, I 've placed a restrictions on the fields of form but it's insufficient , but at least the empty ads aren't show (of course, empty ads are my restriccions, other way, almost all will be sexual ads) what surprises me is the technic that uses robots to save data even with the restrictions of Javascript and server side that I have placed (seeking to limit empty recordings, this barrier they are jumping smoothly) well.. will continue my tests @Mlaynes -- 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-appengi...@googlegroups.com javascript:. To post to this group, send email to google-a...@googlegroups.comjavascript: . Visit this group at http://groups.google.com/group/google-appengine?hl=en . For more options, visit https://groups.google.com/groups/opt_out. -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[google-appengine] Re: 'cssselect seems not to be installed. '
Yes you local install might but apengine runs in a sandbox T On Tuesday, April 16, 2013 12:32:39 PM UTC+8, NP wrote: You're right. I copied the cssselector folder into my project directory and it resolved the issue. I had thought I didn't need to do that since the lxml folder itself had the cssselect.py file within it. On Monday, April 15, 2013 8:32:21 PM UTC-7, timh wrote: Remember every 3rd party lib you use must either be in the SDK (lxml for instance) or copied/installed into your project and the sys.path needs to reflect where in your project the library is located, it also needs to be deployed with your application. On Tuesday, April 16, 2013 11:28:06 AM UTC+8, NP wrote: I'm running python 2.7 on a mac. I have lxml (3.1.1) installed. I also downloaded and installed cssselector since it no longer comes with lxml In my python file, I have the following import lxml.etree from lxml.cssselect import CSSSelector When I run the python file (F5), there are no errors and I get my expected output. But if I launch my app from Google App Engine (on the dev server), I get an error and the log file shows the following File /Library/Python/2.7/site-packages/lxml/cssselect.py, line 18, in module raise ImportError('cssselect seems not to be installed. ' ImportError: cssselect seems not to be installed. See http://packages.python.org/cssselect/ I found this link http://code.google.com/p/googleappengine/issues/detail?id=9136 Anybody have a solution/work around? -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[google-appengine] Re: Multiple pages on app engine
On Sunday, April 14, 2013 6:27:55 PM UTC-5, Wilson Styres wrote: So I want to have multiple pages on my site so for example I have: example.appspot.com and I want to add a: example.appspot.com/hello Hello Wilson, It depends on the programming language and type of page you're using. If you're just using a static page, then you can put a folder and a static index.html in that folder. For example, to do example.appspot.com/hello, you would put a folder named hello in your root directory, then put index.html in that folder. For Java, you declare it in your web.xml: https://developers.google.com/appengine/docs/java/config/webxml#About_Deployment_Descriptors servlet servlet-namecomingsoon/servlet-name servlet-classmysite.server.ComingSoonServlet/servlet-class /servlet servlet-mapping servlet-namecomingsoon/servlet-name url-pattern/*/url-pattern /servlet-mapping For Python, you can declare the handlers in your app.yaml: https://developers.google.com/appengine/docs/python/gettingstarted/helloworld handlers: - url: /.* script: helloworld.py For Go, you have to write the handlers into your Go file. For example: func init() { http.HandleFunc(/, handler) http.HandleFunc(/hello/, helloHandler) } - -Vinny P Technology Media Advisor Chicago, IL @GOV on AppDotNet: https://alpha.app.net/gov -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [google-appengine] Re: security issue (strange behavior)
On Monday, April 15, 2013 11:36:49 PM UTC-5, Jeff Schnitzer wrote: You have a web form online and spammers are filling it with spam? That's what happens when you put unauthenticated forms online. Put FB or Persona auth on it. +1. Put any sort of authentication on it. You can easily activate Google Accounts sign in with a few lines of code: https://developers.google.com/appengine/docs/java/users/overview Also, I notice that your Datastore Reads is very high, but your Datastore Writes is actually fairly low ( https://groups.google.com/d/msg/google-appengine/O-juv811wok/7WUNMsByfUEJ ). You'd be able to keep your site up more if you copied your datastore data to memcache, and then when a request comes in, try to pull data from memcache before querying the datastore. - -Vinny P Technology Media Advisor Chicago, IL @GOV on AppDotNet: https://alpha.app.net/gov -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[google-appengine] Re: Webpages are not updating properly after a datastore operation performed
Are you using AJAX, or a generated page? If AJAX, you should put the new object in the display on successful write. If generated, you're probably generating the new page before the write/index update completes. On Tuesday, April 16, 2013 7:33:37 AM UTC-5, Nijin Narayanan wrote: Hi, When a datastore operation performed via GET/POST, the web pages are not updating its content properly. After a refresh will shows the correct content. This issue was seen on both SDK and Production environment and it occurred randomly on different appengine appliactions. Does anyone have the same issue ? Please help me to resolve this. -Nijin Narayanan -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[google-appengine] Re: AppEngine and Adwords Api
From your StackOverflow post: It breaks in production - for instance: java.lang.SecurityException: java.lang.IllegalAccessException: Reflection is not allowed on private javax.xml.ws.wsaddressing.W3CEndpointReference$Address javax.xml.ws.wsaddressing.W3CEndpointReference.address You're attempting to package your own JAX-WS library, which is why AppEngine Production is complaining. AppEngine-Prod uses its own custom JAX-WS implementation, you cannot override that with your own bundled libraries (see here for some people with the same issue, search the page for the word *jaxws* http://code.google.com/p/googleappengine/issues/detail?id=4910 ). Try repackaging the libraries and skipping the XML parsing services. Some brief searching turns up this blog post, it looks like this guy solved the problem, but I haven't used the code myself so take it with a pinch of salt: http://penumbro.us/post/1135755221/adwords-api-on-app-engine-java-part-3 . - -Vinny P Technology Media Advisor Chicago, IL @GOV on AppDotNet: https://alpha.app.net/gov On Tuesday, April 16, 2013 3:33:30 AM UTC-5, ra wrote: Hi, maybe it is too obvious, but I cannot find any documentation how to get Adwords Api to work on App Engine production. Which dependencies to I have to use? And what XML lib has to be on the classpath? Somehow I am out of luck getting the lib to work... I posted my question on StackExchange - any help is really appreciated :) http://stackoverflow.com/questions/16014774/adwords-api-on-appengine-java Many thanks in advance! Best, Raphael -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[google-appengine] IRC Office hour tomorrow 4/17 8am PST
Hello everyone, AppScale is an open source implementation of Google App Engine. We are having another IRC office hour tomorrow. Join us on #appscale at freenode.com. Come hear what the company is up to and ask questions. Hope to see you all there! -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [google-appengine] how to porting code
可能,但明显要改代码。 在 2013-4-15 下午4:58, leizouh...@gmail.com写道: I am a coder in China.I wrote a program with google API.And i deployed it on google app engine.But i suddenly realized that users can't vist google app engine in China except that they use a VPN.So i want to porting the code to other app engine.Is it possible?Is it difficult? -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[google-appengine] Re: security issue (strange behavior)
Hi friends.. interesting options... 1) put FB or Google+ OAuth on it.. yes, a good option, but I will maintain open textarea field some time to do some personal testings about this issue (the fields hidden are now recording empty ads..) 2) yes Vinny, I had noticed that the Datastore Read operation quota it was much larger than write operations.. your solution is very interesting (using memcache), of course I go to implement it best regards @Mlaynes http://mlaynessanchez.blogspot.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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [google-appengine] Re: Google App Engine SDK 1.7.7 is now available!
On 4/10/13 2:35 PM, Francois MASUREL wrote: Yes, without success. François Masurel Hi, The Java App Engine 1.7.7.1 SDK is now available with a fix for this windows specific issue. The Eclipse SDK plugin, as well as the App Engine Maven plugin have also been updated. Happy coding... On Wed, Apr 10, 2013 at 11:28 PM, Takashi Matsuo tmat...@google.com mailto:tmat...@google.com wrote: Hi Francois, Thanks for the report. Have you tried it with --enable_jar_splitting? On Wed, Apr 10, 2013 at 1:59 PM, Francois Masurel f.masu...@gmail.com mailto:f.masu...@gmail.com wrote: Getting also the same appengine-api-1.0-sdk-1.7.7.jar is too large error. I'm on Windows 7 x64 with latest GAE and Java 7 SDK and the appengine-api-1.0-sdk-1.7.7.jar is 30.6MB big. Thanx for your help. François On Wednesday, April 10, 2013 9:15:04 PM UTC+2, Sekhar wrote: I'm getting a appengine-api-1.0-sdk-1.7.7.jar is too large error when deploying. Are we expected to split this manually or is there a workaround? On Tuesday, April 9, 2013 3:44:38 PM UTC-7, Richmond Manzana wrote: Hi everyone, We're happy to announce that we have released the 1.7.7 SDK. This release includes new features such as updates to the Maven Plugin, and Outbound Sockets. We're also happy to announce that we have removed the weekly $2.10 minimum spend for billing enabled apps :) For more details, please read our blog post and release notes. Announcement: http://googleappengine.blogspot.com/2013/04/app-engine-177-released.html Releae notes for Python: http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes Release notes for Java: http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes Release notes for Go: https://code.google.com/p/googleappengine/wiki/SdkForGoReleaseNotes Cheers! Richmond Manzana Technical Program Manager Google App Engine -- 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 mailto:google-appengine%2bunsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com mailto:google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- Takashi Matsuo | Developers Programs Engineer | tmat...@google.com mailto:tmat...@google.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/r5JNlfkqq94/unsubscribe?hl=en. To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscr...@googlegroups.com mailto:google-appengine%2bunsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com mailto:google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.