[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] upload_template failing to move file into place.
From: |
Phill Tornroth |
Subject: |
Re: [Fab-user] upload_template failing to move file into place. |
Date: |
Thu, 17 Nov 2011 16:24:38 -0800 |
Yeeeeep. That's it.
Thanks, k. I think I can workaround the cd block without too much trouble.
Phill
On Nov 17, 2011, at 4:20 PM, Jeff Forcier wrote:
> Hey Phill,
>
> On Thu, Nov 17, 2011 at 3:31 PM, Phill Tornroth <address@hidden> wrote:
>> I'm using upload template and getting this error:
>>
>> Fatal error: sudo() encountered an error (return code 1) while executing 'mv
>> "6cd27e2f71fd2323522bd2d29fdb052a4cb6338d" "/path/to/remote/file.py"'
>
> Are you performing the upload_template call inside a "with cd():"
> block? If so, it's probably an instance of this bug:
>
> https://github.com/fabric/fabric/issues/342
>
> If you're not doing so, then there may be something else at work and
> I'd need a copy of your fabfile (and the full output of your run) to
> help replicate, if possible.
>
> Best,
> Jeff
>
> --
> Jeff Forcier
> Unix sysadmin; Python/Ruby engineer
> http://bitprophet.org