Issue with local dev & admin server with Go & Python SDK 1.9.6 & Windows: GAE new issue 11001

閲覧: 90 回
最初の未読メッセージにスキップ

Fred Janon

未読、
2014/06/11 15:29:282014/06/11
To: google-ap...@googlegroups.com
Hi,

A few of us, Windows users, have found an issue with the local dev & admin server in the Go & Python SDK 1.9.6 (was also there in 1.9.5). I found 2 workarounds but I would appreciate if someone could look into that issue so it gets fixed properly in the next SDK version for Go, python and all SDKs using the python server.


Thanks

Fred

------------------------------
ERROR    2014-06-11 17:20:59,174 webapp2.py:1553] WSGI response header value u'text/css' is not of type str.
Traceback (most recent call last):
File "c:\appengine-go-1.9.6\lib\webapp2-2.5.1\webapp2.py", line 1547, in __call__
    return response(environ, start_response)
 
File "c:\appengine-go-1.9.6\lib\webob-1.2.3\webob\response.py", line 1021, in __call__
    start_response(self.status, headerlist)

File "c:\appengine-go-1.9.6\lib\cherrypy\cherrypy\wsgiserver\wsgiserver2.py", line 2155, in start_response
    raise TypeError("WSGI response header value %r is not of type str." % v)
TypeError: WSGI response header value u'text/css' is not of type str.

---------------------------
Traceback (most recent call last):
  File "c:\appengine-go-1.9.5\google\appengine\tools\devappserver2\module.py", line 710, in _handle_request
    return handler.handle(match, environ, wrapped_start_response)
  File "c:\appengine-go-1.9.5\google\appengine\tools\devappserver2\static_files_handler.py", line 314, in handle
    return self._handle_path(full_path, environ, start_response)

File "c:\appengine-go-1.9.5\google\appengine\tools\devappserver2\static_files_handler.py", line 182, in _handle_path
    start_response('200 OK', headers)

File "c:\appengine-go-1.9.5\google\appengine\tools\devappserver2\module.py", line 640, in wrapped_start_response
    return start_response(status, response_headers, exc_info)

File "c:\appengine-go-1.9.5\lib\cherrypy\cherrypy\wsgiserver\wsgiserver2.py", line 2155, in start_response
    raise TypeError("WSGI response header value %r is not of type str." % v)

TypeError: WSGI response header value u'text/html' is not of type str.

Fred Janon

未読、
2014/07/11 13:05:022014/07/11
To: google-ap...@googlegroups.com
The 11001 issue has been updated, someone suggested to use Python 2.7.8 instead of 2.7.8 and it seems to work now.

Using 2.7.8 also fixes an upload issue that errored like this:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1545: ordinal not in range(128)

Thanks to the person who suggested that.

Cheers,

Fred

crya...@gmail.com

未読、
2014/10/13 11:46:432014/10/13
To: google-ap...@googlegroups.com
Works like a charm!
全員に返信
投稿者に返信
転送
新着メール 0 件