Re: [google-appengine] AngularJS Directives working bad in Google App Engine
It depends how you generate your template, where you put the AngularJS code in it. As jinja and AngularJS use the same syntax for template variables, you have to take some actions. 1. don't use jinja2 for the template generation or 2. redine jinja2's syntax. I used something like this, to redefine jinja's variable start/end strings. Check out the jinja2 docs how to do this in your environment. # jinja2 templates 'webapp2_extras.jinja2' : {'template_path': ['templates','boilerplate/templates', 'admin/templates'], 'environment_args': { 'extensions': ['jinja2.ext.i18n'], 'variable_start_string': '((', 'variable_end_string': '))'}}, On Mon, Sep 16, 2013 at 4:32 AM, Nelson Paz y Miño npazym...@gmail.comwrote: Hello I'm trying to using the book AngulaJS of Green/Seshadri samples to learn AngularJS, but apparently some directives like the ones {{variable}} seems not to be working. Do I need something to set before using AngularJS with Google App Engine. For example the following code for the form is not working, the first part about the lists works correctly, please help: !DOCTYPE html head meta content=text/html;charset=utf-8 http-equiv=Content-Type meta content=utf-8 http-equiv=encoding titleLearning AngularJS/title script src= https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js; type=text/javascript/script script src=app.js type=text/javascript/script script src=maincontroller.js type=text/javascript/script script type=text/javascriptfunction StartUpController($scope) { $scope.computeNeeded = function() { $scope.needed = $scope.startingEstimate * 10; }; $scope.requestFunding = function() { window.alert(Sorry, please get more customers first.); }; $scope.reset = function() { $scope.startingEstimate = 10; }; }/script /head body div id='content' ng-app='MyTutorialApp' ng-controller='MainController' select ng-model='selectedPerson' ng-options='obj.name for obj in people'/select select ng-model='selectedGenre' option ng-repeat='label in people[selectedPerson.id].music'{{label}}/option /select /div form ng-submit='requestFunding()' ng-controller='StartUpController' Starting: input ng-change='computeNeeded()' ng-model='startingEstimate' Recommendation: {{needed}} buttonFund my startup!/button button ng-click='reset()'Reset/button /form /body /html -- 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/groups/opt_out. -- Siegfried Hirsch hhS - Lipowskystr. 16 - 81373 München - (089) 5484 3564 - skype:shirsch Fax +49 - (0)89 - 943 992 698 - http://siegfriedhirsch.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. For more options, visit https://groups.google.com/groups/opt_out.
[google-appengine] update/ filter record in datastore without use model class?
dbObj = datastore.Query(data, {}) *# here data is table name * dbObj.Run() count = dbObj.Count() *here, count is 0 because record is found* * * key = id!= value = 123 filterObj = { key : value } dbObj.update(filterObj) dbObj.Run() count = dbObj.Count() *here, count is 0* * * *here, operator = , =, =. !=, , =* *but all operator not working* * * *how to filter record without use GQLQuery and model class?* *please somebody help * -- 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/groups/opt_out.
[google-appengine] Re: App Engine Python and Java community support has moved to Stack Overflow
hi my name is lohith i was done a stupid thing when i was deploying app i was accidentally closed. and now error was shown when i was deploying. 01:58 PM Application: hompageof13; version: 1 01:58 PM Starting update of app: hompageof13, version: 1 01:58 PM Getting current resource limits. Password for akurathi.bobby: 01:58 PM Scanning files on local disk. Error 409: --- begin server output --- Another transaction by user akurathi.bobby is already in progress for app: s~hompageof13, version: 1. That user can undo the transaction with appcfg rollback. --- end server output --- and already i have done the commend in the CMD but it was shown error like shown that appcfg.py: error: expected a directory arument after 'rollback' please any one please help me to out i have a impotent update my app. please. -- 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/groups/opt_out.
Re: [google-appengine] Processing search documents at scale
On Fri, Sep 13, 2013 at 9:28 AM, Jason Collins jason.a.coll...@gmail.com wrote: We have 50,000,000+ search documents that we need to change (i.e., delete the old version, create a new version). These are sharded across many individual indexes. I think the per-second rate limit for interacting with the search API is 50/s. We need to leave some room for live traffic, so if we clamp our re-indexing to 25/s, that means it will take 23 days to process all these documents. Does anyone have other ideas? Do you have a Silver or above Google Support package? If you do, you can try calling up Google to discuss a quota increase. See https://developers.google.com/appengine/docs/python/search/#Python_Search_API_quotas_and_pricing where it says: *Customers with Silver, Gold, or Platinum support who need to exceed these limits should contact their support representative to discuss their needs.* Other than that, there's not too many other options. Perhaps the next-best option would be to open up a Lucene ( http://lucene.apache.org/core/ ) instance and temporarily let your customers search with it, while Search API rebuilds the index. - -Vinny P Technology Media Advisor 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/groups/opt_out.
Re: [google-appengine] Re: App Engine Python and Java community support has moved to Stack Overflow
On Mon, Sep 16, 2013 at 5:01 AM, akurathi lohith akurathi.bo...@gmail.com wrote: and already i have done the commend in the CMD but it was shown error like shown that appcfg.py: error: expected a directory arument after 'rollback' please any one please help me to out i have a impotent update my app. please. It's asking for the directory of your application on your local computer. So for example if you store your application at *C:/exampleapp*, then you would type in *appcfg.py rollback C:/exampleapp* - -Vinny P Technology Media Advisor 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/groups/opt_out.
Re: [google-appengine] AngularJS Directives working bad in Google App Engine
Hi, thanks for the quick response but I'm not using jinja2, only HTML pages pointing to AngularJS library and deployed in Google App Engine. El lunes, 16 de septiembre de 2013 02:38:23 UTC-5, mooose escribió: It depends how you generate your template, where you put the AngularJS code in it. As jinja and AngularJS use the same syntax for template variables, you have to take some actions. 1. don't use jinja2 for the template generation or 2. redine jinja2's syntax. I used something like this, to redefine jinja's variable start/end strings. Check out the jinja2 docs how to do this in your environment. # jinja2 templates 'webapp2_extras.jinja2' : {'template_path': ['templates','boilerplate/templates', 'admin/templates'], 'environment_args': { 'extensions': ['jinja2.ext.i18n'], 'variable_start_string': '((', 'variable_end_string': '))'}}, On Mon, Sep 16, 2013 at 4:32 AM, Nelson Paz y Miño npaz...@gmail.comjavascript: wrote: Hello I'm trying to using the book AngulaJS of Green/Seshadri samples to learn AngularJS, but apparently some directives like the ones {{variable}} seems not to be working. Do I need something to set before using AngularJS with Google App Engine. For example the following code for the form is not working, the first part about the lists works correctly, please help: !DOCTYPE html head meta content=text/html;charset=utf-8 http-equiv=Content-Type meta content=utf-8 http-equiv=encoding titleLearning AngularJS/title script src= https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js; type=text/javascript/script script src=app.js type=text/javascript/script script src=maincontroller.js type=text/javascript/script script type=text/javascriptfunction StartUpController($scope) { $scope.computeNeeded = function() { $scope.needed = $scope.startingEstimate * 10; }; $scope.requestFunding = function() { window.alert(Sorry, please get more customers first.); }; $scope.reset = function() { $scope.startingEstimate = 10; }; }/script /head body div id='content' ng-app='MyTutorialApp' ng-controller='MainController' select ng-model='selectedPerson' ng-options='obj.name for obj in people'/select select ng-model='selectedGenre' option ng-repeat='label in people[selectedPerson.id].music'{{label}}/option /select /div form ng-submit='requestFunding()' ng-controller='StartUpController' Starting: input ng-change='computeNeeded()' ng-model='startingEstimate' Recommendation: {{needed}} buttonFund my startup!/button button ng-click='reset()'Reset/button /form /body /html -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- Siegfried Hirsch hhS - Lipowskystr. 16 - 81373 München - (089) 5484 3564 - skype:shirsch Fax +49 - (0)89 - 943 992 698 - http://siegfriedhirsch.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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [google-appengine] Re: App Engine VM-based Backends - Trusted Tester Sign-up
Sorry, missed it in my search but there was already an open issue 9950. I indicated mine is a dupe but I don't think I can retract it. On Monday, September 16, 2013 1:52:17 PM UTC-7, Brian Tosch wrote: I opened an issue for adding Go support. https://code.google.com/p/googleappengine/issues/detail?id=9964 On Wednesday, August 28, 2013 10:44:03 PM UTC-7, Takashi Matsuo (Google) wrote: Hi Marcel, Currently VM-based backends support Java and Python2.7. I'd appreciate it if you could file issues for supporting PHP and Go at: https://code.google.com/p/googleappengine/issues/list?can=2q=Component%3DVMRuntime I'd like to know how many people have interests in it. Thanks for asking! -- Takashi On Tue, Aug 27, 2013 at 3:37 AM, Marcel Manz marce...@gmail.com wrote: Will those VM-based backends support all runtimes? So Java, Python and PHP? -- Marcel -- 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. To post to this group, send email to google-a...@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out. -- Takashi Matsuo | Developers Programs Engineer | tma...@google.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/groups/opt_out.
Re: [google-appengine] Re: App Engine VM-based Backends - Trusted Tester Sign-up
I opened an issue for adding Go support. https://code.google.com/p/googleappengine/issues/detail?id=9964 On Wednesday, August 28, 2013 10:44:03 PM UTC-7, Takashi Matsuo (Google) wrote: Hi Marcel, Currently VM-based backends support Java and Python2.7. I'd appreciate it if you could file issues for supporting PHP and Go at: https://code.google.com/p/googleappengine/issues/list?can=2q=Component%3DVMRuntime I'd like to know how many people have interests in it. Thanks for asking! -- Takashi On Tue, Aug 27, 2013 at 3:37 AM, Marcel Manz marce...@gmail.comjavascript: wrote: Will those VM-based backends support all runtimes? So Java, Python and PHP? -- Marcel -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- Takashi Matsuo | Developers Programs Engineer | tma...@google.comjavascript: -- 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/groups/opt_out.
Re: [google-appengine] AngularJS Directives working bad in Google App Engine
Is the simple Hello World working for you? http://docs-angularjs-org-dev.appspot.com/cookbook/helloworld -- 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/groups/opt_out.
[google-appengine] Deleted property gets counted towards Write Ops - by composite indexes - is this the case?
class Test(ndb.Expando): a=ndb.StringProperty(repeated=True) b=ndb.StringProperty(repeated=True) c=ndb.BooleanProperty() d=ndb.StringProperty() t=Test( a=[1,2,3,4,5,6,7,8,9,10], b=[1,2,3,4,5,6,7,8,9,10,11,12], c=True, d=gg ) delattr(t,c) t.put() - kind: Test properties: - name: a - name: b - name: c - name: d direction: desc For the above operation, SDK 1.8.2 calculates Write Ops as 172 - after c gets deleted, the SDK sets it to None, and None is calculated in the Write Ops, as a composite index member I've tested the same thing on AppEngine itself, although I can't verify 100%, the composite indexes is 0 bytes, so I'm assuming this is a SDK bug? 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/groups/opt_out.
[google-appengine] 1.8.5 Pre-Release SDKs are now available.
Hello! Pre-release SDKs for Python, PHP and Java found here: http://code.google.com/p/**googleappengine/downloads/listhttp://code.google.com/p/googleappengine/downloads/list Please see the pre-release notes below. Cheers, Richmond Manzana Technical Program Manager Google App Engine App Engine SDK - Pre-Release Notes Version 1.8.5 Java == - The max_concurrent_requests setting is now configurable per version/engine. http://code.google.com/p/googleappengine/issues/detail?id=7927 - The Conversion API, a decommissioned feature, has been removed from the runtime. Applications in production that import the API should be fixed as soon as possible. - Fixed an issue with the Admin Console Datastore Viewer throwing errors when fetching UTF-8 kinds. https://code.google.com/p/googleappengine/issues/detail?id=7570 - Fixed an issue with the Datastore Admin not being able to backup to another app. https://code.google.com/p/googleappengine/issues/detail?id=9808 Python PHP == - The max_concurrent_requests setting is now configurable per version/engine. http://code.google.com/p/googleappengine/issues/detail?id=7927 - Fixed an issue with the Admin Console Datastore Viewer throwing errors when fetching UTF-8 kinds. https://code.google.com/p/googleappengine/issues/detail?id=7570 - Fixed an issue with the Datastore Admin not being able to backup to another app. https://code.google.com/p/googleappengine/issues/detail?id=9808 Python == - Developers can now use pdb when debugging python applications in the dev_appserver. https://code.google.com/p/googleappengine/issues/detail?id=9012 https://code.google.com/p/googleappengine/issues/detail?id=9027 PHP == - Modules are now supported for the PHP Runtime. - The Log Service API is now available. - The PHP interpreter has been upgraded from PHP 5.4.17 to PHP 5.4.19. - The /e modifier for mb_ereg_replace has been disabled. - The PHP interpreter has been switched to the JSON-C library. - The Mac OSX SDK now includes a PHP interpreter, installing PHP separately is no longer required. - The Windows SDK now includes a PHP interpreter, installing PHP separately is no longer required. - Fixed an issue where files that contain an '@' could not be deployed. https://code.google.com/a/google.com/p/google-appengine-php-trusted-tester /issues/detail?id=6 -- 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/groups/opt_out.
Re: [google-appengine] 1.8.5 Pre-Release SDKs are now available.
Dear Richmond Thanks for Informing about app engine version 1.8.5 -Shilendra CEO, Cloudgraff Inc. On Tue, Sep 17, 2013 at 7:32 AM, Richmond Manzana richm...@google.comwrote: Hello! Pre-release SDKs for Python, PHP and Java found here: http://code.google.com/p/**googl**eappengine/downloads/listhttp://code.google.com/p/googleappengine/downloads/list Please see the pre-release notes below. Cheers, Richmond Manzana Technical Program Manager Google App Engine App Engine SDK - Pre-Release Notes Version 1.8.5 Java == - The max_concurrent_requests setting is now configurable per version/engine. http://code.google.com/p/googleappengine/issues/detail?id=7927 - The Conversion API, a decommissioned feature, has been removed from the runtime. Applications in production that import the API should be fixed as soon as possible. - Fixed an issue with the Admin Console Datastore Viewer throwing errors when fetching UTF-8 kinds. https://code.google.com/p/googleappengine/issues/detail?id=7570 - Fixed an issue with the Datastore Admin not being able to backup to another app. https://code.google.com/p/googleappengine/issues/detail?id=9808 Python PHP == - The max_concurrent_requests setting is now configurable per version/engine. http://code.google.com/p/googleappengine/issues/detail?id=7927 - Fixed an issue with the Admin Console Datastore Viewer throwing errors when fetching UTF-8 kinds. https://code.google.com/p/googleappengine/issues/detail?id=7570 - Fixed an issue with the Datastore Admin not being able to backup to another app. https://code.google.com/p/googleappengine/issues/detail?id=9808 Python == - Developers can now use pdb when debugging python applications in the dev_appserver. https://code.google.com/p/googleappengine/issues/detail?id=9012 https://code.google.com/p/googleappengine/issues/detail?id=9027 PHP == - Modules are now supported for the PHP Runtime. - The Log Service API is now available. - The PHP interpreter has been upgraded from PHP 5.4.17 to PHP 5.4.19. - The /e modifier for mb_ereg_replace has been disabled. - The PHP interpreter has been switched to the JSON-C library. - The Mac OSX SDK now includes a PHP interpreter, installing PHP separately is no longer required. - The Windows SDK now includes a PHP interpreter, installing PHP separately is no longer required. - Fixed an issue where files that contain an '@' could not be deployed. https://code.google.com/a/google.com/p/google-appengine-php-trusted-tester /issues/detail?id=6 -- 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/groups/opt_out. -- Thanks, Shilendra -- 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/groups/opt_out.
Re: [google-appengine] 1.8.5 Pre-Release SDKs are now available.
On Mon, Sep 16, 2013 at 9:02 PM, Richmond Manzana richm...@google.com wrote: - The max_concurrent_requests setting is now configurable per version/engine. http://code.google.com/p/googleappengine/issues/detail?id=7927 THANK YOU! This feature alone will save huge amounts of money, especially for small applications. - -Vinny P Technology Media Advisor 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/groups/opt_out.