Install Python Fabric Library on Mac 10.6 (Snow Leopard)

I’ve been doing a lot of Python work lately to manage a butt-load of Linux servers and I’ve been using the Fabric Library to help me connect remotely and securely. I had some problems getting the library and dependencies to install on my Mac laptop so here is what I did. Add a reply if there is an easier way.

> sudo easy_install pip    # PIP is recommended for installation
> sudo -s   # Creates a new sudo shell 
> export ARCHFLAGS="-arch i386 -arch x86_64"   # Need to set some GCC flags
> pip install fabric   # Get the install on

Props go to these guys and stackoverflow for helping out.

Side note: If you run into this error in the console or log when running your script there is a simple fix. Wrap your env.password with str() (ie str(env.password)) and voila. A better solution may be to create a log handler and ignore and I’ll post that solution if I have tome to figure it out.

> No handlers could be found for logger "paramiko.transport"

How to Remove Addresses from the Entourage Address Cache – support.microsoft.com

I haven’t found much worth posting lately but this one has been a thorn in my side for some time. I find it equally as interesting that you need to jump through so many hoops in Entourage when the same issue in Outlook can be solved with one or two clicks. I hope some people find this helpful.

Read more of this post

iPhone Wifi not working? Reset your network settings | A Mountain Top, LLC

iPhone Wifi not working? Reset your network settings | A Mountain Top, LLC.

From the Home Screen, I clicked on “Settings”. From there, I scrolled down to “General” and clicked on it. From there, I scrolled to the bottom, clicked “Reset”, then “Reset Network Settings”. After accepting the warning that I was doing something dangerous and clicking the giant red button, the iPhone started buzzing and shaking and generally throwing a fit. After it was done getting reset, I simply went back into Settings -> Wifi, saw my network, connected and it worked!

Mac OS 10.5.7 update broke JMeter

The latest Java update from Apple broke JMeter… not sure why but JMeter needs Java 1.5. Add this line near the top of your jakarta-jmeter-2.X.X/bin/jmeter file using your handy dandy text editor. I like TextWrangler.

JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.5"

If you use any of the other jmeter run scripts you may need to add this to them as well.

de-co-de: Apache Tomcat connector – mach-o, but wrong architecture

de-co-de: mach-o, but wrong architecture
If you install the mod_jk.so connector yourself on OS X 10.5 intel you may get the following error.

httpd: Syntax error on line 484 of /private/etc/apache2/httpd.conf: Syntax error on line 3 of /private/etc/apache2/other/mod_jk.conf: \
Cannot load /usr/libexec/apache2/mod_jk.so into server: \
dlopen(/usr/libexec/apache2/mod_jk.so, 10): no suitable image found.\
Did find:\n\t\
/usr/libexec/apache2/mod_jk.so: mach-o, but wrong architecture

This error is because apache is compiled as a 64 bit executable and configure builds a 32 bit shared library

You have to re-do the configure with

./configure CFLAGS=’-arch x86_64′ APXSLDFLAGS=’-arch x86_64′ –with-apxs=/usr/sbin/apxs
make
sudo make install

AutoRuns for Windows – technet.microsoft.com

AutoRuns for Windows
This utility, which has the most comprehensive knowledge of auto-starting locations of any startup monitor, shows you what programs are configured to run during system bootup or login, and shows you the entries in the order Windows processes them. These programs include ones in your startup folder, Run, RunOnce, and other Registry keys. You can configure Autoruns to show other locations, including Explorer shell extensions, toolbars, browser helper objects, Winlogon notifications, auto-start services, and much more. Autoruns goes way beyond the MSConfig utility bundled with Windows Me and XP.

Autoruns’ Hide Signed Microsoft Entries option helps you to zoom in on third-party auto-starting images that have been added to your system and it has support for looking at the auto-starting images configured for other accounts configured on a system. Also included in the download package is a command-line equivalent that can output in CSV format, Autorunsc.

You’ll probably be surprised at how many executables are launched automatically!

Autoruns works on all versions of Windows including 64-bit versions.

Illustrator CS2 crashes on Intel Mac 10.4.8

Adobe Illustrator CS2 crashes on an Intel Mac Pro running Mac OS 10.4.8 when a designer tries to use a tool on the pathfinder palette. This only happens when a circular path is involved. For example you want to Unite a round/circular path and a square path. Yo highlight both paths and select Unite from the Pathfinder palette. The program will crash.

The solution was buried in the comments of this post on Real World Illustrator.

  1. Launch Illustrator CS2
  2. Close the Appearance Palette
  3. Quit Illustrator
  4. Restart Illustrator

You can then reopen the Appearance palette and use the pathfinder tool without trouble.

Follow

Get every new post delivered to your Inbox.