为什么我会收到这个织物放置错误?

9 投票
1 回答
1913 浏览
提问于 2025-04-29 09:59

我想把我电脑上的一个特定文件移动到远程服务器上。但是,当我尝试用fab这个工具来做的时候,它返回了一个错误:

Fatal error: put() encountered an exception while uploading '/home/jonathan/Dropbox/facebook-crawler/worker_scraper.py'
Underlying exception:  
    size mismatch in put!  0 != 7304

fab函数:

@roles('workers')
def move_scraper():
    put('~/Dropbox/facebook-crawler/worker_scraper.py', '~/facebook-crawler/')

有没有人知道为什么会出现这个问题?

暂无标签

1 个回答

4

我觉得有必要给出一个官方的回答。我在使用树莓派的时候遇到了这个错误(之前在使用Fabric时从来没有见过这个问题)。

我发现我的磁盘空间用完了

撰写回答