TypeError: %d format: a number is required, not NoneType
I just got this error and it asked me to report it:
#!python
** Mercurial version (4.8). TortoiseHg version (4.8)
** Command:
** CWD: C:\Program Files\TortoiseHg
** Encoding: cp1252
** Extensions loaded: convert, graphlog, eol, strip, transplant, rebase, relink, extdiff, share, shelve, absorb, amend, histedit, evolve, tortoisehg.util.configitems
** Python version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.9.2 PyQt-5.9.1 QScintilla-2.10.2.dev1711012104
Traceback (most recent call last):
File "tortoisehg\hgqt\merge.pyo", line 113, in pageChanged
File "tortoisehg\hgqt\merge.pyo", line 368, in currentPage
TypeError: %d format: a number is required, not NoneType
I had just clicked the "merge with local" option in the context menu for a changeset.
This didn't recur once I restarted it.
For whatever reason THG 4.8 told me it was the latest version, when it obviously is not. Not sure however if this is something already fixed? It seems likely to be hard to reproduce.