Google app engine 无法将应用程序部署到GAE-无法分配值'&书信电报;未知>';将';url';

Google app engine 无法将应用程序部署到GAE-无法分配值'&书信电报;未知>';将';url';,google-app-engine,oauth,Google App Engine,Oauth,我目前正在使用Eric Redmond的《谷歌眼镜编程》一书来学习如何为谷歌眼镜创建应用程序。有一节作者介绍了使用谷歌OAuth授权应用程序的代码。我是OAuth新手,即使给出了代码,我在部署我的应用程序时也遇到了问题(在添加OAuth代码之前,应用程序可以部署到GAE,但您不能在Glass上使用它) 我得到的错误是: Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/

我目前正在使用Eric Redmond的《谷歌眼镜编程》一书来学习如何为谷歌眼镜创建应用程序。有一节作者介绍了使用谷歌OAuth授权应用程序的代码。我是OAuth新手,即使给出了代码,我在部署我的应用程序时也遇到了问题(在添加OAuth代码之前,应用程序可以部署到GAE,但您不能在Glass上使用它)

我得到的错误是:

Unable to update app: Error posting to URL: 
https://appengine.google.com/api/appversion/create?app_id=glassebooktest&version=1&
400 Bad Request
Error when loading application configuration:
Unable to assign value '<unknown>' to attribute 'url':
Value u'\\\u200b.*\\\u200b' for ??? could not be converted to type str.


See the deployment console for more details
Unable to update app: Error posting to URL:     
https://appengine.google.com/api/appversion/create?app_id=glassebooktest&version=1&
400 Bad Request
Error when loading application configuration:
Unable to assign value '<unknown>' to attribute 'url':
Value u'\\\u200b.*\\\u200b' for ??? could not be converted to type str.
不幸的是,这本书没有解释这一部分,我很难排除故障。任何帮助都将不胜感激

我没有app.yaml文件,我的appengine-web.xml文件如下:

<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
  <application>glassebooktest</application>
  <version>1</version>

  <threadsafe>true</threadsafe>

  <!-- Configure java.util.logging -->
  <system-properties>
    <property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
  </system-properties>

</appengine-web-app>

玻璃书籍测试
1.
符合事实的

检查app.yaml或appengine-web.xml中的url处理程序。我猜是你复制/粘贴了处理程序,它拾取了一个非法字符。尝试以
/.*


u'\\\u200b.\\\\u200b'
对应于带有非法非空格的
\\.\\\\\\\\

我添加了appengine-web.xml文件的内容。我也没有app.yaml文件(我被告知它将在WEB-INF文件夹中)。
<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
  <application>glassebooktest</application>
  <version>1</version>

  <threadsafe>true</threadsafe>

  <!-- Configure java.util.logging -->
  <system-properties>
    <property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
  </system-properties>

</appengine-web-app>