时,我得到了同样的问题报道here与我Python应用程序。使用AppEngine上1.8.1,当我尝试部署,我收到以下错误:“无效字符的文件名:__static__”部署到谷歌的AppEngine
Error 400: --- begin server output ---
Invalid character in filename: __static__\static/config/sboxwsdl.xml
我想这是在抱怨反斜杠。路径“__static__\
”的部分不是我可以在应用程序中更改的部分;它在appengine代码中完成。用google/appengine/appcfg.py中的posixpath.join代替os.path.join并不能解决它。这是我的app.yaml文件:使用application_readable当PHP &的Python看到在Windows 1.8.1部署
application: theappiamwriting
version: 1
runtime: python27
api_version: 1
threadsafe: true
handlers:
- url: /files/csv
static_dir: static/csv
mime_type: text/csv
application_readable: true
- url: /files/config
static_dir: static/config
mime_type: text/xml
application_readable: true
你需要向我们展示了*代码*;我们无法确定'\ s'从哪里来。 –
编辑这个问题来解释“\”是由appengine代码添加的,而不是我的。 – donmac23
你如何向我们展示你的代码*无论如何*。 –