2010年5月31日星期一

GAE的第三方上传工具SDUpload 的ERROR sdappcfg.pyo:1334 An unexpected error occurred 问题

在使用 SDUpload 上传的时候会产生如下的错误:


2009-08-04 13:51:13,026 ERROR sdappcfg.pyo:1334 An unexpected error occurred. Ab
orting.
Traceback (most recent call last):
  File "SDUpload.py", line 30, in <module>
  File "sdappcfg.pyo", line 1936, in main
  File "sdappcfg.pyo", line 1521, in Run
  File "sdappcfg.pyo", line 1733, in Update
  File "sdappcfg.pyo", line 1313, in DoUpload
  File "sdappcfg.pyo", line 1174, in Begin
  File "sdappcfg.pyo", line 281, in Send
  File "sdappcfg.pyo", line 320, in _Authenticate
  File "sdappcfg.pyo", line 229, in _Authenticate
  File "sdappcfg.pyo", line 174, in _GetAuthToken
  File "urllib2.pyo", line 381, in open
  File "urllib2.pyo", line 399, in _open
  File "urllib2.pyo", line 360, in _call_chain
  File "urllib2.pyo", line 1115, in https_open
  File "urllib2.pyo", line 1082, in do_open
urllib2.URLError: <urlopen error (10060, 'Operation timed out')>

其实这是因为网络不通(有防火墙阻拦)的原因。需要使用代理,或者找一台能直接连上 gae 服务器的机器来上传。(gae服务器还没有被墙,不过有些地方的企业防火墙[使用白名单的策略的]会阻拦。)

--
yaoms

没有评论:

发表评论