升级Micolog 0.74到2.0出问题

2012-10-22 22:58:21 +08:00
 Gauin
这段时间博客一直出问题 Micolog 0.74 (按照@88250的推荐成功安装了B3log 目前测试中)


我用其他应用成功升级到2.0.0版 但惟独现在的博客无法升级。
方法:使用Google App Engine Launcher
安装了Python 2.5 也做了环境变量设置Path C:\Python25
下载App Engine SDK for Python 勾选了add product path to userPATH
添加上传程序后 查看http://localhost:8080 本地测试成功 点击Deploy按钮后输入帐号、密码上传。
出现错误如下:

2012-10-22 22:19:20 Running command: "['C:\\Python25\\pythonw.exe', '-u', 'C:\\Program Files\\Google\\google_appengine\\appcfg.py', '--no_cookies', u'--email=lihongtao1987@gmail.com', '--passin', 'update', u'C:\\micolog2']"
10:19 PM Host: appengine.google.com
10:19 PM Application: gauinlee; version: 1
10:19 PM
Starting update of app: gauinlee, version: 1
10:19 PM Getting current resource limits.
2012-10-22 22:19:27,921 WARNING appengine_rpc.py:536 ssl module not found.
Without the ssl module, the identity of the remote host cannot be verified, and
connections may NOT be secure. To fix this, please install the ssl module from
http://pypi.python.org/pypi/ssl .
To learn more, see https://developers.google.com/appengine/kb/general#rpcssl
Password for lihongtao1987@gmail.com: 2012-10-22 22:19:48,921 ERROR appcfg.py:2182 An error occurred processing file '': <urlopen error (10060, 'Operation timed out')>. Aborting.
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\appcfg.py", line 171, in <module>
run_file(__file__, globals())
File "C:\Program Files\Google\google_appengine\appcfg.py", line 167, in run_file
execfile(script_path, globals_)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 4191, in <module>
main(sys.argv)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 4182, in main
result = AppCfgApp(argv).Run()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 2579, in Run
self.action(self)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 3927, in __call__
return method()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 3041, in Update
self.UpdateVersion(rpcserver, self.basepath, appyaml)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 3023, in UpdateVersion
lambda path: self.opener(os.path.join(basepath, path), 'rb'))
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 2152, in DoUpload
self.resource_limits = GetResourceLimits(self.rpcserver, self.config)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 357, in GetResourceLimits
resource_limits.update(GetRemoteResourceLimits(rpcserver, config))
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 328, in GetRemoteResourceLimits
version=config.version)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 397, in Send
self._Authenticate()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 537, in _Authenticate
super(HttpRpcServer, self)._Authenticate()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 289, in _Authenticate
auth_token = self._GetAuthToken(credentials[0], credentials[1])
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 228, in _GetAuthToken
response = self.opener.open(req)
File "C:\Python25\lib\urllib2.py", line 374, in open
response = self._open(req, data)
File "C:\Python25\lib\urllib2.py", line 392, in _open
'_open', req)
File "C:\Python25\lib\urllib2.py", line 353, in _call_chain
result = func(*args)
File "C:\Python25\lib\urllib2.py", line 1108, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "C:\Program Files\Google\google_appengine\lib\fancy_urllib\fancy_urllib\__init__.py", line 383, in do_open
raise url_error
urllib2.URLError: <urlopen error (10060, 'Operation timed out')>
2012-10-22 22:19:49 (Process exited with code 1)

You can close this window now.

技术小白 求帮忙
4587 次点击
所在节点    Google App Engine
5 条回复
Gauin
2012-10-22 22:58:38 +08:00
在线等
ringdang
2012-10-22 23:06:32 +08:00
我曾经改过hosts会上传失败,删掉后就可以上传了
Gauin
2012-10-22 23:26:07 +08:00
@ringdang 关掉了寒风 3 代理 本地测试正常 点击上传 不成功 依然报错。错误如上提到的一样。怎么办呢?
faydao
2012-10-30 18:45:37 +08:00
我上传后,首页剩下:hello world! 擦
Gauin
2012-10-30 23:44:45 +08:00
@faydao 这个问题 我没出现过 不过现在GAE貌似很不稳定 状况不断啊

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/50638

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX