Skip to content

issue on python dev_appserver.py src #67

Closed
jezhang opened this Issue Jan 17, 2014 · 1 comment

2 participants

@jezhang
jezhang commented Jan 17, 2014

error issued:

time=config.LOCK_TIMEOUT, namespace=config.KEY_NAMESPACE):

File "D:\google_appengine\google\appengine\api\memcache__init__.py", line 784
, in add
namespace=namespace)
File "D:\google_appengine\google\appengine\api\memcache__init__.py", line 869
, in set_with_policy
status_dict = rpc.get_result()
File "D:\google_appengine\google\appengine\api\apiproxy_stub_map.py", line 612
, in get_result
return self.__get_result_hook(self)
File "D:\google_appengine\google\appengine\api\memcache__init_
.py", line 974
, in set_with_policy_hook
rpc.check_success()
File "D:\google_appengine\google\appengine\api\apiproxy_stub_map.py", line 578
, in check_success
self.__rpc.CheckSuccess()
File "D:\google_appengine\google\appengine\api\apiproxy_rpc.py", line 156, in
_WaitImpl
self.request, self.response)
File "D:\google_appengine\google\appengine\ext\remote_api\remote_api_stub.py",
line 200, in MakeSyncCall
self._MakeRealSyncCall(service, call, request, response)
File "D:\google_appengine\google\appengine\ext\remote_api\remote_api_stub.py",
line 226, in _MakeRealSyncCall
encoded_response = self._server.Send(self._path, encoded_request)
File "D:\google_appengine\google\appengine\tools\appengine_rpc.py", line 409,
in Send
f = self.opener.open(req)
File "D:\Python27\lib\urllib2.py", line 406, in open
response = meth(req, response)
File "D:\Python27\lib\urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "D:\Python27\lib\urllib2.py", line 444, in error
return self._call_chain(args)
File "D:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(
args)
File "D:\Python27\lib\urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 301: Moved Permanently
HTTPError()
HTTPError()
Traceback (most recent call last):
File "D:\google_appengine\lib\cherrypy\cherrypy\wsgiserver\wsgiserver2.py", li
ne 1302, in communicate
req.respond()
File "D:\google_appengine\lib\cherrypy\cherrypy\wsgiserver\wsgiserver2.py", li
ne 831, in respond
self.server.gateway(self).respond()
File "D:\google_appengine\lib\cherrypy\cherrypy\wsgiserver\wsgiserver2.py", li
ne 2115, in respond
response = self.req.server.wsgi_app(self.env, self.start_response)
File "D:\google_appengine\google\appengine\tools\devappserver2\wsgi_server.py"
, line 269, in __call

return app(environ, start_response)
File "D:\google_appengine\google\appengine\tools\devappserver2\request_rewrite
r.py", line 311, in rewriter_middleware
response_body = iter(application(environ, wrapped_start_response))
File "D:\google_appengine\google\appengine\tools\devappserver2\python\request

handler.py", line 148, in call
self.flush_logs(response.get('logs', []))
File "D:\google_appengine\google\appengine\tools\devappserver2\python\request

handler.py", line 284, in flush_logs
apiproxy_stub_map.MakeSyncCall('logservice', 'Flush', request, response)
File "D:\google_appengine\google\appengine\api\apiproxy_stub_map.py", line 94,
in MakeSyncCall
return stubmap.MakeSyncCall(service, call, request, response)
INFO 2014-01-17 15:24:30,605 module.py:617] default: "GET /ah/warmup HTTP/1
.1" 500 -
File "D:\google_appengine\google\appengine\api\apiproxy_stub_map.py", line 328
, in MakeSyncCall
rpc.CheckSuccess()
File "D:\google_appengine\google\appengine\api\apiproxy_rpc.py", line 156, in
_WaitImpl
self.request, self.response)
File "D:\google_appengine\google\appengine\ext\remote_api\remote_api_stub.py",
line 200, in MakeSyncCall
self._MakeRealSyncCall(service, call, request, response)
File "D:\google_appengine\google\appengine\ext\remote_api\remote_api_stub.py",
line 226, in _MakeRealSyncCall
encoded_response = self._server.Send(self._path, encoded_request)
File "D:\google_appengine\google\appengine\tools\appengine_rpc.py", line 409,
in Send
f = self.opener.open(req)
File "D:\Python27\lib\urllib2.py", line 406, in open
response = meth(req, response)
File "D:\Python27\lib\urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "D:\Python27\lib\urllib2.py", line 444, in error
return self._call_chain(args)
File "D:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(
args)
File "D:\Python27\lib\urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 301: Moved Permanently
Traceback (most recent call last):
File "D:\google_appengine\lib\cherrypy\cherrypy\wsgiserver\wsgiserver2.py", li
ne 1302, in communicate
req.respond()
File "D:\google_appengine\lib\cherrypy\cherrypy\wsgiserver\wsgiserver2.py", li
ne 831, in respond
self.server.gateway(self).respond()
File "D:\google_appengine\lib\cherrypy\cherrypy\wsgiserver\wsgiserver2.py", li
ne 2115, in respond
response = self.req.server.wsgi_app(self.env, self.start_response)
File "D:\google_appengine\google\appengine\tools\devappserver2\wsgi_server.py"
, line 269, in __call

return app(environ, start_response)
File "D:\google_appengine\google\appengine\tools\devappserver2\request_rewrite
r.py", line 311, in rewriter_middleware
response_body = iter(application(environ, wrapped_start_response))
File "D:\google_appengine\google\appengine\tools\devappserver2\python\request

handler.py", line 148, in call
self.flush_logs(response.get('logs', []))
File "D:\google_appengine\google\appengine\tools\devappserver2\python\request

handler.py", line 284, in flush_logs
apiproxy_stub_map.MakeSyncCall('logservice', 'Flush', request, response)
File "D:\google_appengine\google\appengine\api\apiproxy_stub_map.py", line 94,
in MakeSyncCall
return stubmap.MakeSyncCall(service, call, request, response)
File "D:\google_appengine\google\appengine\api\apiproxy_stub_map.py", line 328
, in MakeSyncCall
rpc.CheckSuccess()
File "D:\google_appengine\google\appengine\api\apiproxy_rpc.py", line 156, in
WaitImpl
self.request, self.response)
File "D:\google_appengine\google\appengine\ext\remote_api\remote_api_stub.py",
line 200, in MakeSyncCall
self._MakeRealSyncCall(service, call, request, response)
File "D:\google_appengine\google\appengine\ext\remote_api\remote_api_stub.py",
line 226, in _MakeRealSyncCall
encoded_response = self._server.Send(self._path, encoded_request)
File "D:\google_appengine\google\appengine\tools\appengine_rpc.py", line 409,
in Send
f = self.opener.open(req)
File "D:\Python27\lib\urllib2.py", line 406, in open
response = meth(req, response)
File "D:\Python27\lib\urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "D:\Python27\lib\urllib2.py", line 444, in error
return self._call_chain(args)
File "D:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(
args)
File "D:\Python27\lib\urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 301: Moved Permanently
ERROR 2014-01-17 07:24:32,967 wsgi.py:278]
Traceback (most recent call last):
File "D:\google_appengine\google\appengine\runtime\wsgi.py", line 267, in Hand
le
for chunk in result:
File "D:\google_appengine\google\appengine\ext\appstats\recording.py", line 12
50, in appstats_wsgi_wrapper
start_recording(environ)
File "D:\google_appengine\google\appengine\ext\appstats\recording.py", line 13
87, in start_recording
time=config.LOCK_TIMEOUT, namespace=config.KEY_NAMESPACE):
File "D:\google_appengine\google\appengine\api\memcache__init
.py", line 784
, in add
namespace=namespace)
File "D:\google_appengine\google\appengine\api\memcache__init__.py", line 869
, in set_with_policy
status_dict = rpc.get_result()
File "D:\google_appengine\google\appengine\api\apiproxy_stub_map.py", line 612
, in get_result
return self.__get_result_hook(self)
File "D:\google_appengine\google\appengine\api\memcache__init_
.py", line 974
, in set_with_policy_hook
rpc.check_success()
File "D:\google_appengine\google\appengine\api\apiproxy_stub_map.py", line 578
, in check_success
self.__rpc.CheckSuccess()
File "D:\google_appengine\google\appengine\api\apiproxy_rpc.py", line 156, in
_WaitImpl
self.request, self.response)
File "D:\google_appengine\google\appengine\ext\remote_api\remote_api_stub.py",
line 200, in MakeSyncCall
self._MakeRealSyncCall(service, call, request, response)
File "D:\google_appengine\google\appengine\ext\remote_api\remote_api_stub.py",
line 226, in _MakeRealSyncCall
encoded_response = self._server.Send(self._path, encoded_request)
File "D:\google_appengine\google\appengine\tools\appengine_rpc.py", line 409,
in Send
f = self.opener.open(req)
File "D:\Python27\lib\urllib2.py", line 406, in open
response = meth(req, response)
File "D:\Python27\lib\urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "D:\Python27\lib\urllib2.py", line 444, in error
return self._call_chain(args)
File "D:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(
args)
File "D:\Python27\lib\urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 301: Moved Permanently
HTTPError()
HTTPError()
Traceback (most recent call last):
File "D:\google_appengine\lib\cherrypy\cherrypy\wsgiserver\wsgiserver2.py", li
ne 1302, in communicate
req.respond()
File "D:\google_appengine\lib\cherrypy\cherrypy\wsgiserver\wsgiserver2.py", li
ne 831, in respond
self.server.gateway(self).respond()
File "D:\google_appengine\lib\cherrypy\cherrypy\wsgiserver\wsgiserver2.py", li
ne 2115, in respond
response = self.req.server.wsgi_app(self.env, self.start_response)
File "D:\google_appengine\google\appengine\tools\devappserver2\wsgi_server.py"
, line 269, in __call

return app(environ, start_response)
File "D:\google_appengine\google\appengine\tools\devappserver2\request_rewrite
r.py", line 311, in rewriter_middleware
response_body = iter(application(environ, wrapped_start_response))
File "D:\google_appengine\google\appengine\tools\devappserver2\python\request

handler.py", line 148, in call
self.flush_logs(response.get('logs', []))
File "D:\google_appengine\google\appengine\tools\devappserver2\python\request

handler.py", line 284, in flush_logs
apiproxy_stub_map.MakeSyncCall('logservice', 'Flush', request, response)
File "D:\google_appengine\google\appengine\api\apiproxy_stub_map.py", line 94,
in MakeSyncCall
return stubmap.MakeSyncCall(service, call, request, response)
File "D:\google_appengine\google\appengine\api\apiproxy_stub_map.py", line 328
, in MakeSyncCall
rpc.CheckSuccess()
File "D:\google_appengine\google\appengine\api\apiproxy_rpc.py", line 156, in
WaitImpl
self.request, self.response)
File "D:\google_appengine\google\appengine\ext\remote_api\remote_api_stub.py",
line 200, in MakeSyncCall
self._MakeRealSyncCall(service, call, request, response)
File "D:\google_appengine\google\appengine\ext\remote_api\remote_api_stub.py",
line 226, in _MakeRealSyncCall
encoded_response = self._server.Send(self._path, encoded_request)
File "D:\google_appengine\google\appengine\tools\appengine_rpc.py", line 409,
in Send
f = self.opener.open(req)
File "D:\Python27\lib\urllib2.py", line 406, in open
response = meth(req, response)
File "D:\Python27\lib\urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "D:\Python27\lib\urllib2.py", line 444, in error
return self._call_chain(args)
File "D:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(
args)
File "D:\Python27\lib\urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 301: Moved Permanently
Traceback (most recent call last):
File "D:\google_appengine\lib\cherrypy\cherrypy\wsgiserver\wsgiserver2.py", li
ne 1302, in communicate
req.respond()
File "D:\google_appengine\lib\cherrypy\cherrypy\wsgiserver\wsgiserver2.py", li
ne 831, in respond
self.server.gateway(self).respond()
File "D:\google_appengine\lib\cherrypy\cherrypy\wsgiserver\wsgiserver2.py", li
ne 2115, in respond
response = self.req.server.wsgi_app(self.env, self.start_response)
File "D:\google_appengine\google\appengine\tools\devappserver2\wsgi_server.py"
, line 269, in __call

return app(environ, start_response)
File "D:\google_appengine\google\appengine\tools\devappserver2\request_rewrite
r.py", line 311, in rewriter_middleware
response_body = iter(application(environ, wrapped_start_response))
File "D:\google_appengine\google\appengine\tools\devappserver2\python\request

handler.py", line 148, in call
self.flush_logs(response.get('logs', []))
File "D:\google_appengine\google\appengine\tools\devappserver2\python\request

handler.py", line 284, in _flush_logs
apiproxy_stub_map.MakeSyncCall('logservice', 'Flush', request, response)
File "D:\google_appengine\google\appengine\api\apiproxy_stub_map.py", line 94,
in MakeSyncCall
return stubmap.MakeSyncCall(service, call, request, response)
File "D:\google_appengine\google\appengine\api\apiproxy_stub_map.py", line 328
, in MakeSyncCall
rpc.CheckSuccess()
INFO 2014-01-17 15:24:33,601 module.py:617] default: "GET / HTTP/1.1" 500 -
File "D:\google_appengine\google\appengine\api\apiproxy_rpc.py", line 156, in
_WaitImpl
self.request, self.response)
File "D:\google_appengine\google\appengine\ext\remote_api\remote_api_stub.py",
line 200, in MakeSyncCall
self._MakeRealSyncCall(service, call, request, response)
File "D:\google_appengine\google\appengine\ext\remote_api\remote_api_stub.py",
line 226, in _MakeRealSyncCall
encoded_response = self._server.Send(self._path, encoded_request)
File "D:\google_appengine\google\appengine\tools\appengine_rpc.py", line 409,
in Send
f = self.opener.open(req)
File "D:\Python27\lib\urllib2.py", line 406, in open
response = meth(req, response)
File "D:\Python27\lib\urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "D:\Python27\lib\urllib2.py", line 444, in error
return self._call_chain(args)
File "D:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(
args)
File "D:\Python27\lib\urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 301: Moved Permanently

@kamalgill
Owner

Closing (cannot reproduce), dev_appserver.py src/ works fine with the latest SDK (version 1.9.13)

@kamalgill kamalgill closed this Oct 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.