- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我无法在 Google App Engine 上设置 WebRTC。以下是我在 Google App Engine 项目上部署 webrtc 应用程序所执行的步骤。
但我收到“500 服务器错误 - 服务器遇到错误,无法完成您的请求”。
网址 - https://ckwebrtc.appspot.com/
请帮忙
更新:这是我收到的错误:
2015-04-16 22:34:26 Running command: "['C:\\Python27\\pythonw.exe', '-u', 'C:\\Program Files\\Google\\google_appengine\\appcfg.py', '--oauth2', 'update', u'C:\\xampp\\htdocs\\heroku\\ckwebrtc']"
10:34 PM Application: ckwebrtc; version: 2
10:34 PM Host: appengine.google.com
10:34 PM Starting update of app: ckwebrtc, version: 2
10:34 PM Getting current resource limits.
10:34 PM Scanning files on local disk.
10:34 PM Scanned 500 files.
10:35 PM Scanned 1000 files.
10:35 PM Scanned 1500 files.
10:35 PM Scanned 2000 files.
2015-04-16 22:36:05,130 ERROR appcfg.py:1925 Invalid character in filename: node_modules/grunt-htmlhint/node_modules/htmlhint/node_modules/jshint/node_modules/shelljs/test/resources/ls/filename(with)[chars$]^that.must+be-escaped
10:36 PM Scanned 2500 files.
10:36 PM Scanned 3000 files.
10:36 PM Scanned 3500 files.
10:36 PM Scanned 4000 files.
10:36 PM Scanned 4500 files.
10:36 PM Scanned 5000 files.
10:36 PM Scanned 5500 files.
2015-04-16 22:36:55,687 ERROR appcfg.py:2454 An error occurred processing file '': [Error 3] The system cannot find the path specified: 'C:\\xampp\\htdocs\\heroku\\ckwebrtc\\node_modules/grunt-closurecompiler/node_modules/closurecompiler/node_modules/tar/node_modules/fstream/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/*.*'. Aborting.
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\appcfg.py", line 133, in <module>
run_file(__file__, globals())
File "C:\Program Files\Google\google_appengine\appcfg.py", line 129, in run_file
execfile(_PATHS.script_file(script_name), globals_)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 5468, in <module>
main(sys.argv)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 5459, in main
result = AppCfgApp(argv).Run()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 3019, in Run
self.action(self)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 5115, in __call__
return method()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 3853, in Update
self._UpdateWithParsedAppYaml(appyaml, self.basepath)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 3906, in _UpdateWithParsedAppYaml
self.UpdateVersion(rpcserver, basepath, appyaml, APP_YAML_FILENAME)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 3791, in UpdateVersion
return appversion.DoUpload(paths, openfunc)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 2445, in DoUpload
self._AddFilesThatAreSmallEnough(paths, openfunc)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 2537, in _AddFilesThatAreSmallEnough
for path in paths:
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 2680, in FileIterator
entries = set(os.listdir(os.path.join(base, current_dir)))
WindowsError: [Error 3] The system cannot find the path specified: 'C:\\xampp\\htdocs\\heroku\\ckwebrtc\\node_modules/grunt-closurecompiler/node_modules/closurecompiler/node_modules/tar/node_modules/fstream/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/*.*'
2015-04-16 22:36:55 (Process exited with code 1)
You can close this window now.
最佳答案
我不确定这是否是 Windows 问题。我再次尝试从koding.com (在线云)并成功设置应用程序。
我是这样做的。
$ git clone https://github.com/webrtc/apprtc.git
使用您的应用程序 ID 编辑 app.yaml、package.json、mainfest.json 等。
$ sudo npm install grunt-cli
$ sudo npm install
$ sudo grunt build
$ sudo python /home/campuskarma/google_appengine/appcfg.py --oauth2 -A ckwebrtc update ./out/app_engine/
如果出现要求回滚的错误,请执行以下命令:
$ sudo python /home/campuskarma/google_appengine/appcfg.py --oauth2 -A ckwebrtc rollback ./out/app_engine/
$ sudo python /home/campuskarma/google_appengine/appcfg.py --oauth2 -A ckwebrtc update ./out/app_engine/
此处提到的每个命令都应从应用程序文件夹的根目录执行。 (即克隆应用程序的文件夹)
关于node.js - 在 Google App Engine 上设置 AppRTC (WebRTC),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29673397/
Google Cloud Compute 中的 Google Compute Engine、App Engine 和 Container Engine 之间的实际区别是什么?什么时候使用什么? 有什么
我有一个在 Google App Engine 中运行的应用程序,它访问在 Google Compute Engine 中的机器上运行的服务。 Google App Engine 应用程序是该服务唯一
我们正在谷歌云中构建一个应用程序。我们使用 App Engine 作为前端,使用 Compute Engine 作为后端。在这些 Compute Engine 实例上,我正在运行一个接受特定“命令”消
我有一个现有的 GAE 应用程序(我们称之为应用程序 A)正在运行的情况,但由于非技术原因无法修改。当用户迁移到新的客户端版本时,我们需要将他们的数据从应用程序 A 迁移到新的 GAE 应用程序(我称
我正在尝试发现 App Engine 上的其他已部署服务。类似于 this文章建议。 我的代码是这样的: import ( "fmt" "net/http" "google.g
我想在我的网站上为“图像处理”事件设置服务器。如果我在 GCE 中使用“n1-standard-1”实例,GAE 中的可比功率是多少?是因为我算错了,还是同一个功率两者价格相差很大? 最佳答案 按小时
我在 Googl Compute Engine 和 Google App Engine 标准环境中的应用程序中创建了一个 VM 实例。我打算在 App Engine 中使用我的应用程序,在 Compu
我像往常一样使用 appcfg.py 更新我的应用程序,但收到一条错误消息。我试过 appcfg.py 回滚,两次尝试之间等了十分钟,但我仍然收到相同的错误消息。我该怎么办? 无法对 apps/dev
我想在 Google Compute Engine 上放置一个 Redis 服务器,并通过 AppEngine 的套接字支持与其对话。唯一的问题是似乎没有特定的防火墙规则说“此 AppEngine 应
我想知道 App Engine 和 Compute Engine 之间有什么区别。任何人都可以向我解释其中的区别吗? 最佳答案 App Engine 是一种平台即服务。这意味着您只需部署代码,平台会为
我正在编写一个在 App Engine 的 Go 运行时上运行的 Go 应用程序。 我注意到几乎所有使用 App Engine 服务(例如 Datastore、Mail 甚至 Capabilities
是否有人有在 Grid Engine/Sun Grid Engine/Son of Grid Engine 上运行 Docker 的经验,并且能够 monitor the resource used
我读了很多论坛,因为 grails app-engine 插件多年来没有更新,所以不可能将 grails 应用程序部署到谷歌应用程序引擎。当我准备放弃时,我发现使用 intellij 部署项目是可能的
当前设置, 运行 Windows Server 2012 (GCE Server 2012) 的谷歌计算引擎 运行 Debian Wheezy(GCE 服务器 Wheezy)的 Google 计算引擎
特定于基于 Docker 的部署,这两者之间有什么区别?由于 Google App Engine Flexible 现在也支持基于 Dockerfile 的部署,并且它也是完全托管的服务,因此它似乎比
我相信 Google Kubernetes Engine (GKE) 在 Google Compute Engine (GCE) 上运行。那么,在服务器管理方面使用 Google Kubernetes
TLDR;关于这个问题有任何更新吗? Google App Engine communicate with Compute Engine over internal network -- 是否可以在同
我正在尝试使用 Go SDK 为 App Engine 编写应用程序,但它似乎与单元测试有一种有趣的关系。人有written libraries左右this original, outdated一组工
在 App Engine 中,我想对在同一个 Google 云项目中创建的 Compute Engine 实例上运行的网络服务器进行 http fetch 调用,我想知道是否可以在不启用的情况下对实例
在编写 Go App Engine 标准应用程序时,过去的情况是您必须使用 App Engine SDK访问数据存储。然而,最近(从 Go 1.11 开始?),如果你只使用 Cloud Datasto
我是一名优秀的程序员,十分优秀!