Let me get this straight -- so you're right now using Paramiko 1.7.x, and *my execution branch* of Fabric -- or are you using vanilla Fabric again? Hard to tell from what you wrote :)
I'm glad you got it working, at any rate, and I'll make a note to figure out what Paramiko 1.7.x specific code I might have inserted. (I also need to check on how easy that version of Paramiko is to get -- if it's widespread I doubt I'll make any code changes -- and either way will make a note to users that 1.7.x is required for my branch. Thanks for the patience! -Jeff On Fri, Oct 17, 2008 at 2:38 PM, <[EMAIL PROTECTED]> wrote: > I uninstalled my old paramiko libraries, then easy_install'ed the 1.7.2. > Still no juice with Jeff's 0.0.8 branch; my fab_host, fab_user, fab_port > set() commands all seemed to be ignored, and I kept seeing the same crash as > before. > > Then, as I had to deploy some recent code and needed fab working again, I > re-installed 0.0.9 using easy_install...and amazingly, it now works: my > remote sudo commands work just fine. I double-checked that I'm using > 0.0.9. Nothing changed in my fabfile. > > So it seems that yes, there is some dependency on paramiko 1.7.x with sudo > commands... > > > > > On Thu, Oct 16, 2008 at 10:30 AM, Jeff Forcier <[EMAIL PROTECTED]> wrote: >> >> I do seem to have 1.7.3 installed on the system I did most of my >> Fabric hacking on, but I don't recall offhand if I am using 1.7.x >> specific features -- that could be the case, though. >> >> If you're able and willing to upgrade your paramiko, that'd be a good >> first step to see if that's the issue here. Otherwise, like I >> mentioned earlier, providing the output of the entire fab command + >> the exception would be the quickest way for me to figure out if >> there's a bug :) >> >> Thanks, >> Jeff >> >> On Thu, Oct 16, 2008 at 9:54 AM, Christian Vest Hansen >> <[EMAIL PROTECTED]> wrote: >> > On Thu, Oct 16, 2008 at 3:41 PM, <[EMAIL PROTECTED]> wrote: >> >> Seems I have paramiko 1.6.4, running on ubuntu hardy. Hope that's not >> >> a Bad >> >> Thing. :) >> > >> > Should be fine for official Fabric 0.0.9, but if you're using Jeff's >> > branch then he might be using functionality only available in paramiko >> > 1.7.x. >> > >> > I suppose you can still upgrade through easy_install even your current >> > paramiko is installed with apt-get. >> > >> >> >> >> >> >> >> >> On Tue, Oct 14, 2008 at 6:46 PM, Christian Vest Hansen >> >> <[EMAIL PROTECTED]> wrote: >> >>> >> >>> On Tue, Oct 14, 2008 at 11:20 PM, <[EMAIL PROTECTED]> wrote: >> >>> > I did set fab_hosts; I still see the prompt for >> >>> > >> >>> > Please specify host or hosts to connect to (comma-separated): >> >>> > >> >>> > ...which causes a crash even when I enter my servername manually: >> >>> > >> >>> > Traceback (most recent call last): >> >>> > File "build/bdist.linux-x86_64/egg/fabric.py", line 1334, in main >> >>> > File "build/bdist.linux-x86_64/egg/fabric.py", line 1303, in >> >>> > _execute_commands >> >>> > File "build/bdist.linux-x86_64/egg/fabric.py", line 1104, in >> >>> > _connect >> >>> > File "build/bdist.linux-x86_64/egg/fabric.py", line 971, in >> >>> > connect >> >>> > File "build/bdist.linux-x86_64/egg/fabric.py", line 1009, in >> >>> > _do_connect >> >>> > TypeError: connect() got an unexpected keyword argument 'timeout' >> >>> >> >>> This last line here... what version of paramiko do you have installed? >> >>> >> >>> -- >> >>> Venlig hilsen / Kind regards, >> >>> Christian Vest Hansen. >> >> >> >> >> > >> > >> > >> > -- >> > Venlig hilsen / Kind regards, >> > Christian Vest Hansen. >> > >> > >> > _______________________________________________ >> > Fab-user mailing list >> > [email protected] >> > http://lists.nongnu.org/mailman/listinfo/fab-user >> > > > _______________________________________________ Fab-user mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/fab-user
