** Mercurial version (6.5.3). TortoiseHg version (6.5rc0+2-0a85f31b4bc9)
** Command: --nofork
** CWD: d:\projects\hg\thg\thg.work
** Encoding: cp1251
** Extensions loaded: absorb, amend, censor, convert, eol, fix, hggit 0.10.0, histedit, mq, narrow, patchbomb, rebase, record, share, sparse, strip, tortoisehg.util.configitems, transplant
** Python version: 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=10, minor=0, build=19045, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.10.8
Traceback (most recent call last):
File "D:\projects\hg\thg\thg.work\tortoisehg\hgqt\thgrepo.py", line 573, in _onRepositoryChanged
self._repo.thg_reload_hggit_data()
File "D:\projects\hg\thg\thg.work\tortoisehg\hgqt\thgrepo.py", line 1016, in thg_reload_hggit_data
self.githandler.load_map()
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\repoview.py", line 459, in __getattr__
return getattr(self._unfilteredrepo, attr)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\pycompat.py", line 358, in w
return f(object, sysstr(name), *args)
AttributeError: 'thgrepository' object has no attribute 'githandler'
actual mercurial used 6.6rc0 (aka 6.6), hggit used 1.1.x (a1b55944c5b8)
similar crash invokes on works with any repo not derived from git - thg anyway asks for thg_reload_hggit_data - that cashes, since it not an hg-git repo
loose bug, cant reproduce it more
** Mercurial version (6.5.3). TortoiseHg version (6.5rc0+2-0a85f31b4bc9)
** Command: --nofork
** CWD: d:\projects\hg\thg\thg.work
** Encoding: cp1251
** Extensions loaded: absorb, amend, censor, convert, eol, fix, hggit 0.10.0, histedit, mq, narrow, patchbomb, rebase, record, share, sparse, strip, tortoisehg.util.configitems, transplant
** Python version: 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=10, minor=0, build=19045, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.10.8
Traceback (most recent call last):
File "D:\projects\hg\thg\thg.work\tortoisehg\hgqt\thgrepo.py", line 573, in _onRepositoryChanged
self._repo.thg_reload_hggit_data()
File "D:\projects\hg\thg\thg.work\tortoisehg\hgqt\thgrepo.py", line 1016, in thg_reload_hggit_data
self.githandler.load_map()
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\repoview.py", line 459, in __getattr__
return getattr(self._unfilteredrepo, attr)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\pycompat.py", line 358, in w
return f(object, sysstr(name), *args)
AttributeError: 'thgrepository' object has no attribute 'githandler'
actual mercurial used 6.6rc0 (aka 6.6), hggit used 1.1.x (a1b55944c5b8)
similar crash invokes on works with any repo not derived from git - thg anyway asks for thg_reload_hggit_data - that cashes, since it not an hg-git repo
** Mercurial version (6.5.3). TortoiseHg version (6.5rc0+2-0a85f31b4bc9)
** Command: --nofork
** CWD: d:\projects\hg\thg\thg.work
** Encoding: cp1251
** Extensions loaded: absorb, amend, censor, convert, eol, fix, hggit 0.10.0, histedit, mq, narrow, patchbomb, rebase, record, share, sparse, strip, tortoisehg.util.configitems, transplant
** Python version: 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=10, minor=0, build=19045, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.10.8
Traceback (most recent call last):
File "D:\projects\hg\thg\thg.work\tortoisehg\hgqt\thgrepo.py", line 573, in _onRepositoryChanged
self._repo.thg_reload_hggit_data()
File "D:\projects\hg\thg\thg.work\tortoisehg\hgqt\thgrepo.py", line 1016, in thg_reload_hggit_data
self.githandler.load_map()
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\repoview.py", line 459, in __getattr__
return getattr(self._unfilteredrepo, attr)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\pycompat.py", line 358, in w
return f(object, sysstr(name), *args)
AttributeError: 'thgrepository' object has no attribute 'githandler'
actual mercurial used 6.6rc0 (aka 6.6), hggit used 1.1.x (a1b55944c5b8)
similar crash invokes on works with any repo not derived from git - thg anyway asks for thg_reload_hggit_data - that cashes, since it not an hg-git repo
looks this patch solves issue:
diff --git a/tortoisehg/hgqt/thgrepo.py b/tortoisehg/hgqt/thgrepo.py
--- a/tortoisehg/hgqt/thgrepo.py
+++ b/tortoisehg/hgqt/thgrepo.py
@@ -1012,6 +1012,8 @@
"""
if b'hggit' not in self.extensions():
return
+ if not hasattr(self, 'githandler'):
+ return
self.ui.debug(b'reloading hg-git specific data\n')
self.githandler.load_map()
self.githandler.load_tags()
** Mercurial version (6.5.3). TortoiseHg version (6.5rc0+2-0a85f31b4bc9)
** Command: --nofork
** CWD: d:\projects\hg\thg\thg.work
** Encoding: cp1251
** Extensions loaded: absorb, amend, censor, convert, eol, fix, hggit 0.10.0, histedit, mq, narrow, patchbomb, rebase, record, share, sparse, strip, tortoisehg.util.configitems, transplant
** Python version: 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=10, minor=0, build=19045, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.13.2 PyQt-5.13.2 QScintilla-2.10.8
Traceback (most recent call last):
File "D:\projects\hg\thg\thg.work\tortoisehg\hgqt\thgrepo.py", line 573, in _onRepositoryChanged
self._repo.thg_reload_hggit_data()
File "D:\projects\hg\thg\thg.work\tortoisehg\hgqt\thgrepo.py", line 1016, in thg_reload_hggit_data
self.githandler.load_map()
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\repoview.py", line 459, in __getattr__
return getattr(self._unfilteredrepo, attr)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\pycompat.py", line 358, in w
return f(object, sysstr(name), *args)
AttributeError: 'thgrepository' object has no attribute 'githandler'
actual mercurial used 6.6rc0 (aka 6.6), hggit used 1.1.x (a1b55944c5b8)
similar crash invokes on works with any repo not derived from git - thg anyway asks for thg_reload_hggit_data - that cashes, since it not an hg-git repo
download and installs thg 6.4.2 on win8.1 x64.
1st start reports:
** Mercurial version (6.4.2). TortoiseHg version (6.4.2)
** Command: --nofork workbench
** CWD: D:\projects\askon\vector10c
** Encoding: cp1251
** Extensions loaded: strip, tortoisehg.util.configitems
** Python version: 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.15.2 PyQt-5.15.7 QScintilla-2.13.3
Traceback (most recent call last):
File "tortoisehg\hgqt\run.pyc", line 143, in dispatch
File "tortoisehg\hgqt\run.pyc", line 352, in _runcatch
File "tortoisehg\hgqt\run.pyc", line 446, in runcommand
File "tortoisehg\hgqt\run.pyc", line 498, in _runcommand
File "tortoisehg\hgqt\run.pyc", line 451, in checkargs
File "tortoisehg\hgqt\run.pyc", line 444, in <lambda>
File "tortoisehg\hgqt\qtapp.pyc", line 527, in __call__
File "tortoisehg\hgqt\qtapp.pyc", line 443, in _fixapplicationfont
File "ctypes\__init__.pyc", line 387, in __getattr__
File "ctypes\__init__.pyc", line 392, in __getitem__
AttributeError: function 'SystemParametersInfoForDpi' not found
ok, i see that thg6.4.2 claimed win10+
this is disaster
maybe this crush related to that one?
https://bz.mercurial-scm.org/show_bug.cgi?id=6803
i got such big screen when use record extention and try commit files partialy
download and installs thg 6.4.2 on win8.1 x64.
1st start reports:
** Mercurial version (6.4.2). TortoiseHg version (6.4.2)
** Command: --nofork workbench
** CWD: D:\projects\askon\vector10c
** Encoding: cp1251
** Extensions loaded: strip, tortoisehg.util.configitems
** Python version: 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.15.2 PyQt-5.15.7 QScintilla-2.13.3
Traceback (most recent call last):
File "tortoisehg\hgqt\run.pyc", line 143, in dispatch
File "tortoisehg\hgqt\run.pyc", line 352, in _runcatch
File "tortoisehg\hgqt\run.pyc", line 446, in runcommand
File "tortoisehg\hgqt\run.pyc", line 498, in _runcommand
File "tortoisehg\hgqt\run.pyc", line 451, in checkargs
File "tortoisehg\hgqt\run.pyc", line 444, in <lambda>
File "tortoisehg\hgqt\qtapp.pyc", line 527, in __call__
File "tortoisehg\hgqt\qtapp.pyc", line 443, in _fixapplicationfont
File "ctypes\__init__.pyc", line 387, in __getattr__
File "ctypes\__init__.pyc", line 392, in __getitem__
AttributeError: function 'SystemParametersInfoForDpi' not found
use win10 x64 with python 3.8, hg-git: d6672f726bcf
installed mercurial 6.4 and got this crash:
% hg clone --verbose git+https://github.com/nimaltd/atc.git "D:\projects\mcu\AT\atc.hggit\atc"
отдалённый: Enumerating objects: 179, done.
отдалённый: Counting objects: 100% (15/15), done.
отдалённый: Compressing objects: 100% (13/13), done.
отдалённый: Total 179 (delta 3), reused 4 (delta 1), pack-reused 164
отмена: Process cant access file, since it ocupied by other process: 'D:\projects\mcu\AT\atc.hggit\atc\.hg\git\objects\pack\hg-git-fetch-6ec05v5t.pack'
[команда вернула код 255 Fri Mar 24 16:09:33 2023]
update dulwich -> 0.21 helps
debug traceback of above:
(venv.py38) d:\projects\hg\thg\thg.work>hg clone --debug --traceback git+https://github.com/nimaltd/atc.git "D:\projects\hg\atc-clone"
юЄфры╕ээ√щ: Enumerating objects: 179, done.
юЄфры╕ээ√щ: Counting objects: 100% (15/15), done.
юЄфры╕ээ√щ: Compressing objects: 100% (13/13), done.
юЄфры╕ээ√щ: Total 179 (delta 3), reused 4 (delta 1), pack-reused 164
Traceback (most recent call last):
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\scmutil.py", line 153, in callcatch
return func()
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 441, in _runcatchfunc
return _dispatch(req)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 1266, in _dispatch
return runcommand(
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 899, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 1278, in _runcommand
return cmdfunc()
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\dispatch.py", line 1264, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\util.py", line 1881, in check
return func(*args, **kwargs)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\util.py", line 1881, in check
return func(*args, **kwargs)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\hgext\sparse.py", line 196, in _clonesparsecmd
return orig(ui, repo, *args, **opts)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\util.py", line 1881, in check
return func(*args, **kwargs)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\util.py", line 1881, in check
return func(*args, **kwargs)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\hgext\share.py", line 162, in clone
return orig(ui, source, *args, **opts)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\util.py", line 1881, in check
return func(*args, **kwargs)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\util.py", line 1881, in check
return func(*args, **kwargs)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\hgext\narrow\narrowcommands.py", line 135, in clonenarrowcmd
return orig(ui, repo, *args, **pycompat.strkwargs(opts))
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\util.py", line 1881, in check
return func(*args, **kwargs)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\commands.py", line 1982, in clone
r = hg.clone(
File "d:/projects/hg/hg-git\hggit\schemes.py", line 121, in clone
srcpeer, destpeer = orig(*args, **opts)
File "D:\projects\hg\thg\thg.work\venv.py38\lib\site-packages\mercurial\hg.py", line 1008, in clone
exchange.pull(
File "d:/projects/hg/hg-git\hggit\util.py", line 100, in inner
return f(*args, **kwargs)
File "d:/projects/hg/hg-git\hggit\gitrepo.py", line 197, in exchangepull
pullop.cgresult = repo.githandler.fetch(remote, heads)
File "d:/projects/hg/hg-git\hggit\git_handler.py", line 376, in fetch
result = self.fetch_pack(remote.path, heads)
File "d:/projects/hg/hg-git\hggit\git_handler.py", line 1631, in fetch_pack
ret = self._call_client(
File "c:\python38\lib\contextlib.py", line 120, in __exit__
next(self.gen)
File "d:/projects/hg/hg-git\hggit\util.py", line 284, in add_pack
os.remove(f.name)
PermissionError: [WinError 32] ╧ЁюЎхёё эх ьюцхЄ яюыєўшЄ№ фюёЄєя ъ Їрщыє, Єръ ъръ ¤ЄюЄ Їрщы чрэ Є фЁєушь яЁюЎхёёюь: 'D:\\projects\\hg\\atc-clone\\.hg\\git\\objects\\pack\\hg-git-fetch-7xu2mmzs.pack'
юЄьхэр: ╧ЁюЎхёё эх ьюцхЄ яюыєўшЄ№ фюёЄєя ъ Їрщыє, Єръ ъръ ¤ЄюЄ Їрщы чрэ Є фЁєушь яЁюЎхёёюь: 'D:\projects\hg\atc-clone\.hg\git\objects\pack\hg-git-fetch-7xu2mmzs.pack'
use win10 x64 with python 3.8, hg-git: d6672f726bcf
installed mercurial 6.4 and got this crash:
% hg clone --verbose git+https://github.com/nimaltd/atc.git "D:\projects\mcu\AT\atc.hggit\atc"
отдалённый: Enumerating objects: 179, done.
отдалённый: Counting objects: 100% (15/15), done.
отдалённый: Compressing objects: 100% (13/13), done.
отдалённый: Total 179 (delta 3), reused 4 (delta 1), pack-reused 164
отмена: Process cant access file, since it ocupied by other process: 'D:\projects\mcu\AT\atc.hggit\atc\.hg\git\objects\pack\hg-git-fetch-6ec05v5t.pack'
[команда вернула код 255 Fri Mar 24 16:09:33 2023]
Fixed with update pyQt up to 5.15
Hallow: this happens on my ubuntu with python 3.10
** Mercurial version (6.2.3). TortoiseHg version (6.2.2+4-49a342ca4313)
** Command: --nofork
** CWD: /home/alexrayne/thg.hg
** Encoding: UTF-8
** Extensions loaded: absorb, censor, commitextras, convert, eol, fix, hggit 1.0.0 (dulwich 0.20.46), highlight, histedit, mq, narrow, patchbomb, rebase, record, share, show, split, strip, tortoisehg.util.configitems, transplant, uncommit
** Python version: 3.10.4 (main, Jun 29 2022, 12:14:53) [GCC 11.2.0]
** System: Linux alexrayne-VB 5.15.0-47-generic #51-Ubuntu SMP Thu Aug 11 07:51:15 UTC 2022 x86_64
** Qt-5.13.0 PyQt-5.13.0 QScintilla-2.10.8
Traceback (most recent call last):
File "/home/alexrayne/thg.hg/tortoisehg/hgqt/docklog.py", line 594, in _updateTitleBarStyle
if area & (Qt.DockWidgetArea.TopDockWidgetArea | Qt.DockWidgetArea.BottomDockWidgetArea):
TypeError: unsupported operand type(s) for &: 'DockWidgetArea' and 'DockWidgetAreas'
Traceback (most recent call last):
File "/home/alexrayne/thg.hg/tortoisehg/hgqt/docklog.py", line 594, in _updateTitleBarStyle
if area & (Qt.DockWidgetArea.TopDockWidgetArea | Qt.DockWidgetArea.BottomDockWidgetArea):
TypeError: unsupported operand type(s) for &: 'DockWidgetArea' and 'DockWidgetAreas'
Hallow: this happens on my ubuntu with python 3.10
** Mercurial version (6.2.3). TortoiseHg version (6.2.2+4-49a342ca4313)
** Command: --nofork
** CWD: /home/alexrayne/thg.hg
** Encoding: UTF-8
** Extensions loaded: absorb, censor, commitextras, convert, eol, fix, hggit 1.0.0 (dulwich 0.20.46), highlight, histedit, mq, narrow, patchbomb, rebase, record, share, show, split, strip, tortoisehg.util.configitems, transplant, uncommit
** Python version: 3.10.4 (main, Jun 29 2022, 12:14:53) [GCC 11.2.0]
** System: Linux alexrayne-VB 5.15.0-47-generic #51-Ubuntu SMP Thu Aug 11 07:51:15 UTC 2022 x86_64
** Qt-5.13.0 PyQt-5.13.0 QScintilla-2.10.8
Traceback (most recent call last):
File "/home/alexrayne/thg.hg/tortoisehg/hgqt/docklog.py", line 594, in _updateTitleBarStyle
if area & (Qt.DockWidgetArea.TopDockWidgetArea | Qt.DockWidgetArea.BottomDockWidgetArea):
TypeError: unsupported operand type(s) for &: 'DockWidgetArea' and 'DockWidgetAreas'
Traceback (most recent call last):
File "/home/alexrayne/thg.hg/tortoisehg/hgqt/docklog.py", line 594, in _updateTitleBarStyle
if area & (Qt.DockWidgetArea.TopDockWidgetArea | Qt.DockWidgetArea.BottomDockWidgetArea):
TypeError: unsupported operand type(s) for &: 'DockWidgetArea' and 'DockWidgetAreas'
have sent one
3rd patch rev have debuged on a real project - fixed crush on unrecognised categorys.
Please patchbomb all patches to
can't use patch bomb with my mail - cant pass google's OAuth. And my thunderbird - have try made a plain email from patch, but something goes wrong too.