django Nonl应用程序引擎无法';无法连接到远程shell
我和django Nonl有一个appengine项目。应用程序引擎SDK 1.6.6。蟒蛇2.7。 我想使用将我的开发数据上载到生产服务器django Nonl应用程序引擎无法';无法连接到远程shell,django,google-app-engine,django-nonrel,djangoappengine,Django,Google App Engine,Django Nonrel,Djangoappengine,我和django Nonl有一个appengine项目。应用程序引擎SDK 1.6.6。蟒蛇2.7。 我想使用将我的开发数据上载到生产服务器 manage.py远程加载数据myfixture 或者简单地说, manage.py远程shell, 但是我得到了url错误(违反了协议) 顺便问一下,我需要在app.yaml中设置django版本,还是将其留空,然后使用Nonl django 信息如下: INFO 2012-07-03 23:34:40,720 stubs.py:79] Sett
manage.py远程加载数据myfixture
或者简单地说,
manage.py远程shell
,
但是我得到了url错误(违反了协议)
顺便问一下,我需要在app.yaml中设置django版本,还是将其留空,然后使用Nonl django
信息如下:
INFO 2012-07-03 23:34:40,720 stubs.py:79] Setting up remote_api for "xxx" at https://xxx.appspot.com/_ah/remote_api
Connecting to remote_api handler.
IMPORTANT: Check your login method settings in the App Engine Dashboard if you h
ave problems logging in. Login is only supported for Google Accounts.
INFO 2012-07-03 23:34:40,884 appengine_rpc.py:466] Loaded authentication coo
kies from C:\Users\xxx/.appcfg_cookies
INFO 2012-07-03 23:34:40,885 appengine_rpc.py:160] Server: xxx.app
spot.com
Traceback (most recent call last):
File "C:\Users\xxx\git\django-project\manage.py", line 11, in <module>
execute_manager(settings)
File "C:\Users\xxx\git\django-project\django\core\management\__init__.py",
line 438, in execute_manager
utility.execute()
File "C:\Users\xxx\git\django-project\django\core\management\__init__.py",
line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Users\xxx\git\django-project\djangoappengine\management\commands\r
emote.py", line 15, in run_from_argv
stub_manager.setup_remote_stubs(connection)
File "C:\Users\xxx\git\django-project\djangoappengine\db\stubs.py", line 89
, in setup_remote_stubs
rpc_server_factory=rpc_server_factory)
File "C:\Program Files\Google\google_appengine\google\appengine\ext\remote_api
\remote_api_stub.py", line 682, in ConfigureRemoteApi
app_id = GetRemoteAppIdFromServer(server, path, rtok)
File "C:\Program Files\Google\google_appengine\google\appengine\ext\remote_api
\remote_api_stub.py", line 525, in GetRemoteAppIdFromServer
response = server.Send(path, payload=None, **urlargs)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appengin
e_rpc.py", line 366, in Send
f = self.opener.open(req)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1215, 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 367, in do_open
raise url_error
urllib2.URLError: <urlopen error [Errno 8] _ssl.c:504: EOF occurred in violation
of protocol>
INFO 2012-07-03 23:34:40720 stubs.py:79]在设置“xxx”的远程apihttps://xxx.appspot.com/_ah/remote_api
正在连接到远程api处理程序。
重要提示:如果需要,请在App Engine仪表板中检查登录方法设置
登录时出现问题。只有谷歌账户才支持登录。
信息2012-07-03 23:34:40884 appengine_rpc.py:466]加载的身份验证coo
来自C:\Users\xxx/.appcfg\u cookies的KIE
信息2012-07-03 23:34:40885 appengine_rpc.py:160]服务器:xxx.app
spot.com
回溯(最近一次呼叫最后一次):
文件“C:\Users\xxx\git\django project\manage.py”,第11行,在
执行\u管理器(设置)
文件“C:\Users\xxx\git\django project\django\core\management\\uuuu init\uuuu.py”,
执行管理器中的第438行
utility.execute()
文件“C:\Users\xxx\git\django project\django\core\management\\uuuu init\uuuu.py”,
第379行,执行中
self.fetch_命令(子命令)。从_argv(self.argv)运行_
文件“C:\Users\xxx\git\django project\djangoappengine\management\commands\r\n
“emote.py”,第15行,从_argv运行_
存根管理器。设置远程存根(连接)
文件“C:\Users\xxx\git\django project\djangoappengine\db\stubs.py”,第89行
,在设置\u远程\u存根中
rpc_服务器_工厂=rpc_服务器_工厂)
文件“C:\ProgramFiles\Google\Google\U appengine\Google\appengine\ext\remote\U api
\远程api_stub.py”,第682行,在ConfigureRemoteApi中
app_id=GetRemoteAppIdFromServer(服务器、路径、rtok)
文件“C:\ProgramFiles\Google\Google\U appengine\Google\appengine\ext\remote\U api
\GetRemoteAppIdFromServer中的remote_api_stub.py”,第525行
response=server.Send(路径,有效负载=None,**urlargs)
文件“C:\Program Files\Google\Google\U appengine\Google\appengine\tools\appengin
e_rpc.py”,第366行,发送
f=自动开启器开启(要求)
文件“C:\Python27\lib\urllib2.py”,第400行,打开
响应=自身打开(请求,数据)
文件“C:\Python27\lib\urllib2.py”,第418行,处于打开状态
"开放",
文件“C:\Python27\lib\urllib2.py”,第378行,在调用链中
结果=func(*args)
文件“C:\Python27\lib\urllib2.py”,第1215行,https\u open
返回self.do_open(httplib.HTTPSConnection,req)
文件“C:\Program Files\Google\Google\u appengine\lib\fancy\u urllib\fancy\u urllib\_
_init__.py”,第367行,在do_open中
引发url\u错误
urllib2.URLError:
我认为这是一个暂时的问题。这可能是由于internet连接速度慢导致超时造成的。请在此处发布整个app.yaml文件
此错误似乎是文件路径中的app.yaml文件造成的。检查处理程序中的所有文件目录。删除目录名后的“/”。我想知道django Nonl是否仍然受支持:感谢您指出。太遗憾了。你有没有试过将dumpdata/loaddata本地转储到文件中?如果您有任何不可序列化的数据,它可能会抛出错误。是的,我有。虽然我想不是,但还是有这个错误。我被测试了整整一周,结果还是一样的错误。