fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] output from fabric execution


From: Steve McDonald
Subject: Re: [Fab-user] output from fabric execution
Date: Fri, 4 Apr 2014 17:15:37 -0700

That junk in the output is ANSI escape codes: http://en.wikipedia.org/wiki/ANSI_escape_code

Either the Windows console doesn’t displays them correctly or something is escaping them. I think those codes are tying to move the cursor back to the first column… probably some kind of terminal progress indicator.

-steve


On Fri, Apr 4, 2014 at 4:42 PM, Jeff Forcier <address@hidden> wrote:
Not offhand (again, I don't run Windows so I've got no mental library
of common failure modes for Python there) so I'd just do the usual -
compare your Python/terminal/etc setup between your Win 7/8 systems
and the server, see if there's any differences you can investigate,
etc. Python version, terminal application and its settings, etc.

Then the usual cross platform troubleshooting steps also apply
(http://docs.fabfile.org/en/1.8/troubleshooting.html) though I doubt
this is Paramiko's fault so you can ignore that part of those - it's
either gonna be Fabric or Python or (again) your environment.

If any other Windows users are on the list and have seen this perhaps
they can chime in with either "I run Windows 7 and don't see this,
here's my detailed setup info" or "oh yea that means you have DLL
problems" (or...whatever).

Best of luck,
Jeff

On Fri, Apr 4, 2014 at 1:46 PM, Alexander Kolev <address@hidden> wrote:
> Hi,
>
> Local systems are Windows 7 / 8 and the remote side is Windows Server 2012. If I run this script on the remote server (win 2012) -  the output is OK.
>
> Any ideas how to tackle it?
>
> Regards,
> Alex
>
>
> On Apr 4, 2014, at 9:04 PM, Jeff Forcier <address@hidden> wrote:
>
>> Haven't seen that particular style of output garbage before -
>> definitely not normal or expected. What's your local OS / terminal
>> type / etc? Tho I see some Windows paths in there - we definitely have
>> Windows users but the core devs don't/can't test on it, so it's
>> possible you're in a less common setup or something else funky is
>> going on.
>>
>> On Fri, Apr 4, 2014 at 4:08 AM, Alexander Kolev <address@hidden> wrote:
>>> Hi,
>>>
>>>
>>>
>>> My fabric file works perfectly. I’m just wandering why the output is
>>> displayed in this format. What is wrong? Do I need to configure something?
>>>
>>>
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H[05] copy package ...←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H[←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[23;2Hyyyyy.xxxx.local] put: i
>>>
>>> mageresizer.d.xxxx.com.7z ->
>>> c:\xxxxx\image←[24;1Hresizer.d.xxxx.com.7z←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H[yyyyy.xxxx.local] Execu
>>>
>>> ting task '__run_package'←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H[06] run package ...←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H[←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[23;2Hyyyyy.xxxx.local] run: x
>>>
>>> copy imageresizer.d.xxxx.com
>>> Backup\imagere←[24;1Hsizer.d.xxxx.com_20140404_104929 /I /E←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H[←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[23;2Hyyyyy.xxxx.local] run: "
>>>
>>> C:\Program Files\7-Zip\7z.exe" x -y -oimageres←[24;1Hizer.d.xxxx.com
>>> imageresizer.d.xxxx.com.7z←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H[07] track deploy new relic ...←[
>>>
>>> 24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H[08] track deploy hipchat ...←[24
>>>
>>> ;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H[09] send email ...←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H[10] git tag ...←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[24;1H[←[24;1H
>>>
>>> [yyyyy.xxxx.local] out: ←[24;1H
>>> ←[23;2Hlocalhost] local: git tag -a imag
>>>
>>>
>>>
>>> Regards,
>>>
>>> Alex
>>>
>>>
>>> _______________________________________________
>>> Fab-user mailing list
>>> address@hidden
>>> https://lists.nongnu.org/mailman/listinfo/fab-user
>>>
>>
>>
>>
>> --
>> Jeff Forcier
>> Unix sysadmin; Python/Ruby engineer
>> http://bitprophet.org
>



--
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org

_______________________________________________
Fab-user mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fab-user



--
Steven McDonald
Berkeley Electronic Press
address@hidden

http://www.bepress.com/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]