Re: [google-appengine] can't deploy my app (AttributeError: can't set attribute)
I'm getting a similar error. Can anyone figure out why this is? 2012-04-27 00:14:33 Running command: ['C:\\Python27\\pythonw.exe', '-u', 'C:\\Program Files\\Google\\google_appengine\\appcfg.py', '--no_cookies', u'--email=x...@gmail.com', '--passin', '--server=https://appengine.google.com/', 'update', 'C:\\Users\\Documents\\Udacity.com\\CS253 - Web Application Engineering\\hello-udacity'] Application: hello-udacity; version: 1 Host: https://appengine.google.com/ Starting update of app: hello-udacity, version: 1 Getting current resource limits. 2012-04-27 00:14:41,759 ERROR appcfg.py:2156 An error occurred processing file '': urlopen error [Errno 11001] getaddrinfo failed. Aborting. Traceback (most recent call last): File C:\Program Files\Google\google_appengine\appcfg.py, line 125, in module run_file(__file__, globals()) File C:\Program Files\Google\google_appengine\appcfg.py, line 121, in run_file execfile(script_path, globals_) File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 4062, in module main(sys.argv) File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 4053, in main result = AppCfgApp(argv).Run() File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 2543, in Run self.action(self) File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 3810, in __call__ return method() File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 3006, in Update self.UpdateVersion(rpcserver, self.basepath, appyaml) File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 2995, in UpdateVersion self.options.max_size) File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 2122, in DoUpload resource_limits = GetResourceLimits(self.rpcserver, self.config) File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 355, in GetResourceLimits resource_limits.update(GetRemoteResourceLimits(rpcserver, config)) File C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py, line 326, in GetRemoteResourceLimits version=config.version) File C:\Program Files\Google\google_appengine\google\appengine\tools\appengine_rpc.py, line 366, in Send f = self.opener.open(req) File C:\Python27\lib\urllib2.py, line 400, in open response = self._open(req, data) File C:\Python27\lib\urllib2.py, line 418, in _open '_open', req) File C:\Python27\lib\urllib2.py, line 378, in _call_chain result = func(*args) File C:\Python27\lib\urllib2.py, line 1215, in https_open return self.do_open(httplib.HTTPSConnection, req) File C:\Program Files\Google\google_appengine\lib\fancy_urllib\fancy_urllib\__init__.py, line 367, in do_open raise url_error urllib2.URLError: urlopen error [Errno 11001] getaddrinfo failed 2012-04-27 00:14:41 (Process exited with code 1) You can close this window now. On Wednesday, April 25, 2012 10:32:45 PM UTC+5:30, Takashi Matsuo (Google) wrote: Hi John, Please see my answer on Stackoverflow at: http://stackoverflow.com/questions/10315069/app-deploy-issue/10317980#10317980 On Wed, Apr 25, 2012 at 8:10 PM, John Smith avigm...@gmail.com wrote: thats log: Starting update of app: flyingbat123, version: 0-1 Getting current resource limits. Password for avigmati: Traceback (most recent call last): File C:\Program Files (x86)\Google\google_appengine\appcfg.py, line 125, in module run_file(__file__, globals()) File C:\Program Files (x86)\Google\google_appengine\appcfg.py, line 121, in run_file execfile(script_path, globals_) File C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 4062, in module main(sys.argv) File C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 4053, in main result = AppCfgApp(argv).Run() File C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 2543, in Run self.action(self) File C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 3810, in __call__ return method() File C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 3006, in Update self.UpdateVersion(rpcserver, self.basepath, appyaml) File C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 2995, in UpdateVersion self.options.max_size) File C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 2122, in DoUpload resource_limits = GetResourceLimits(self.rpcserver, self.config)
[google-appengine] Re: When moving between HTTP and HTTPS, how to share authentication cookies (ACSID, SACSID)?
Hi, Can anyone throw some light on this matter please? I am struggling to know its answer too today. Regards, Roshan On Friday, 24 August 2012 10:58:22 UTC+5:30, Ben Alpert wrote: I'm attempting to set up my app so that certain pages can be served over HTTPS but most are served over HTTP: If I log in to my app with a Google account over HTTPS, then the SACSID cookie gets set which causes App Engine to happily return the proper account when users.get_current_user() is called. Unfortunately, when I return to the HTTP version of my site, App Engine seems to look for the ACSID cookie instead, which isn't present, so users.get_current_user() returns nothing. Is there a way I can configure App Engine to honor the SACSID cookie over HTTP or some way to transfer the cookie between the two? (The cookies don't use the same value; simply copying the cookie appears not to work.) Thanks, Ben -- 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] Re: app.cfg update - excludes hidden files/folders in upload (with names starting with a ".")?
Hi, I also tried introducing an entry for the file in appengine-web.xml's static / include block as shown below, but even that didn't make appcfg.sh not skip the exclusion of this file. How can I make appcfg include / deploy this content of the folder whose name starts with "."? Cheers, Roshan On Monday, 12 September 2016 08:08:46 UTC+5:30, roshan wrote: > > Hi, > > I tried introducing an App.yaml file with the custom skip_files entries, > but it's not helping. I still couldn't get *".aa/bb.config"* to get > uploaded to app engine. > > Mine is a java app and not a python app, btw. Is this mechanism even > supported for a Java app? > > Cheers, > Roshan > > On Monday, 12 September 2016 00:46:07 UTC+5:30, Vitaly Bogomolov wrote: >> >> Hi, Roshan >> >> You need to define your own "skip_files" directive in app.yaml file. >> >> The skip_files has the following default: >> >> >> skip_files: >> >> >> - ^(.*/)?#.*#$ >> >> - ^(.*/)?.*~$ >> >> - ^(.*/)?.*\.py[co]$ >> >> - ^(.*/)?.*/RCS/.*$ >> >> - ^(.*/)?\..*$ >> >> >> https://cloud.google.com/appengine/docs/python/config/appref >> >> >> WBR, Vitaly. >> >> >> >> -- 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 https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/bda8c93b-8a5f-48fd-834f-f791f8a5f5cb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: app.cfg update - excludes hidden files/folders in upload (with names starting with a ".")?
Hi, I tried introducing an App.yaml file with the custom skip_files entries, but it's not helping. I still couldn't get *".aa/bb.config"* to get uploaded to app engine. Mine is a java app and not a python app, btw. Is this mechanism even supported for a Java app? Cheers, Roshan On Monday, 12 September 2016 00:46:07 UTC+5:30, Vitaly Bogomolov wrote: > > Hi, Roshan > > You need to define your own "skip_files" directive in app.yaml file. > > The skip_files has the following default: > > > skip_files: > > > - ^(.*/)?#.*#$ > > - ^(.*/)?.*~$ > > - ^(.*/)?.*\.py[co]$ > > - ^(.*/)?.*/RCS/.*$ > > - ^(.*/)?\..*$ > > > https://cloud.google.com/appengine/docs/python/config/appref > > > WBR, Vitaly. > > > > -- 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 https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/f3c31415-2664-41f3-b1f2-7a673f2486d1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: app.cfg update - excludes hidden files/folders in upload (with names starting with a ".")?
Hi, The code at the below location (com.google.appengine.tools.admin.Application), which is involved in copying over the app files to a staging directory before uploading them seems to suggest that it's hard-coded that files / folders starting with "." will be ignored, which is different from the "skip_files" config based approach of the python app and is quite unfortunate :-( https://github.com/greghaskins/googleappengine/blob/e78ea5c1ef55564b776ff155630202afb2d4ecfa/java/src/main/com/google/appengine/tools/admin/Application.java#L699 I really wanted to avoid mapping "/.aa/bb.config" to a servlet! :-( Cheers, Roshan On Monday, 12 September 2016 00:46:07 UTC+5:30, Vitaly Bogomolov wrote: > > Hi, Roshan > > You need to define your own "skip_files" directive in app.yaml file. > > The skip_files has the following default: > > > skip_files: > > > - ^(.*/)?#.*#$ > > - ^(.*/)?.*~$ > > - ^(.*/)?.*\.py[co]$ > > - ^(.*/)?.*/RCS/.*$ > > - ^(.*/)?\..*$ > > > https://cloud.google.com/appengine/docs/python/config/appref > > > WBR, Vitaly. > > > > -- 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 https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/d402e46e-0d57-4bec-b935-6bfb424d5dad%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: app.cfg update - excludes hidden files/folders in upload (with names starting with a ".")?
Sorry about the typo. I meant to ask the question in *"appcfg.sh update"* context. On Sunday, 11 September 2016 13:08:35 UTC+5:30, roshan wrote: > > Hi, > > I have the need to upload in my app-engine app a static config file that > needs to be in a folder whose name starts with a "." - say the path is > *".aa/bb.config"*. > > I notice that this folder is not being uploaded. > > I referred the code of the following classes, but didn't really see > folders starting with "." being excluded anywhere. I could only find > exactly "." / ".." named folders being excluded. > > - com.google.appengine.tools.admin.AppAdminImpl > - com.google.appengine.tools.admin.AppVersionUpload > - com.google.appengine.tools.util.FileIterator > > Q1) Can someone please confirm if it's indeed the case that files / > folders with names starting with a "." are excluded in the > upload-to-app-engine cycle? > > Q2) Where can I find the logs generated by tools like appcfg.sh? How > should I tweak the logging levels? > > Thanks, > Roshan > -- 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 https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/c28198ed-5b99-44b1-9b12-d6ea6e76b548%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] app.cfg update - excludes hidden files/folders in upload (with names starting with a ".")?
Hi, I have the need to upload in my app-engine app a static config file that needs to be in a folder whose name starts with a "." - say the path is *".aa/bb.config"*. I notice that this folder is not being uploaded. I referred the code of the following classes, but didn't really see folders starting with "." being excluded anywhere. I could only find exactly "." / ".." named folders being excluded. - com.google.appengine.tools.admin.AppAdminImpl - com.google.appengine.tools.admin.AppVersionUpload - com.google.appengine.tools.util.FileIterator Q1) Can someone please confirm if it's indeed the case that files / folders with names starting with a "." are excluded in the upload-to-app-engine cycle? Q2) Where can I find the logs generated by tools like appcfg.sh? How should I tweak the logging levels? Thanks, Roshan -- 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 https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/0859b9e7-275a-44f0-9654-236bf24cd5c0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: app.cfg update - excludes hidden files/folders in upload (with names starting with a ".")?
Hi Nick, Could manage to file the feature request only now. Here it is: https://code.google.com/p/googleappengine/issues/detail?id=13307 Thanks for taking interest in this thread. Cheers. Roshan On Wed, Sep 21, 2016 at 2:13 AM, 'Nick (Cloud Platform Support)' via Google App Engine <google-appengine@googlegroups.com> wrote: > Hey Roshan, > > It appears you're correct that this is expected behaviour. But I want to > encourage you to make a Feature Request to change this in the Public > Issue Tracker for App Engine > <http://code.google.com/p/googleappengine/issues/list>. We monitor it > regularly and it's open to users for situations just like yours. > > Cheers, > > Nick > Cloud Platform Community Support > > > On Monday, September 12, 2016 at 2:57:36 AM UTC-4, roshan wrote: >> >> Hi, >> >> The code at the below location >> (com.google.appengine.tools.admin.Application), >> which is involved in copying over the app files to a staging directory >> before uploading them seems to suggest that it's hard-coded that files / >> folders starting with "." will be ignored, which is different from the >> "skip_files" config based approach of the python app and is quite >> unfortunate :-( >> >> https://github.com/greghaskins/googleappengine/blob/e78ea5c1 >> ef55564b776ff155630202afb2d4ecfa/java/src/main/com/google/ >> appengine/tools/admin/Application.java#L699 >> >> I really wanted to avoid mapping "/.aa/bb.config" to a servlet! :-( >> >> Cheers, >> Roshan >> >> On Monday, 12 September 2016 00:46:07 UTC+5:30, Vitaly Bogomolov wrote: >>> >>> Hi, Roshan >>> >>> You need to define your own "skip_files" directive in app.yaml file. >>> >>> The skip_files has the following default: >>> >>> >>> skip_files: >>> >>> >>> - ^(.*/)?#.*#$ >>> >>> - ^(.*/)?.*~$ >>> >>> - ^(.*/)?.*\.py[co]$ >>> >>> - ^(.*/)?.*/RCS/.*$ >>> >>> - ^(.*/)?\..*$ >>> >>> >>> https://cloud.google.com/appengine/docs/python/config/appref >>> >>> >>> WBR, Vitaly. >>> >>> >>> >>> -- > 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/zJdyy63nW_w/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 https://groups.google.com/group/google-appengine. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/google-appengine/9e7725f0-3e58-47ec-915a- > 3758222ef139%40googlegroups.com > <https://groups.google.com/d/msgid/google-appengine/9e7725f0-3e58-47ec-915a-3758222ef139%40googlegroups.com?utm_medium=email_source=footer> > . > > 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 https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAMXPLPjSfP_Jsxw3Ksjm58PFyQCvsWkmNL2FAcn0jvhUdaj-Hw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.