问题标签 [gcloud]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
854 浏览

google-app-engine - appcfg.py 更新GAE 更新后不再工作。(OSX 终端)

appcfg.py update <appname>用来上传/更新我的应用程序,但我在终端中收到了这条消息:

当我尝试使用两个推荐的操作时:

我在命令行上收到以下错误:

我不确定发生了什么。我已经尝试建立 Sym Link。这发生在我最近在 mac 上更新 GAE 软件之后。

0 投票
2 回答
3143 浏览

google-app-engine - console.developers.google.com 与 appengine.google.com 有何不同?

Google Cloud 有https://console.developers.google.com/而 App Engine 有http://appengine.google.com。它们可以互换吗?http://appengine.google.com最终会被https://console.developers.google.com/ 取代吗?如果我开始使用https://console.developers.google.com/将无法返回http://appengine.google.com吗?

0 投票
3 回答
105 浏览

eclipse - Google Cloud 有 Eclipse 插件吗?

我使用 Eclipse 并且很长一段时间以来一直很高兴使用 Google Plugin for Eclipse ( https://developers.google.com/eclipse/docs/download )。Google Cloud 是否有 Eclipse 插件,或者 Google Plugin for Eclipse 是否与 App Engine 和 Google Cloud 兼容?

0 投票
1 回答
1366 浏览

java - Google Cloud appcfg.cmd 无法部署,因为找不到 appengine-web.xml

我只是想按照https://console.developers.google.com/start/appengine上的说明构建和部署基本的 hello world 项目。我完成了所有步骤,但最后一个步骤 6 出现此错误:

我能够成功完成第 5 步,在本地运行您的应用程序 ( https://console.developers.google.com/start/appengine )。因此,如果我确实缺少 appengine-web.xml 文件,我不确定如何在本地运行。

0 投票
5 回答
2281 浏览

macos - 使用 gcloud init 时遇到问题

在 gcloud 上看到一段甜蜜的视频,想试一试,但一开始就受阻。我做了设置,下载了工具,运行了 gcloud auth login,一切都很好。试图初始化一个项目并得到一个错误我不知道如何修复。

为了更好的衡量:

我正在使用 OSX 10.9.2 的 macbook air

关于我可能做错了什么的任何想法?

0 投票
1 回答
1919 浏览

python - 从 GCloud 激活服务帐户

我正在尝试为 Google Cloud Storage 存储桶对象更改配置通知,但是在尝试使 gsutil 通过此命令使用服务帐户时我被卡住了。

我在命令行中得到的错误是:

我按照此说明获取 pyOpenSSL。如果我向 pip 询问该软件包,它会告诉我它已安装

如果我调用 env 命令,我也会看到环境变量

难道我做错了什么?

0 投票
1 回答
3948 浏览

google-cloud-storage - 如何将 Google Compute Engine 快照复制到 Google Cloud Storage?

我有一个预先安装了应用服务器的应用程序。

我只是希望将其作为图像复制到 GCS。

我试过'gcimagebundle'说'找不到平台,你可以在python_factory.py文件中配置平台'。

有什么方法可以将我的快照复制到 GCS?

更多信息:

我使用的操作系统是 CentOS 6

  • n1-standard-1(1 个 vCPU,3.8 GB 内存)
  • us-central1-b
  • centos-6-v20140415
0 投票
0 回答
212 浏览

css - 管理屏幕缺少 gcloud google app engine wordpress css

我已经在我的本地主机(GAE / Python / PHP)上部署了 wordpress - 一切正常。

当我在 GAE 上部署相同的 wordpress 应用程序时,管理屏幕显示为文本。缺少管理屏幕的 CSS 文件。

这是我的 app.yaml

0 投票
1 回答
3980 浏览

google-app-engine - gcloud auth login - 证书验证失败

我正在试用 google sdk 应用引擎。我可以让本地应用程序在我的笔记本电脑上运行,但 gcloud auth 登录有问题。

当我输入 gcloud auth login 命令时,会打开一个新的浏览器窗口,并在验证我的凭据后显示 - 您现在已通过 Google Cloud SDK 进行身份验证!

但是,在我输入命令的命令行中,我收到以下错误 -

您的浏览器已打开访问:

因此,我无法在谷歌云上部署我的应用程序。

经过一番搜索,我发现它与 D:\google-cloud-sdk\lib\httplib2 中的 cacerts.txt 文件有关。我从同事那里替换了 cacerts.txt 文件,它曾经运行良好,但现在我又遇到了问题。

解决这个问题的任何指针都会非常有帮助

0 投票
2 回答
203 浏览

linux - gcutil getproject returning resource not found

Does anyone can help me on this error? I have search the resource not found error with google and read a lot of answers but all the answer not help for me. Like to enable the bill method, yes I have enabled it but not help.

Thannks,
Marmot
[marmot@localhost Projects]$ gcloud auth login
Go to the following link in your browser:

https://accounts.google.com/o/oauth2/auth?redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&prompt=select_account&response_type=code&client_id=32555940559.apps.googleusercontent.com&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fappengine.admin+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fbigquery+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcompute+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdevstorage.full_control+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fndev.cloudman+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platform+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fsqlservice.admin+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fprediction+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fprojecthosting&access_type=offline


Enter verification code: 4/ZUSX5HmO0ivg0B9iJwBM1WNJ9tHd.wpOolknAFYcSXE-sT2ZLcbSVP_2BjAI

You are now logged in as [weisheng.chen@gmail.com].
Your current project is [None]. You can change this setting by running:
$ gcloud config set project
[marmot@localhost Projects]$ gcloud config set project marmot-helloworld-1
[marmot@localhost Projects]$ gcutil getproject --project=marmot-helloworld-1 --cache_flag_values --dump_request_response
INFO: --request-start--
INFO: -headers-start-
INFO: accept-encoding: gzip, deflate
INFO: accept: application/json
INFO: user-agent: google-api-python-client/1.0
INFO: -headers-end-
INFO: -path-parameters-start-
INFO: project: marmot-helloworld-1
INFO: -path-parameters-end-
INFO: body: None
INFO: query: ?alt=json
INFO: --request-end--
INFO: URL being requested: https://www.googleapis.com/compute/v1/projects/marmot-helloworld-1?alt=json
Error: The resource 'projects/marmot-helloworld-1' was not found
[marmot@localhost Projects]$ uname -a
Linux localhost.localdomain 3.14.2-200.fc20.x86_64 #1 SMP Mon Apr 28 14:40:57 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux