开发者

Python Fabric error when executing git archive command

开发者 https://www.devze.com 2023-02-12 03:03 出处:网络
I\'m running Fabric on a windows 7 machine, when I type: fab production setup I get the following error:

I'm running Fabric on a windows 7 machine, when I type:

fab production setup

I get the following error:

[localh开发者_StackOverflow社区ost] run: git archive --format=tar master > 20110221142115.tar

Warning: local() encountered an error (return code 1) while executing 'git archi
ve --format=tar master > 20110221142115.tar'

the fabric file works fine on my Windows XP machine, but I can't seem to get past this error. I also tried running the "git archive" command from the prompt, it works fine no issues. Any idea why Fabric is puking?


If the same script/command works on Windows XP, then did you check if Windows 7 firewall or any sort-of-protection is not allowing your connection to go through? Try if the following works on interactive prompt:

from fabric.api import local
local('git archive')
0

精彩评论

暂无评论...
验证码 换一张
取 消