Google Cloud SDK 96.0.0: Newest version of gcloud components has broken git pushes and dev_appserver.py. How can I revert?

846 views
Skip to first unread message

Placing Literature

unread,
Feb 11, 2016, 4:54:39 PM2/11/16
to Google App Engine

After the new update git pushes are hanging and running dev_appserver.py results in an import erro:

$ dev_appserver.py .
Traceback (most recent call last):
  File "/Users/me/google-cloud-sdk/bin/dev_appserver.py", line 11, in <module>
    import bootstrapping.bootstrapping as bootstrapping
  File "/Users/me/google-cloud-sdk/bin/bootstrapping/bootstrapping.py", line 9, in <module>
    import setup
  File "/Users/me/google-cloud-sdk/bin/bootstrapping/setup.py", line 41, in <module>
    reload(google)
ImportError: No module named google

$ gcloud version
Google Cloud SDK 96.0.0

bq 2.0.18
bq-nix 2.0.18
core 2016.02.05
core-nix 2016.02.05
gcloud
gsutil 4.16
gsutil-nix 4.15

$ gcloud components update --version [95.0.0]
ERROR: The component listing for Cloud SDK version [[95.0.0]] could not be found.  Make sure this is a valid archived Cloud SDK version.
ERROR: (gcloud.components.update) Failed to fetch component listing from server. Check your network settings and try again.

Stefano Ciccarelli

unread,
Feb 11, 2016, 5:03:08 PM2/11/16
to Google App Engine
Try this:


$ gcloud components update --version 95.0.0

--
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-appengi...@googlegroups.com.
To post to this group, send email to google-a...@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/39c02724-9b38-4132-8b83-b6a29b12aded%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Stefano Ciccarelli 
GAE Application Division 
/ Director 
stefano.c...@mmbsoftware.it 

M.M.B. s.r.l. 
via Granarolo, 177/7 - 48018 Faenza (RA) - Italy 
tel. +39.0546.637711 - fax +39.0546.46077 
www.mmbsoftware.it - in...@mmbsoftware.it

Le informazioni contenute in questa comunicazione sono riservate e destinate esclusivamente alla/e persona/e o all'ente sopra indicati. E' vietato ai soggetti diversi dai destinatari qualsiasi uso, copia, diffusione di quanto in esso contenuto sia ai sensi dell'art. 616 c.p., sia ai sensi del DL n. 196/03. Se questa comunicazione Vi e' pervenuta per errore, Vi preghiamo di rispondere a questa e-mail e successivamente cancellarla dal Vostro sistema.

Placing Literature

unread,
Feb 11, 2016, 5:24:33 PM2/11/16
to Google App Engine
Cheers mate. Removing those square brackets did the trick!
I made the mistake of listening too closely to the messages:


Update done!


To revert your SDK to the previously installed version, you may run:
  $ gcloud components update
--version [96.0.0]


Next I won't follow the instructions so literally and leave the brackets out :)

-s
Reply all
Reply to author
Forward
0 new messages