为什么我会得到这个面料放错误?

时间:2022-08-22 22:47:41

So I am trying to move a specific file from my computer onto the remote server. However, when I try to use fab to do this it returns the following error:

所以我试图将特定文件从我的计算机移动到远程服务器上。但是,当我尝试使用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 function:

Fab功能:

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

anyone have any idea why this is happening?

任何人都知道为什么会这样吗?

1 个解决方案

#1


2  

Just thought I should add an official answer. I ran into this error on a Raspberry Pi (had never seen it through quite a bit of experience with Fabric).

我想我应该添加正式答案。我在Raspberry Pi上遇到了这个错误(从未见过使用Fabric的相当多的经验)。

I was out of disk space

我没有磁盘空间

#1


2  

Just thought I should add an official answer. I ran into this error on a Raspberry Pi (had never seen it through quite a bit of experience with Fabric).

我想我应该添加正式答案。我在Raspberry Pi上遇到了这个错误(从未见过使用Fabric的相当多的经验)。

I was out of disk space

我没有磁盘空间