Failing to install translation data causes a crash
Created originally on Bitbucket by Anonymous
When installing via the TortoiseHG 1.1.8 Mercurial 1.7.3. combined installer for X86, I installed everything except the Translations, figuring I didn't need foreign language support.
This caused the following crash when trying to create a brand new repository via the explorer shell extension. Reinstalling and adding translation data fixed the problem.
{{{ #!python ** Please report this bug to http://bitbucket.org/tortoisehg/stable/issues ** Mercurial version (1.7.3). TortoiseHg version (1.1.8) ** Command: --nofork userconf --listfile C:\WINDOWS\TEMP\THG6D00.tmp ** CWD: C:\Etc\Work\sspf2 ** Extensions loaded: fixfrozenexts ** Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] ** sys.getwindowsversion(): (5, 1, 2600, 2, 'Service Pack 3') ** Processor architecture: x86 Traceback (most recent call last): File "tortoisehg\hgtk\hgtk.pyo", line 74, in dispatch File "tortoisehg\hgtk\hgtk.pyo", line 202, in _runcatch File "tortoisehg\hgtk\hgtk.pyo", line 272, in runcommand File "tortoisehg\hgtk\hgtk.pyo", line 323, in _runcommand File "tortoisehg\hgtk\hgtk.pyo", line 277, in checkargs File "tortoisehg\hgtk\hgtk.pyo", line 271, in File "mercurial\util.pyo", line 426, in check File "tortoisehg\hgtk\hgtk.pyo", line 389, in userconfig File "mercurial\demandimport.pyo", line 85, in _demandimport File "zipextimporter.pyo", line 82, in load_module File "tortoisehg\hgtk\thgconfig.pyo", line 43, in File "tortoisehg\util\i18n.pyo", line 48, in availablelanguages WindowsError: [Error 3] The system cannot find the path specified: 'C:\Program Files\TortoiseHg\locale/.'
}}}