Categoriearchief: Mac OS X

Getting IPython readline and auto-completion to work on Mac OS X

It’s taken me some time and a lot of web pages which tried to solve the readline support with all kinds of hacks, but finally I’ve been able to get readline support and auto-completion for IPython to work. As it can be quite confusing and hard to follow all posts, this will be a step-by-step approach to get things to work. Note that I’ve got it working on Mac OS X 10.5.7 Leopard. It is expected to work on Leopard at least. Other versions might not require the exact same solution.

Verder lezen

Getagged , , ,

Installing psycopg2 on Mac OS X

I thought I had psycopg2 installed on my mac.. Thought.. But now I actually have!

Verder lezen

Getagged , ,

Installing Numpy on Mac OS X 10.5.x Leopard

Installing Numpy according to the Scipy wiki page can be a real pain. As Python and GCC are already part of Mac OS X, some prerequisites are already fulfilled, but an official install didn’t do the trick in my case. Verder lezen

Getagged , , ,

Syntax highlighting for Vim

Today I was looking for syntax highlighting for Vim on Mac OSX (10.5.6). A lot of sources only tell which rules there are to enable this, but a lot less tell where to add / edit these rules. I found this source to be very useful to do this. The first comment on the post is also very useful. By adding just two lines to my configuration file I had a nice highlighting with bold characters.

In short:

Verder lezen

Getagged ,

Avast Antivirus for Mac: MAD problem

Yesterday I bought a license for Avast! Antivirus software for my MacBook. As I already use this software on all my Windows PC’s and I’m confident about it, I knew what I would buy. My happiness quickly vanished after a couple of scans. I wanted to do a complete scan of my harddisk, but every time I got the error telling me that there was something wrong with MAD.

After a little search on the internet I found out that there is a problem with the most recent version of the Avast engine (version 0.0.68). You can find out which engine version you’re running by viewing the tiptooltext in the upper left corner (hold your mouse on the VPS version).

The problem is in the com.avast.MacAvast.MAD file. There is already a solution provided by one of the people of Avast. This solution will be part of the next update, but in the meanwhile it can be fixed manually. Informationand instructions about fixing the bug by replacing the MAD file can be found here.

Getagged ,

Apple Time Capsule Read-Only Problem

I’ve been using my Time Capsule without any problems for a couple of months now. Last week all of a sudden at the end of the day I got the message that my Time Capsule wasn’t accessible any more and that it turned into read-only state. Since then I haven’t been able to make any back-ups of my machine. The suggestion was to format the drive, but who wants to lose all data when you don’t even know for sure if it solves the problem?After some searching I found this website which describes the problem and also offers a solution (although taking a long time to repair) for the problem without losing your data. Hopefully it can helpful to more people.

Getagged , , , , ,

Cisco VPN Error 51

I was getting annoyed today by my Cisco VPN client unwilling to do its job. As I had been playing around with my Time Capsule and my wireless accesspoint to get my wireless network straight so that it could connect with my Nintendo Wii, I encountered an ‘Error 51′. Luckily I wasn’t the only one who got that problem. The first solution already worked:”The simple fix is to quit VPNClient, open a Terminal window, (Applications -> Utilities -> Terminal) and type the following:

sudo /System/Library/StartupItems/CiscoVPN/CiscoVPN restart

(for OS X 10.5 and lower) or

sudo kextload /System/Library/Extensions/CiscoVPN.kext

(10.6) and give your password when it asks. This will stop and start the “VPN Subsystem”, or in other words restart the CiscoVPN.kext extension. Cisco seems to have problems when network adapters disappear and reappear, something that happens commonly in Wireless or Dial-up scenerios. Sometimes putting a system to sleep, disconnecting an Ethernet cable or simply reconnecting your wireless will cause CiscoVPN to loose track of the network adapters on the system.”The source can be found here.

Getagged , , ,