Wireshark-users: [Wireshark-users] Mac OS X and spaces in the home folder path
From: Christopher Hunt <huntc@xxxxxxxxxxxxxxxx>
Date: Thu, 11 Dec 2008 14:35:57 +1100
Hi there,

Firstly, Wireshark is amazing. Thank you for this great tool.

Having installed Wireshark on my Mac OS X Leopard (10.5) laptop machine already, I was surprised to find launching issues with Wireshark on my Desktop Leopard machine.

The reason boiled down to my user account existing on a volume that has a space in the name i.e. "Users HD/Users/huntc". This causes Wireshark to fail on startup.

To rectify this problem I modified the following scripts:

1. Wireshark.app/Contents/Resources/etc/pango/pangorc
2. Wireshark.app/Contents/Resources/bin/wireshark
3. Wireshark.app/Contents/Resources/script

Wherever I found a reference to ${HOME} I replaced it with "$ {HOME}" (note the surrounding double quotes). Similarly any references to $HOME were changed to "${HOME}".

All is now well. I hope that others benefit from this report. I would be happy to raise this as a defect if someone can point me in the right direction.

Kind regards,
Christopher