Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • thg thg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 829
    • Issues 829
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mercurial
  • TortoiseHg
  • thgthg
  • Issues
  • #5586
Closed
Open
Created Jul 28, 2020 by Stead Kiger@wskiger

Crash on visual diff

Crash when running TortoiseHg -> Visual Diff. It should cause Meld to run, but instead crashes. Prior to upgrading to version 5.4.2 this afternoon, this function worked properly with TortoiseHg version 5.0.2. Using Windows 7.

#!python
** Mercurial version (5.4.2).  TortoiseHg version (5.4.2)
** Command: --nofork vdiff
** CWD: C:\Users\wkiger\Desktop\RadOncSoftware\src
** Encoding: cp1252
** Extensions loaded: TimestampMod, tortoisehg.util.configitems
** Python version: 2.7.17 (v2.7.17:c2f86d86e6, Oct 19 2019, 21:01:17) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1')
** Processor architecture: x64
** Qt-5.9.9 PyQt-5.13.2 QScintilla-2.10.8
Traceback (most recent call last):
  File "tortoisehg\hgqt\run.pyo", line 138, in dispatch
  File "tortoisehg\hgqt\run.pyo", line 342, in _runcatch
  File "tortoisehg\hgqt\run.pyo", line 436, in runcommand
  File "tortoisehg\hgqt\run.pyo", line 488, in _runcommand
  File "tortoisehg\hgqt\run.pyo", line 441, in checkargs
  File "tortoisehg\hgqt\run.pyo", line 435, in <lambda>
  File "tortoisehg\hgqt\qtapp.pyo", line 466, in __call__
  File "tortoisehg\hgqt\qtapp.pyo", line 530, in _createdialog
  File "mercurial\util.pyo", line 1865, in check
  File "tortoisehg\hgqt\run.pyo", line 1406, in vdiff
  File "tortoisehg\hgqt\visdiff.pyo", line 270, in visualdiff
  File "tortoisehg\util\hglib.pyo", line 521, in difftools
  File "shlex.pyo", line 279, in split
  File "shlex.pyo", line 269, in next
  File "shlex.pyo", line 96, in get_token
  File "shlex.pyo", line 124, in read_token
AttributeError: 'NoneType' object has no attribute 'read'
Edited Jul 28, 2020 by Stead Kiger
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking