Re: [google-appengine] get_num_instances always raises InvalidVersionError
On Sun, Mar 16, 2014 at 9:16 PM, Prateek Malhotra someo...@gmail.com wrote: Sorry, I meant if I put in the names of the module I want, 'default', or even if I omit all parameters, the error is raised. It was my impression that if the parameters were not supplied, it should pick up the current module/version and return that information to me. It's strange that an InvalidVersionError is popping up - it means that App Engine doesn't recognize the modules currently running, or that the module isn't a basic scaling module. How many modules are running within the application? If it's only one module, can you add several modules to the application? Also, are all the uploaded application versions module-based, or do they have the old backend-style configurations? If there are old versions present, delete them off so that only module-based versions exist in the app ID. - -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/d/optout.
Re: [google-appengine] get_num_instances always raises InvalidVersionError
On Wed, Mar 12, 2014 at 3:14 PM, someone1 someo...@gmail.com wrote: I am trying to leverage this new API functionality but no matter what inputs I choose, the modules.get_num_instances function always raises an error. I know I have basic scaling setup for the module and version I'm trying to look this information up for (in the YAML file). Calls to get modules.get_versions works just fine. In my dev server I am passing in my module YAML files as part of my startup script. When you say no matter what inputs I choose can you expand further on that? get_num_instances requires the name of the module to collect information about, are you supplying anything different to the function? - -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/d/optout.
Re: [google-appengine] get_num_instances always raises InvalidVersionError
Sorry, I meant if I put in the names of the module I want, 'default', or even if I omit all parameters, the error is raised. It was my impression that if the parameters were not supplied, it should pick up the current module/version and return that information to me. On Sun, Mar 16, 2014 at 11:32 AM, Vinny P vinny...@gmail.com wrote: On Wed, Mar 12, 2014 at 3:14 PM, someone1 someo...@gmail.com wrote: I am trying to leverage this new API functionality but no matter what inputs I choose, the modules.get_num_instances function always raises an error. I know I have basic scaling setup for the module and version I'm trying to look this information up for (in the YAML file). Calls to get modules.get_versions works just fine. In my dev server I am passing in my module YAML files as part of my startup script. When you say no matter what inputs I choose can you expand further on that? get_num_instances requires the name of the module to collect information about, are you supplying anything different to the function? - -Vinny P Technology Media Advisor Chicago, IL App Engine Code Samples: http://www.learntogoogleit.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/PuUMW8aLknQ/unsubscribe . To unsubscribe from this group and all its topics, 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/d/optout. -- 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/d/optout.
[google-appengine] get_num_instances always raises InvalidVersionError
Hello All, I am trying to leverage this new API functionality but no matter what inputs I choose, the modules.get_num_instances function always raises an error. I know I have basic scaling setup for the module and version I'm trying to look this information up for (in the YAML file). Calls to get modules.get_versions works just fine. In my dev server I am passing in my module YAML files as part of my startup script. This is effecting me on both the SDK (1.9.0) and on Production. I am using Python 2.7 on Arch Linux (64-bit) locally. Is this just me and something in my environment or a bug that others can confirm? 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/d/optout.