Open GoogleCodeExporter opened 9 years ago
See also:
http://stackoverflow.com/questions/28879485/unable-to-start-appengine-applicatio
n-after-updating-it-via-google-cloud-sdk
Original comment by alistair...@gmail.com
on 2 Apr 2015 at 10:54
[deleted comment]
same as on OS X
from google.appengine.tools.devappserver2 import vm_runtime_factory
File "/Users/sjo/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/vm_runtime_factory.py", line 25, in <module>
from google.appengine.tools.devappserver2 import vm_runtime_proxy
File "/Users/sjo/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/vm_runtime_proxy.py", line 29, in <module>
from google.appengine.tools.devappserver2 import log_manager
File "/Users/sjo/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/log_manager.py", line 34, in <module>
from google.appengine.tools.docker import containers
File "/Users/sjo/google-cloud-sdk/platform/google_appengine/google/appengine/tools/docker/containers.py", line 47, in <module>
import docker
ImportError: No module named docker
Original comment by s...@blinkfire.com
on 9 May 2015 at 11:32
Please change to High priority. It doesn't run. How can it be medium
priority?????????????
Original comment by s...@blinkfire.com
on 9 May 2015 at 11:32
Hi, can you please try installing the App Engine SDK from here:
https://cloud.google.com/appengine/downloads#Google_App_Engine_SDK_for_Python
instead of through gcloud?
Original comment by dlor...@google.com
on 9 May 2015 at 7:48
Yes, I already know that works, but once you do that, you end up with 2
installations of GAE and then "gcloud update components" doesn't work because
the permissions on OS X are all messed up. That bug is in here somewhere too.
I have 4 macs, and it's easily replicable on all 4. That's issue #35 marked as
"won't fix" yet it is still a bug
https://code.google.com/p/google-cloud-sdk/issues/detail?id=35 Can you
please just fix this bug? Pretty please? With sugar on top?
Original comment by s...@blinkfire.com
on 9 May 2015 at 8:59
Still the same error with 1.9.19.229.
Original comment by jeff.oneill
on 12 May 2015 at 2:01
This answer appears to work: http://stackoverflow.com/a/28883237/201618
From command line run: pip install docker-py
Original comment by alistair...@gmail.com
on 21 May 2015 at 9:53
Why dont you fix this issue?? This is easily replicable...
Original comment by palacios...@gmail.com
on 25 May 2015 at 1:38
Still the same error with 1.9.20.242 on OS X.
Original comment by jeff.oneill
on 30 May 2015 at 5:11
Thanks for pinging this. We're tracking this bug internally and are working
figuring out next steps toward a fix.
Original comment by jeffvaug...@google.com
on 1 Jun 2015 at 8:50
This should be fixed with gcloud 0.9.61 and
app-engine-python 1.9.20
If you're still seeing this could you attach the output of "gcloud version",
and the exact command you ran?
Original comment by dlor...@google.com
on 1 Jun 2015 at 9:04
I'm on OS X 10.10.1.
Output of "gcloud version" below.
Steps:
(1) Double click google-cloud-sdk/bin/GoogleAppEngineLauncher.app
(2) Click the green Run button on the GAE launcher
(3) Logs show an error message as in the original issue
===
$ gcloud version
Google Cloud SDK 0.9.61
app-engine-go-darwin-x86_64 1.9.20
app-engine-java 1.9.20
app-engine-python 1.9.20
app-engine-python-extras 1.9.20
bq 2.0.18
bq-nix 2.0.18
compute 2015.05.19
core 2015.05.19
core-nix 2014.10.20
dns 2015.05.19
gae-python 2014.05.06
gae-python-launcher-mac 1.9.20
gcloud 2015.05.19
gcutil 1.16.5
gcutil-nix 1.16.5
gsutil 4.12
gsutil-nix 4.6
kubectl
kubectl-darwin-x86_64 0.17.0
preview 2015.05.19
sql 2015.05.06
Original comment by jeff.oneill
on 1 Jun 2015 at 9:24
For everyone needing a work-around, Alistairs mention in #8 worked for me and
allowed me to run locally again with the GAE launcher. (updating GAE launcher
on OS X didn't):
"This answer appears to work: http://stackoverflow.com/a/28883237/201618
From command line run: pip install docker-py"
Original comment by k...@q42.nl
on 2 Jun 2015 at 9:58
[deleted comment]
I had this working previously with "pip install docker-py".
Now, after today upgrading to Google Cloud SDK [0.9.63] & app-engine-python:
[1.9.21], I get the error:
...
File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\docker\containers.py", line 48, in <module>
from docker import docker
ImportError: cannot import name docker
2015-06-06 16:47:59 (Process exited with code 1)
I've tried uninstalling docker-py but that brings-back the old "ImportError: No
module named docker" error. With the package installed I get the new error.
Either way, I'm again unable to run any apps in the launcher. Very frustrating.
Original comment by arile...@gmail.com
on 6 Jun 2015 at 6:52
I was able to get my apps working again with the following hack:
In containers.py on line 48 change "from docker import docker" to just "import
docker"
I'm not a python developer so I don't know if this is a good or bad change to
make, but my PHP & Go apps are running again.
Original comment by arile...@gmail.com
on 6 Jun 2015 at 8:55
I can't change the file! it keeps saying the file is open somewhere else
Original comment by DanielFi...@gmail.com
on 10 Jun 2015 at 6:28
Original issue reported on code.google.com by
alistair...@gmail.com
on 2 Apr 2015 at 10:54