Re: [google-appengine] Re: Error caused by webapp2.uri_for
Vinny, Thanks for your answer. I have looked into the suggestion but can find difference with my code. I get the error only when i upload a new code to the app engine. If i restarted it manually it works. Error 500: 'uri_for' is undefined any ideas? Thanks On Tuesday, January 14, 2014 6:14:17 AM UTC+2, Vinny P wrote: > > On Sun, Jan 12, 2014 at 4:30 AM, Ronen Azachi > > wrote: > >> having same problem. I am using the boilerplate " >> https://github.com/coto/gae-boilerplate"; >> did you resolve this issue? >> >> On Monday, July 16, 2012 10:34:35 AM UTC+3, Thomas Marban wrote: >>> >>> Ever since including webapp2.uri_for in my webapp2_extras.jinja2 config >>> via >>> >>> 'globals': { 'uri_for' : webapp2.uri_for }, >>> >>> I'm getting an undefined error every time I change a python file and >>> load the app for the first time. It won't come up on subsequent requests. >>> Also tried to inject it into globals via a Jinja2 factory but same result. >>> Any hints? >>> >>> UndefinedError: 'uri_for' is undefined >>> >>> > > The fix is to insert *uri_for* as a global in some manner. There's many > ways to do this, but you can try the strategy outlined here: > http://stackoverflow.com/questions/7081250/webapp2-jinja2-how-can-i-get-uri-for-working-in-jinja2-views > > > > - > -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] urlfetch/ urllib not returning all content
Hi Vinny, Thanks for responding. I did some more investigating today and it was a silly mistake by me. I was passing 'domain.com' thinking it was 'domain.com/abc' so the content was similar and I assumed App Engine was to blame. :) On Tuesday, 14 January 2014 02:48:54 UTC, Vinny P wrote: > > On Sun, Jan 12, 2014 at 3:57 PM, Ben Andrews > > wrote: > >> I'm hoping for some help with urlfetch. >> >> I run urlfetch.fetch(url) and see the content. However, there are >> elements missing. For example: >> >> Original website: >> http://www.facebook.com/2008/fbml"; >> >> urlfetch returns: >> >> This continues throughout the whole document. Is this expected behaviour >> or am I doing something wrong? >> >> > > First of all, the XML reference tends to be for inserting Facebook content > (Like buttons, etc) into web pages. Are you interested in maintaining that > content? For most purposes you could skip it and not lose anything > important. > > If you must retain that text, what URL are you fetching from, and what is > the document intended for? > > - > -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] Tutorial for using GAE with Java
Ok, then I assume that the development of the App is make normally in my localhost and when I have something to test in the cloud I can update to App Engine and it will work the same in my machine? I am right? El lunes, 13 de enero de 2014 22:23:02 UTC-6, Vinny P escribió: > > On Mon, Jan 13, 2014 at 12:02 PM, Juan de Dios Becerra < > j.bece...@gmail.com > wrote: > >> >> I am new in GAE and I have in mind the development of an application >> using Admin SDK and Google + Domains API, where can find some tutorial or >> directions for starting GAE with Java, and if somebody knows if it is >> possible to use the mentioned services(Admin SDK and G + Domains API) I >> would be very thankful with any information. >> > > > Yes, you can use the Admin and Google+ SDKs from App Engine. > > As for tutorials and code examples, you can use the App Engine tutorial at > https://developers.google.com/appengine/docs/java/gettingstarted/introduction > . > As for the Admin SDK and Google+ source code examples, you can find them at > the relevant documentation pages. For example, here's how to create a > circle (remember to click Java in the code example tab): > https://developers.google.com/+/domains/circles/creating . > > > - > -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.
[google-appengine] Re: Stuck Trying to apply certificate to Custom Domain
Here's how I did it: 1. Login to admin.google.com with your Google Apps user/pwd for the domain 2. From the Google Apps "Admin Console" 3. More Controls - Security - Show more - SSL for Custom Domains 4. You'll then see a form field to enter your App Engine application id and press the button below it 5. If you're lucky enough for this to work correctly... you can then setup and upload your SSL cert files On Monday, January 13, 2014 4:04:22 PM UTC-5, Troy Matthews wrote: > > My engineering team has created an app and asked me to provide (and > install) a SSL cert. I purchased one for www.domain.com and it covers > the naked domain. I have documentation that explains how to install it, > but at step 5 I suddenly deviate from the directions. My domain only has > the new console with no option to the classic view, and thats the > documentation I have (classic console). Can any one share current docs on > how to do it? I already posted with the link to the doc, but it seems to > have been caught as spam or something. Any help is appreciated, > > Troy > -- 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: 1.8.9 Pre-Release SDKs are now available.
Hi Richmond, how can I get the latest via maven? I have tried various repositories, but no luck. Thanks On Saturday, 11 January 2014 00:26:59 UTC, Richmond Manzana wrote: > > Happy New Year! > > We wanted to inform you that the pre-release SDKs for Python, PHP and Java > are now available and are found here: > http://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.9 > > Python & PHP > == > - Renamed appcfg start to appcfg start_module_version and stop to > stop_module_version. > - Fixed an issue with ID allocation collisions in the Datastore. > https://code.google.com/p/googleappengine/issues/detail?id=10134 > - Fixed an issue with Cloud Storage calls failing in the dev_appserver. > https://code.google.com/p/googleappengine/issues/detail?id=10181 > https://code.google.com/p/googleappengine/issues/detail?id=10185 > - Fixed an issue with the dev_appserver not starting on Windows when using > versions of Python earlier than 2.7.2. > https://code.google.com/p/googleappengine/issues/detail?id=10363 > > > Python > == > - Deprecated start_module, start_module_async, stop_module, > stop_module_async > get_modules_async, get_versions_async, get_default_version_async, > get_num_instances_async, get_hostname_async and added start_version, > start_version_async, stop_version, stop_version_async as replacements in > the > Modules API. > - Added verbose_name support for ComputedProperty in NDB. > > https://code.google.com/p/appengine-ndb-experiment/issues/detail?id=239 > - Fixed an issue with deffered.defer not waiting for async operations. > > https://code.google.com/p/appengine-ndb-experiment/issues/detail?id=238 > - Fixed an issue with LocalStructureProperty not handling None value in > NDB. > > https://code.google.com/p/appengine-ndb-experiment/issues/detail?id=233 > - Fixed an issue NDB not working with sqlite. > https://code.google.com/p/googleappengine/issues/detail?id=8381 > - Fixed an issue with debug not working with PyDev in 1.8.8. > https://code.google.com/p/googleappengine/issues/detail?id=10390 > - Fixed an issue with object properties not being retrieved in NDB. > https://code.google.com/p/googleappengine/issues/detail?id=10467 > > > PHP > = > - Renamed startModule, stopModule to startVersion, stopVersion in the > Modules > API. > - Added support for the ftp extension. > - Added support for the zip extension. > - Added support for the gethostname() function. > - A proper "billing required" message is now given when users attempt to > use > Sockets API on free apps. > - Fixed an issue with header keys and values having whitespaces preventing > responses from being compressed. > - Fixed an issue with content-type and metadata not being updated when > renaming > Google Cloud Storage objects. > - Fixed an issue with Cloud Storage rename requests failing when an object > has > a space in its name. > > > Java > == > - Renamed appcfg start to appcfg start_module_version and stop to > stop_module_version. > - The following methods are deprecated in the Modules API and will be > removed > in an upcoming release: > getModulesAsync > getVersionsAsync > getDefaultVersionAsync > getNumInstancesAsync > getVersionHostnameAsync > getInstanceHostnameAsync > startModule (replaced by startVersion) > startModuleAsync (replaced by startVersionAsync) > stopModule (replaced by stopVersion) > stopModuleAsync (replaced by stopVersionAsync) > getModuleHostname (replaced by getVersionHostname and > getInstanceHostname) > getModuleHostnameAsync > - The following exceptions have been deprecated in the Modules API and > will be > removed in a following release: > InvalidInstanceException > InvalidModuloeException > InvalidVersionException > - The following exceptions have been removed in the Modules API: > ModuleAlreadyStartedException > ModuleAlreadyStoppedException > - Modules are now supported in the dev_appserver Development Console. > - Fixed an issue with ID allocation collisions in the Datastore. > https://code.google.com/p/googleappengine/issues/detail?id=10134 > -- 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: 1.8.9 Pre-Release SDKs are now available.
Today all of the sudden in my Python app the code `str(datetime.datetime)` started producing results with a time zone offset (e.g. +) at the end where it wasn't done before. The only difference I can see to my app is the change from 1.8.8 to 1.8.9. It broke some code that was expecting datetime information in a certain format which we have since fixed but it was a nasty surprise none-the-less. Was this an intended side effect of the SDK update? On Friday, January 10, 2014 7:26:59 PM UTC-5, Richmond Manzana wrote: > > Happy New Year! > > We wanted to inform you that the pre-release SDKs for Python, PHP and Java > are now available and are found here: > http://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.9 > > Python & PHP > == > - Renamed appcfg start to appcfg start_module_version and stop to > stop_module_version. > - Fixed an issue with ID allocation collisions in the Datastore. > https://code.google.com/p/googleappengine/issues/detail?id=10134 > - Fixed an issue with Cloud Storage calls failing in the dev_appserver. > https://code.google.com/p/googleappengine/issues/detail?id=10181 > https://code.google.com/p/googleappengine/issues/detail?id=10185 > - Fixed an issue with the dev_appserver not starting on Windows when using > versions of Python earlier than 2.7.2. > https://code.google.com/p/googleappengine/issues/detail?id=10363 > > > Python > == > - Deprecated start_module, start_module_async, stop_module, > stop_module_async > get_modules_async, get_versions_async, get_default_version_async, > get_num_instances_async, get_hostname_async and added start_version, > start_version_async, stop_version, stop_version_async as replacements in > the > Modules API. > - Added verbose_name support for ComputedProperty in NDB. > > https://code.google.com/p/appengine-ndb-experiment/issues/detail?id=239 > - Fixed an issue with deffered.defer not waiting for async operations. > > https://code.google.com/p/appengine-ndb-experiment/issues/detail?id=238 > - Fixed an issue with LocalStructureProperty not handling None value in > NDB. > > https://code.google.com/p/appengine-ndb-experiment/issues/detail?id=233 > - Fixed an issue NDB not working with sqlite. > https://code.google.com/p/googleappengine/issues/detail?id=8381 > - Fixed an issue with debug not working with PyDev in 1.8.8. > https://code.google.com/p/googleappengine/issues/detail?id=10390 > - Fixed an issue with object properties not being retrieved in NDB. > https://code.google.com/p/googleappengine/issues/detail?id=10467 > > > PHP > = > - Renamed startModule, stopModule to startVersion, stopVersion in the > Modules > API. > - Added support for the ftp extension. > - Added support for the zip extension. > - Added support for the gethostname() function. > - A proper "billing required" message is now given when users attempt to > use > Sockets API on free apps. > - Fixed an issue with header keys and values having whitespaces preventing > responses from being compressed. > - Fixed an issue with content-type and metadata not being updated when > renaming > Google Cloud Storage objects. > - Fixed an issue with Cloud Storage rename requests failing when an object > has > a space in its name. > > > Java > == > - Renamed appcfg start to appcfg start_module_version and stop to > stop_module_version. > - The following methods are deprecated in the Modules API and will be > removed > in an upcoming release: > getModulesAsync > getVersionsAsync > getDefaultVersionAsync > getNumInstancesAsync > getVersionHostnameAsync > getInstanceHostnameAsync > startModule (replaced by startVersion) > startModuleAsync (replaced by startVersionAsync) > stopModule (replaced by stopVersion) > stopModuleAsync (replaced by stopVersionAsync) > getModuleHostname (replaced by getVersionHostname and > getInstanceHostname) > getModuleHostnameAsync > - The following exceptions have been deprecated in the Modules API and > will be > removed in a following release: > InvalidInstanceException > InvalidModuloeException > InvalidVersionException > - The following exceptions have been removed in the Modules API: > ModuleAlreadyStartedException > ModuleAlreadyStoppedException > - Modules are now supported in the dev_appserver Development Console. > - Fixed an issue with ID allocation collisions in the Datastore. > https://code.google.com/p/googleappengine/issues/detail?id=10134 > -- 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 a
Re: [google-appengine] Re: Error caused by webapp2.uri_for
On Tue, Jan 14, 2014 at 2:13 AM, Roninio wrote: > I have looked into the suggestion but can find difference with my code. > I get the error only when i upload a new code to the app engine. If i > restarted it manually it works. > Usually the fix outlined in the Stack Overflow link above fixes the problem. Since you're using GAE-Boilerplate, you may want to file an issue in their issue tracker and see if they can reproduce the problem. - -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] Tutorial for using GAE with Java
On Tue, Jan 14, 2014 at 8:43 AM, Juan de Dios Becerra < j.becerra4...@gmail.com> wrote: > Ok, then I assume that the development of the App is make normally in my > localhost and when I have something to test in the cloud I can update to > App Engine and it will work the same in my machine? I am right? > Yes. The development server runs on your local machine; you can test your application on it then upload to App Engine when you've finished writing your app. - -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.