Repository sync error: TypeError: QBrush(): argument 1 has unexpected type 'QVariant'
Created originally on Bitbucket by lmattsb (Luca Matteini)
Trying to sync a repository, using versions 4.2.x, generate an error:
#!text
#!python
** Mercurial version (4.2.2). TortoiseHg version (4.2.2)
** Command: --nofork workbench
** CWD: C:\<local path>
** Encoding: cp1252
** Extensions loaded:
** Python version: 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x86
** Qt-4.8.7 PyQt-4.11.4 QScintilla-2.9
Traceback (most recent call last):
File "tortoisehg\hgqt\repoview.pyo", line 472, in paint
File "tortoisehg\hgqt\repoview.pyo", line 528, in _drawNode
TypeError: QBrush(): argument 1 has unexpected type 'QVariant'
This has been spotted on a Win10 machine, with a latest 4.2.2 install, but I have the same result on an old WinXP pro machine with 4.2.1.
I had to return back to version 4.1.3, where everything works again