1. TortoiseHg
  2. TortoiseHg
  3. thg
Issue #227 resolved

Error when choosing Visual Diff from HG menu on a file

Anonymous created an issue

The following error is displayed when I try to view the Visual Diff on a changed file in my repo:

{{{

!python

Please report this bug to http://bitbucket.org/tortoisehg/thg/issues Mercurial version (1.8). TortoiseHg version (2.0) Command: --nofork log --listfile C:\Users\Redeye\AppData\Local\Temp\THG73CE.tmp CWD: Q:\Web Projects\Picnic\web\system\application\config Extensions loaded: fixfrozenexts 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.2 Traceback (most recent call last): File "tortoisehg\hgqt\run.pyo", line 457, in call File "tortoisehg\hgqt\workbench.pyo", line 701, in run File "tortoisehg\hgqt\thgrepo.pyo", line 56, in repository RepoError: Cannot open repository at Q:\Web Projects\Picnic

}}}

Comments (5)

  1. Anonymous

    Follow up, I believe this error was being caused by security permission errors in the .hg folder and it being unable to make a change there. Resetting the Windows Security Permissions to 'Full Control' for that folder fixed the errors.

    TortoiseHG should detect that it is unable to read/write/delete and provide a friendly error message with advice on how to fix the problem.

  2. Anonymous

    Is this the same problem? If so it can't be permissions problem, I checked... I am administrator.

    ** Please report this bug to http://bitbucket.org/tortoisehg/thg/issues
    ** Mercurial version (1.8).  TortoiseHg version (2.0)
    ** Command: --nofork vdiff --listfile C:\Users\ROB\AppData\Local\Temp\THGD534.tmp
    ** CWD: E:\HG\FinancesBeta\BusinessObjects
    ** Extensions loaded: fixfrozenexts
    ** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]
    ** Windows version: (6, 1, 7600, 2, '')
    ** Processor architecture: x86
    ** Qt-4.7.1 PyQt-4.8.2
    Traceback (most recent call last):
      File "tortoisehg\hgqt\visdiff.pyo", line 469, in toolSelect
    KeyError: '2'
    
  3. Log in to comment