[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: |
Jeff Forcier |
Subject: |
Re: [Fab-user] upload_template failing to move file into place. |
Date: |
Thu, 17 Nov 2011 17:46:59 -0800 |
On Thu, Nov 17, 2011 at 4:24 PM, Phill Tornroth <address@hidden> wrote:
> Yeeeeep. That's it.
>
> Thanks, k. I think I can workaround the cd block without too much trouble.
>
> Phill
Thankfully 'cd' is more syntactic sugar than a core feature :)
Regardless, this has come up a lot and I will be sure to get the fix
for that into the next bugfix release (which may be soonish.)
Best,
Jeff
>
>
> 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
>
>
--
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org