0

我添加了一堆 js 和图像文件,现在当我尝试解析部署时,我得到了这个错误

$ parse deploy
Uploading source files
Error talking to the Parse servers, try again
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
File "/usr/local/bin/parse/__main__.py", line 6, in <module>
File "/usr/local/bin/parse/main.py", line 537, in main
File "/usr/local/bin/parse/main.py", line 159, in handle_deploy
File "/usr/local/bin/parse/parse.py", line 324, in deploy
ValueError: need more than 2 values to unpack

我的 python 版本是 2.7,我看到我上传的所有文件的名称中都没有空格字符。

4

1 回答 1

0

从文件名中删除空格有效。所以,

public/web page.html 
renamed to: 
public/webpage.html

有关更多信息,请参见此处: https ://www.parse.com/questions/parse-deploy-fails-python-error

(这发生在我身上,因为在使用 Dropbox 进行同步的两台不同机器上工作时创建的文件版本冲突。我 rm -rf public/* 并重建了我的项目并解析部署工作正常。)

于 2013-11-20T20:45:48.117 回答