Crash opening workbench

Issue #955 resolved
Anonymous created an issue


I get this message everytime I try to launch the workbench in a freshly cloned repository. Mercurial seems to be working just fine (I can hg up to switch between branches).



Mercurial version (1.9+10-e9264b45237d). TortoiseHg version (2.1.1) Command: --nofork workbench CWD: E:\Science Extensions loaded: churn, win32text Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)] Windows version: (6, 1, 7601, 2, 'Service Pack 1') Processor architecture: x64 Qt-4.7.1 PyQt-4.8.3 Traceback (most recent call last): File "tortoisehg\hgqt\run.pyo", line 492, in call File "tortoisehg\hgqt\workbench.pyo", line 903, in run File "tortoisehg\hgqt\workbench.pyo", line 69, in init File "tortoisehg\hgqt\workbench.pyo", line 838, in restoreSettings File "tortoisehg\hgqt\reporegistry.pyo", line 320, in reloadModel File "tortoisehg\hgqt\repotreemodel.pyo", line 99, in init File "tortoisehg\hgqt\repotreemodel.pyo", line 318, in loadSubrepos File "tortoisehg\hgqt\repotreeitem.pyo", line 262, in appendSubrepos File "mercurial\localrepo.pyo", line 202, in getitem File "mercurial\context.pyo", line 28, in init File "mercurial\localrepo.pyo", line 526, in lookup File "mercurial\dirstate.pyo", line 207, in p1 File "mercurial\localrepo.pyo", line 188, in validate File "mercurial\util.pyo", line 169, in get File "mercurial\localrepo.pyo", line 172, in changelog File "mercurial\changelog.pyo", line 102, in init File "mercurial\revlog.pyo", line 262, in init RevlogError: index 00changelog.i unknown format 2


Comments (6)

  1. Angel Ezquerra

    Should we capture just this particular type of error or should we catch all errors that may happen during loadSubrepos? If we captured all errors we may mark the corresponding top repo with a warning icon. The problem is that if we capture all errors future problems with loadSubrepos may be harder to debug...

  2. Anonymous

    I'm getting the same error message and I am unable to use thg at all. Where is "the registry" stored on linux so I can remove the local repository that is raising errors?

  3. Anonymous

    I found the short term solution until this is fixed. Open the file thg-reporegistry.xml located in your profile. For me it was in: C:\Users\[UserID]\AppData\Roaming\TortoiseHg. Remove the node that you suspect is corrupt. In my instance it became corrupt when my computer froze on me.

  4. Log in to comment