For the record, the update appears to work fine from my windows
machine (sdk 1.1.9) from the same network so I may have another issue
altogether with my Ubuntu machine. I'll dig and report back if it is
anything of subsequence. I figured it had to be local to me since the
forum wasn't flooded with others having any issues.




On Sep 29, 10:48 am, macgill <[email protected]> wrote:
> And yes, after 10 minutes the dump below is returned. Also, now
> attempting to run the rollback command results in a similar timeout
> behaviour. I've updated everything that was suggested by Ubuntu's
> update manager (there were a couple of python related items - mainly
> to do with apport - I was hoping perhaps urllib2 had an issue which
> had been resolved). I'll power up the ole Windows box and try from
> there to see if it is perhaps an issue related to my network
> connection or if opendns is causing issues. My admin logs in gae show
> no activity since Sep 9.
>
> 2009-09-29 10:26:05,120 ERROR appcfg.py:1454 An unexpected error
> occurred. Aborting.
> Traceback (most recent call last):
>   File "/home/myuser/google_appengine/google/appengine/tools/
> appcfg.py", line 1425, in DoUpload
>     missing_files = self.Begin()
>   File "/home/myuser/google_appengine/google/appengine/tools/
> appcfg.py", line 1223, in Begin
>     version=self.version, payload=self.config.ToYAML())
>   File "/home/myuser/google_appengine/google/appengine/tools/
> appengine_rpc.py", line 344, in Send
>     f = self.opener.open(req)
>   File "/usr/lib/python2.5/urllib2.py", line 381, in open
>     response = self._open(req, data)
>   File "/usr/lib/python2.5/urllib2.py", line 399, in _open
>     '_open', req)
>   File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
>     result = func(*args)
>   File "/usr/lib/python2.5/urllib2.py", line 1107, in http_open
>     return self.do_open(httplib.HTTPConnection, req)
>   File "/usr/lib/python2.5/urllib2.py", line 1082, in do_open
>     raise URLError(err)
> URLError: <urlopen error (104, 'Connection reset by peer')>
> Traceback (most recent call last):
>   File "./google_appengine/appcfg.py", line 60, in <module>
>     run_file(__file__, globals())
>   File "./google_appengine/appcfg.py", line 57, in run_file
>     execfile(script_path, globals_)
>   File "/home/myuser/google_appengine/google/appengine/tools/
> appcfg.py", line 2525, in <module>
>     main(sys.argv)
>   File "/home/myuser/google_appengine/google/appengine/tools/
> appcfg.py", line 2516, in main
>     result = AppCfgApp(argv).Run()
>   File "/home/myuser/google_appengine/google/appengine/tools/
> appcfg.py", line 1640, in Run
>     self.action(self)
>   File "/home/myuser/google_appengine/google/appengine/tools/
> appcfg.py", line 2404, in __call__
>     return method()
>   File "/home/myuser/google_appengine/google/appengine/tools/
> appcfg.py", line 1912, in Update
>     lambda path: open(os.path.join(basepath, path), 'rb'))
>   File "/home/myuser/google_appengine/google/appengine/tools/
> appcfg.py", line 1425, in DoUpload
>     missing_files = self.Begin()
>   File "/home/myuser/google_appengine/google/appengine/tools/
> appcfg.py", line 1223, in Begin
>     version=self.version, payload=self.config.ToYAML())
>   File "/home/myuser/google_appengine/google/appengine/tools/
> appengine_rpc.py", line 344, in Send
>     f = self.opener.open(req)
>   File "/usr/lib/python2.5/urllib2.py", line 381, in open
>     response = self._open(req, data)
>   File "/usr/lib/python2.5/urllib2.py", line 399, in _open
>     '_open', req)
>   File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
>     result = func(*args)
>   File "/usr/lib/python2.5/urllib2.py", line 1107, in http_open
>     return self.do_open(httplib.HTTPConnection, req)
>   File "/usr/lib/python2.5/urllib2.py", line 1082, in do_open
>     raise URLError(err)
> urllib2.URLError: <urlopen error (104, 'Connection reset by peer')>
>
> On Sep 29, 10:25 am, macgill <[email protected]> wrote:
>
> > Hi Nick,
> > Thanks, that seems to have gotten past the rollback issue, as running
> > it without the passin prompted for password, did not show characters
> > as I typed them in and returned a command prompt, but now it seems
> > that the update is hanging on "Initiating update."
>
> > I've run the update with the --verbose command and it goes through all
> > the files either Ignoring or Processing, then hangs.
>
> > 2009-09-29 10:16:07,631 INFO appengine_rpc.py:420 Loaded
> > authentication cookies from /home/myuser/.appcfg_cookies
> > 2009-09-29 10:16:07,631 INFO appengine_rpc.py:157 Server:
> > appengine.google.com
> > 2009-09-29 10:16:07,633 INFO appcfg.py:348 Checking for updates to the
> > SDK.
> > 2009-09-29 10:16:07,852 INFO appcfg.py:362 The SDK is up to date.
> > 2009-09-29 10:16:07,853 INFO appcfg.py:1390 Reading app
> > configuration.
> > Scanning files on local disk.
> > 2009-09-29 10:16:07,857 INFO appcfg.py:1409 Processing file 'view.py'
> > 2009-09-29 10:16:07,857 INFO appcfg.py:1401 Ignoring file
> > 'config.pyc': File matches ignore regex.
> > 2009-09-29 10:16:07,858 INFO appcfg.py:1409 Processing file
> > 'zipme.py'
> > 2009-09-29 10:16:07,858 INFO appcfg.py:1401 Ignoring file 'app.yaml':
> > File matches ignore regex.
> > 2009-09-29 10:16:07,859 INFO appcfg.py:1409 Processing file 'main.py'
> > 2009-09-29 10:16:07,859 INFO appcfg.py:1401 Ignoring file
> > 'index.yaml': File matches ignore regex.
> > 2009-09-29 10:16:07,860 INFO appcfg.py:1401 Ignoring file 'view.pyc':
> > File matches ignore regex.
> > 2009-09-29 10:16:07,860 INFO appcfg.py:1409 Processing file
> > 'config.py'
> > and on and on until it shows
> > Initiating update.
>
> > and hangs there until I suspect it will timeout.
>
> > I'm guessing something went wrong with the 'Prove you are human, go
> > enter in this captcha' bit, but not quite sure how to flush it out.
>
> > Thanks for any help you can provide. Incidentally, and not sure it
> > matters, but using a browser to hithttp://appengine.google.com/works
> > as expected, listing my 2 little apps.
>
> > On Sep 29, 6:31 am, "Nick Johnson (Google)" <[email protected]>
> > wrote:
>
> > > Hi,
> > > Try running the rollback without the '--passin' argument - it should 
> > > prompt
> > > you for your password normally.
>
> > > -Nick Johnson
>
> > > On Tue, Sep 29, 2009 at 10:08 AM, macgill <[email protected]> wrote:
>
> > > > Hi,
>
> > > > I have been toying with GAE for a couple of months, and have not had a
> > > > problem with deployments. Last night, however, when attempting to do
> > > > an update, I was prompted to go to to google's captcha site to prove I
> > > > was a human. I did that but subsequent attempts to update indicate
> > > > that the process is already in progress.
>
> > > > Scanning files on local disk.
> > > > Initiating update.
> > > > Error 409: --- begin server output ---
> > > > Another transaction by user macgillivary is already in progress for
> > > > this app and major version. That user can undo the transaction with
> > > > appcfg.py's "rollback" command.
> > > > --- end server output ---
>
> > > > So, searching around I see what is involved with doing a rollback.
> > > > Following
> > > >http://www.dr-chuck.com/csev-blog/000520.html
> > > > and a couple of other similar pages I tried
>
> > > > python /home/myuser/gae/appcfg.py -verbose --no_cookies --
> > > > [email protected] --passin rollback /path/to/myapp
>
> > > > This appears as if it might work, then prompts for my password. I type
> > > > in the password (which is echoed to the screen, not masked) hit enter
> > > > and nothing happens (no shell returned, just hangs there). I let it go
> > > > at that stage last evening. It eventually timed out, with an error
> > > > saying connection reset by peer (that was the message found in the
> > > > terminal this morning).
>
> > > > I see there was a effective outage on the west coast which I was
> > > > thinking should not apply as I'm located on the east coast of Canada.
> > > > Normal browsing is fine, there does not appear to be any disruption of
> > > > my connection.
>
> > > > Any pointers?
>
> > > --
> > > Nick Johnson, Developer Programs Engineer, App Engine
> > > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> > > 368047
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to