2014-09-02 129 views
0

我在ubuntu 12.04 LTS机器上使用Eclipse Kepler和Google App Engine v1.9.10。在点击“登录Google”不打开登录窗口就显示错误下面提到的错误“登录谷歌”日食kepler按钮does'nt打开谷歌登录窗口?

“无法加载页面 问题,同时加载URL发生https://accounts.google.com/o/oauth2/auth?client_id=130316539331.apps.googleusercontent.com&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&scope=https://www.googleapis.com/auth/appengine.admin%20https://www.googleapis.com/auth/drive%20https://www.googleapis.com/auth/drive.scripts%20https://www.googleapis.com/auth/projecthosting%20https://www.googleapis.com/auth/sqlservice%20https://www.googleapis.com/auth/userinfo%23email

无法解析代理主机名()” 。 任何人都可以请帮忙。我有应用程序要上传到GAE。有没有什么办法可以在eclipse中构建应用程序,然后从ubuntu终端上载它们。

回答

1

在Ubuntu 12.04

  1. 开放系统设置
  2. 选择网络。
  3. 选择网络代理。
  4. 的方法设置为无

,瞧...谷歌登录链接在Eclipse中打开。

2

您可以使用命令行,如下所示[1]上传应用程序:

appcfg.sh update myapp/war 

或一个Python或PHP应用[2]:

appcfg.py update myapp/ 

代理主机错误似乎与您的系统代理设置有关(StackOverflow的主题不正确),但是在启动Eclipse之前,您可以尝试设置'no_proxy'环境变量作为解决方法:

export no_proxy=127.0.0.1,localhost 
eclipse & 

[1] Uploading and Managing a Java App
[2] Uploading, Downloading, and Managing a Python App

+0

通过命令行上传非常有帮助...谢谢 – ravin 2014-12-28 11:14:11