Bugzilla – Bug 1149872
Crash in git-cola possibly caused by a bug PyQt5 in openSUSE
Last modified: 2020-10-20 16:28:46 UTC
The Qt5 GUI for git named git-cola is crashing when a commit message contains non-ascii characters in the current version of openSUSE Tumbleweed. Reporting this bug upstream led the developer to the suspicion that this might be rather a bug in pyQt5 either in openSUSE or upstream of it. Following the developer advice, I'm thus reporting this to openSUSE now.
The git-cola bug report can be found here:
The bug seems to involve the QtWidgets.QGraphicsItem.ItemSelectedHasChanged component of pyQt5. The error code is as follow:
Traceback (most recent call last):
File "git-cola/cola/widgets/dag.py", line 1134, in itemChange
if change == QtWidgets.QGraphicsItem.ItemSelectedHasChanged:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 24: ordinal not in range(128)
Running git-cola using python3 doesn't result in this crash (or any error/warning visible in the terminal), so the bug might only impact the python2 build of pyQt5?
Python2 only bug. No Python2 on Tumbleweed anymore.