V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
DAOCLOUD
推荐学习书目
Python Cookbook
Using Google App Engine
推荐下载
Latest Google App Engine SDK
其他兼容技术
AppScale
Gauin
V2EX  ›  Google App Engine

升级Micolog 0.74到2.0出问题

  •  
  •   Gauin · 2012-10-22 22:58:21 +08:00 · 4602 次点击
    这是一个创建于 4424 天前的主题,其中的信息可能已经有所发展或是发生改变。
    这段时间博客一直出问题 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 protected]', '--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 [email protected]: 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.

    技术小白 求帮忙
    5 条回复    1970-01-01 08:00:00 +08:00
    Gauin
        1
    Gauin  
    OP
       2012-10-22 22:58:38 +08:00
    在线等
    ringdang
        2
    ringdang  
       2012-10-22 23:06:32 +08:00
    我曾经改过hosts会上传失败,删掉后就可以上传了
    Gauin
        3
    Gauin  
    OP
       2012-10-22 23:26:07 +08:00
    @ringdang 关掉了寒风 3 代理 本地测试正常 点击上传 不成功 依然报错。错误如上提到的一样。怎么办呢?
    faydao
        4
    faydao  
       2012-10-30 18:45:37 +08:00
    我上传后,首页剩下:hello world! 擦
    Gauin
        5
    Gauin  
    OP
       2012-10-30 23:44:45 +08:00
    @faydao 这个问题 我没出现过 不过现在GAE貌似很不稳定 状况不断啊
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1048 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 19:50 · PVG 03:50 · LAX 11:50 · JFK 14:50
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.