Re: [google-appengine] Re: Problem while Deploying to App Engine

2014-01-15 Thread Vinny P
On Tue, Jan 14, 2014 at 3:12 PM, Hemali Kamani 
 wrote:

>I also am facing the exact same issue mentioned above and i am also in
> a corporate network. were any of you able to resolve it??
>


Go into Eclipse Preferences, General, Network Connections. Look for any
entries marked SSL or HTTPS, and edit those entries to go through port 80
on your company's proxy server. Here's a pic of how it looks like:
http://imgur.com/wh3IG8L

-
-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] Google App Engine SDK 1.8.9 is now available!

2014-01-15 Thread Richmond Manzana
Hi Everyone,

Fresh new release for the New Year!

We're pleased to announce the GAE 1.8.9 SDKs.

Release notes for Python/PHP:
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.
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: Executing code outside of a transaction (python + NDB)

2014-01-15 Thread timh
Why not just use the non transactional decorator, 

@ndb.non_transactional
@ndb.non_transactional(allow_existing=True)Decorator to ensure that a 
function runs *outside* a transaction.

*Arguments:*
allow_existingIf True (the default) and if the decorated function is called 
by code in a transaction, the function runs independent of the transaction. 
If False and if the decorated function is called by code in a transaction, 
it raises an exception.
On Wednesday, January 15, 2014 7:34:04 PM UTC+8, Ofri Wolfus wrote:
>
> Hi everyone,
>
> I'm new to python, appengine and this group so please bear with me :)
>
> I have a function that updates a set of entities from different entity 
> groups. The set's size will get bigger than the allowed size of cross-group 
> transactions. The issue is, this function may get called from within an 
> existing transaction.
>
> Now the actual task of the function is not important to the running 
> transaction, and so it should be executed outside of it. What's the best 
> way to accomplish such a thing without restructuring the existing code?
>
> My current solution (which is quite bad IMO) is to run the worker function 
> as a tasklet, then wrap it in an outer function that blocks on the 
> tasklet's result. Something like the following (typed in mail):
>
> @ndb.tasklet
> def worker_func():
> # do some work
> raise ndb.Return(True)
>
> def wrapper():
> assert worker_func() == True
>
> Thanks,
> Ofri
>

-- 
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

2014-01-15 Thread Doug Anderson
I have been stuck at step #4 on numerous occasions.  For me when it doesn't 
work... after entering the App Engine application ID it takes me to an App 
Engine "start" page to create a new application (under the same Google Apps 
account.  This is not the proper behavior.  What it's supposed to happen 
is... the application ID is looked up and you should be given a chance to 
login to your App Engine account (if it differs from your Google Apps 
account).  You'll then be on a page where you can allocate SNI slots and/or 
choose VIP and upload your certs.  If this is successful then the "SSL for 
Custom Domains" slideout in Google Apps changes (from asking for an 
application ID) to allowing you to edit your SSL config (add more SNI 
slots, add/delete certs, etc)

I have contacted the Google Apps support team a couple times when this 
problem occurred.  For me the problem always resolved within 2-3 days of 
persistent attempts (a few times throughout each day and eventually it 
worked).  The support person I contacted said he would pass the issue along 
to the development team but who knows what impact that will have.  If you 
are also having trouble at stage #4 in Google Apps I suggest you contact 
the Apps support team (via the phone based help).  I believe my issue was 
#03800988 if you want to reference it.

I eagerly await independent App Engine domain management!!!

On Wednesday, January 15, 2014 9:31:17 AM UTC-5, Troy Matthews wrote:
>
> Thanks Doug, I did just that.  When I try to go into the SSL settings and 
> upload, I do not get any options to. just the same add app for custom 
> domain.  Where do I find the setting to upload and choose googles 'monthly 
> fee' for dooling out my cert?  (please and thank you)
>
> Regards,
> Troy
>
> On Tuesday, 14 January 2014 14:43:25 UTC-5, Doug Anderson wrote:
>>
>> 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.

2014-01-15 Thread R Samuel Klatchko
Hi Prateek-

I'm unable to reproduce your results. If I use:

str(datetime.datetime.now())

str(datetime.datetime.today()) 


I do not see the timezone offset in either 1.8.8 or 1.8.9.

On the other hand, if I use:

class faketz(datetime.tzinfo):
  def utcoffset(self, _):
return datetime.timedelta(0)

  def dst(self, _):
return datetime.timedelta(0) 


datetime.datetime.now(faketz()) 


I see the timezone offset in both 1.8.8 and 1.8.9. Can you provide more 
detailed  reproduction steps.

samuel

On Tuesday, January 14, 2014 3:26:28 PM UTC-8, Prateek Malhotra wrote:
>
> 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 be

[google-appengine] Re: Problem while Deploying to App Engine

2014-01-15 Thread Hemali Kamani

>
> Hi, 


   I also am facing the exact same issue mentioned above and i am also in a 
corporate network. were any of you able to resolve it??

Thank you.

-- 
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] Invitation Error on Cloud Project

2014-01-15 Thread Adam Augusta

When I add a colleague as the owner of my project, he gets an e-mail with 
the invitation to join the project. When he clicks the link, he gets the 
error below. I'd appreciate any advice.

Server Error
Whoops! Our bad.

Please try again. If the problem persists, please let us know using the 
"Send feedback" link below. Copy the tracking number below, and include it 
with your feedback. Thanks!

Tracking Number: undefined

-- 
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: Search API in Russian

2014-01-15 Thread dimabarash
Hi Igor,
I need to implement some way of Russian search as a part of my project. Do 
you have any success with GAE?
Did you try other solutions? Like Drupal:
https://drupal.org/project/rustemmer
Thanks,
Dmitry


On Tuesday, March 19, 2013 5:13:24 AM UTC-4, Игорь Семенов wrote:
>
> I've tested Search API in Russian half an year ago. Search API found all 
> forms of Russian words (not only plural)! It was great!
> And now (ver.1.7.4) Search in Russian isn't searching all same forms by 
> query with
> ~"word in Russian"
> setLocale("ru"), setLocale("ru_RU"), setLocale("ru", "RU") for Document 
> or/and Field cann't help. 
> Of course Search API searches definite word form, but in Russian some 
> words have 10 forms by different endings.
> What am I doing not so good?
>

-- 
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: Error caused by webapp2.uri_for

2014-01-15 Thread Jeff Potter
I am having the same problem with a gae-boilerplate site.

ur_for is defined in basehandler.py as so...

def jinja2_factory(app):
j = jinja2.Jinja2(app)
j.environment.filters.update({
# Set filters.
# ...
})
j.environment.globals.update({
# Set global variables.
'csrf_token': generate_csrf_token,
'uri_for': webapp2.uri_for,
'getattr': getattr,
})
j.environment.tests.update({
# Set test.
# ...
})
return j


The error occurs randomly, but once it occurs the site is down for good. 
Re-uploading to GAE fixes the problem temporarily.

On Sunday, January 12, 2014 2:30:25 AM UTC-8, Ronen Azachi wrote:
>
> hi
>
> 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
>>
>>

-- 
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: Error caused by webapp2.uri_for

2014-01-15 Thread Jeff Potter
I am having this problem with coto-boilerplate right now. Stacktrace for 
the problem below. Stopping and starting a new instance fixes the problem.

Traceback (most recent call last): 
File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py",
 
line 1529, in __call__ rv = self.router.dispatch(request, response) 
File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py",
 
line 1278, in default_dispatcher return route.handler_adapter(request, 
response) 
File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py",
 
line 1102, in __call__ return handler.dispatch() 
File 
"/base/data/home/apps/s~/1-1.373006929445588669/boilerplate/lib/basehandler.py",
 
line 88, in dispatch webapp2.RequestHandler.dispatch(self) 
File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py",
 
line 572, in dispatch return self.handle_exception(e, self.app.debug) 
File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py",
 
line 570, in dispatch return method(*args, **kwargs) 
File 
"/base/data/home/apps/s~/1-1.373006929445588669/boilerplate/handlers.py", 
line 1526, in get return self.render_template('home.html', **params) 
File 
"/base/data/home/apps/s~/1-1.373006929445588669/boilerplate/lib/basehandler.py",
 
line 320, in render_template 
self.response.write(self.jinja2.render_template(filename, **kwargs)) 
File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2_extras/jinja2.py",
 
line 158, in render_template return 
self.environment.get_template(_filename).render(**context) 
File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/jinja2-2.6/jinja2/environment.py",
 
line 894, in render return self.environment.handle_exception(exc_info, 
True) 
File "boilerplate/templates/home.html", line 1, in top-level template code 
{% extends base_layout %} 
File "boilerplate/templates/base.html", line 40, in top-level template code 
File "boilerplate/templates/home.html", line 6, in block "canonical" {% 
block canonical %}{{ uri_for("home") }}{% endblock %} 
UndefinedError: 'uri_for' is undefined

uri_for is defined in basehandler.py like so
def jinja2_factory(app):
j = jinja2.Jinja2(app)
j.environment.filters.update({
# Set filters.
# ...
})
j.environment.globals.update({
# Set global variables.
'csrf_token': generate_csrf_token,
'uri_for': webapp2.uri_for,
'getattr': getattr,
})
j.environment.tests.update({
# Set test.
# ...
})
return j

All the routes work perfectly fine until the instance gets into a funky 
state where no uri_for call works (seen it for other uris as well).

any ideas?

On Monday, July 16, 2012 12:34:35 AM UTC-7, 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
>
>

-- 
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] Executing code outside of a transaction (python + NDB)

2014-01-15 Thread Ofri Wolfus
Hi everyone,

I'm new to python, appengine and this group so please bear with me :)

I have a function that updates a set of entities from different entity 
groups. The set's size will get bigger than the allowed size of cross-group 
transactions. The issue is, this function may get called from within an 
existing transaction.

Now the actual task of the function is not important to the running 
transaction, and so it should be executed outside of it. What's the best 
way to accomplish such a thing without restructuring the existing code?

My current solution (which is quite bad IMO) is to run the worker function 
as a tasklet, then wrap it in an outer function that blocks on the 
tasklet's result. Something like the following (typed in mail):

@ndb.tasklet
def worker_func():
# do some work
raise ndb.Return(True)

def wrapper():
assert worker_func() == True

Thanks,
Ofri

-- 
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: Error caused by webapp2.uri_for

2014-01-15 Thread Jeff Potter
I get the same problem (UndefinedError: 'uri_for' is undefined) with my 
coto-boilerplate website.

It happens on the first uri_for call in a template. I had canonical links 
in the header which called uri_for but caused errors so I removed them, but 
now the errors are happening in my navbar html.

uri_for is defined in basehandler.py like so:
def jinja2_factory(app):
j = jinja2.Jinja2(app)
j.environment.filters.update({
# Set filters.
# ...
})
j.environment.globals.update({
# Set global variables.
'csrf_token': generate_csrf_token,
'uri_for': webapp2.uri_for,
'getattr': getattr,
})
j.environment.tests.update({
# Set test.
# ...
})
return j

The error happens randomly, but pretty much kills the instance until I 
restart.

Here is a stack trace from the error when uri_for was used in a canonical 
link.
File "/base/data/home/runtimes/python27/python27_lib/
versions/third_party/webapp2-2.5.2/webapp2.py", line 1529, in __call__ rv = 
self.router.dispatch(request, response) 
File "/base/data/home/runtimes/python27/python27_lib/
versions/third_party/webapp2-2.5.2/webapp2.py", line 1278, in 
default_dispatcher return route.handler_adapter(request, response) 
File "/base/data/home/runtimes/python27/python27_lib/
versions/third_party/webapp2-2.5.2/webapp2.py", line 1102, in __call__ 
return handler.dispatch() 
File "/base/data/home/apps/s~/1-1.373006929445588669/
boilerplate/lib/basehandler.py", line 88, in dispatch 
webapp2.RequestHandler.dispatch(self) 
File "/base/data/home/runtimes/python27/python27_lib/
versions/third_party/webapp2-2.5.2/webapp2.py", line 572, in dispatch 
return self.handle_exception(e, self.app.debug) 
File "/base/data/home/runtimes/python27/python27_lib/
versions/third_party/webapp2-2.5.2/webapp2.py", line 570, in dispatch 
return method(*args, **kwargs) 
File 
"/base/data/home/apps/s~1/1-1.373006929445588669/boilerplate/handlers.py",
 
line 1526, in get return self.render_template('home.html', **params) 
File "/base/data/home/apps/s~/1-1.373006929445588669/
boilerplate/lib/basehandler.py", line 320, in render_template 
self.response.write(self.jinja2.render_template(filename, **kwargs)) 
File "/base/data/home/runtimes/python27/python27_lib/
versions/third_party/webapp2-2.5.2/webapp2_extras/jinja2.py", line 158, in 
render_template return self.environment.get_template(
_filename).render(**context) 
File "/base/data/home/runtimes/python27/python27_lib/
versions/third_party/jinja2-2.6/jinja2/environment.py", line 894, in render 
return self.environment.handle_exception(exc_info, True) 
File "boilerplate/templates/home.html", line 1, in top-level template code 
{% extends base_layout %} 
File "boilerplate/templates/base.html", line 40, in top-level template code 
File "boilerplate/templates/home.html", line 6, in block "canonical" {% 
block canonical %}{{ uri_for("home") }}{% endblock %} 
UndefinedError: 'uri_for' is undefined


On Tuesday, January 14, 2014 12:13:42 AM UTC-8, Roninio wrote:
>
>
> 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/gr

[google-appengine] Re: 1.8.9 Pre-Release SDKs are now available.

2014-01-15 Thread Stephen Lewis
Hi Richmond

This URL returns '403 Forbidden' for me:

https://code.google.com/p/googleappengine/issues/detail?id=10134

Is that intentional? I can't find any discussion in this group about ID 
allocation collisions.

Thanks

Stephen

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

[google-appengine] Re: Stuck Trying to apply certificate to Custom Domain

2014-01-15 Thread Troy Matthews
Thanks Doug, I did just that.  When I try to go into the SSL settings and 
upload, I do not get any options to. just the same add app for custom 
domain.  Where do I find the setting to upload and choose googles 'monthly 
fee' for dooling out my cert?  (please and thank you)

Regards,
Troy

On Tuesday, 14 January 2014 14:43:25 UTC-5, Doug Anderson wrote:
>
> 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.