Обновлен Google App Engine, и теперь у меня появляется ошибка TypeError: объект 'NoneType' является неподписанным - PullRequest
3 голосов
/ 08 ноября 2011

Я обновил GoogleAppEngineLauncher вчера вечером, и теперь я получаю эту ошибку

<type 'exceptions.TypeError'>   Python 2.6.1: /usr/bin/python
Tue Nov 8 09:25:13 2011
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py in _HandleRequest(self=<google.appengine.tools.dev_appserver.DevAppServerRequestHandler instance at 0x114cef368>)
<type 'exceptions.TypeError'>: 'NoneType' object is unsubscriptable 
      args = ("'NoneType' object is unsubscriptable",) 
      message = "'NoneType' object is unsubscriptable"

Есть идеи, что происходит?

1 Ответ

0 голосов
/ 26 января 2012

GAE использует Python 2.7.x, если указано в app.yaml, 2.5.x еще.При запуске с 2.6.x выдает непредсказуемые ошибки.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...