Bug 1149872 - Crash in git-cola possibly caused by a bug PyQt5 in openSUSE
Crash in git-cola possibly caused by a bug PyQt5 in openSUSE
Status: RESOLVED WONTFIX
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Simon Lees
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-09-07 13:14 UTC by Pierre Bonamy
Modified: 2020-10-20 16:28 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Bonamy 2019-09-07 13:14:39 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:
https://github.com/git-cola/git-cola/issues/989

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?
Comment 1 Benjamin Greiner 2020-10-20 16:28:46 UTC
Python2 only bug. No Python2 on Tumbleweed anymore.