Issue #1602 invalid

CodeReview Extension Error -

Nathan Durnan
created an issue

Just started experimenting with the CodeReview GUI extension, and already having problems. This seems to happen after I have committed and then try to access the "History" button.
{{{

!python

Mercurial version (2.0.2). TortoiseHg version (2.2.2) Command: cr CWD: C:\Dev\garbage\newproject Encoding: cp1252 Extensions loaded: progress, color, TimestampMod, churn, graphlog, rebase, transplant, hgcr-gui-qt Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] Windows version: (5, 1, 2600, 2, 'Service Pack 3') Processor architecture: x86 ** Qt-4.7.4 PyQt-4.8.6 Traceback (most recent call last): File "hgext\hgcr-gui-qt.pyo", line 554, in onHistoryButtonClicked File "mercurial\ui.pyo", line 618, in status File "hgext\color.pyo", line 333, in write File "hgext\color.pyo", line 508, in win32print File "tortoisehg\hgqt\thread.pyo", line 109, in write AttributeError: 'colorui' object has no attribute 'sig'

}}}

The "History" button works again after I close the GUI and reopen it, so it's not a huge issue, but annoying.

Comments (2)

  1. Nathan Durnan reporter

    Also ended up with same error on "Remove" button.

    ** Mercurial version (2.0.2).  TortoiseHg version (2.2.2)
    ** Command: cr
    ** CWD: C:\Dev\garbage\newproject
    ** Encoding: cp1252
    ** Extensions loaded: progress, color, TimestampMod, churn, graphlog, rebase, transplant, hgcr-gui-qt
    ** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]
    ** Windows version: (5, 1, 2600, 2, 'Service Pack 3')
    ** Processor architecture: x86
    ** Qt-4.7.4 PyQt-4.8.6
    Traceback (most recent call last):
      File "hgext\hgcr-gui-qt.pyo", line 455, in onRemoveButtonClicked
      File "hgext\hgcr-gui-qt.pyo", line 271, in remove_files
      File "mercurial\ui.pyo", line 618, in status
      File "hgext\color.pyo", line 333, in write
      File "hgext\color.pyo", line 508, in win32print
      File "tortoisehg\hgqt\thread.pyo", line 109, in write
    AttributeError: 'colorui' object has no attribute 'sig'
    
  2. Yuya Nishihara

    Probably "color" extension was loaded because of the different dispatching route.

    TortoiseHg disables "color", but it's only effective if the command is executed by thg [sub-command].

  3. Log in to comment