TortoiseHg crashes when trying to open preferences in file menu
When I try to open an option in the file menu, I get the following failure:
#!python
** Mercurial version (4.2+4). TortoiseHg version (4.2)
** Command:
** CWD: C:\Windows\system32
** Encoding: cp1252
** Extensions loaded:
** Python version: 2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1')
** Processor architecture: x64
** Qt-4.8.7 PyQt-4.11.4 QScintilla-2.9
Traceback (most recent call last):
File "tortoisehg\hgqt\workbench.pyo", line 1146, in editSettings
File "tortoisehg\hgqt\settings.pyo", line 1227, in __init__
AttributeError: 'module' object has no attribute 'userrcpath'
TortoiseHg won't close if I just click OK, but I can't access my settings.
The only thing I did was reinstall TortoiseHg (updated to latest 4.2). I experimented a bit yesterday and when I put my old Mercurial.ini file under C: / Users // and tried to reopen Tortoise it completely crashes and won't even let me open the program at all. Once I delete the file, I can open the turtle, but not the access settings.
I'm not sure what might be causing this problem. Does anyone know what I can do to fix this problem?
Edit: Tried re-installing again but still seems to be a problem. I noticed that my old repos are still listed when I delete. Is there a temporary directory where they are stored that I can delete?
source to share
This seems to have been a bug in version 4.2:
https://bitbucket.org/tortoisehg/thg/issues/4744/exception-while-openning-global-repo
It looks like they already have a fix in the pipeline.
source to share