Comment 5 for bug 1850054

Revision history for this message
Yasuyuki Furukawa (fryasu) wrote :

In Fedora 32, bazaar was replaced with breezy.

- fedoraproject.org: Changes/ReplaceBazaarWithBreezy
  https://fedoraproject.org/wiki/Changes/ReplaceBazaarWithBreezy

GUI design of qbzr is great for us, as well as bzr CLI. So, we tried
to use qbrz of fix-python-etc branch (revno 1531), but qbrz is down by
above same exception.

   brz: ERROR: TypeError: PyQt4.QtCore.QVariant represents a mapped
        type and cannot be instantiated

According to stackoverflow, QVariant is not available with Python3.

- stackoverflow: Python 3.5.1: QVariant represents a mapped type and
                 cannot be instantiated
  https://stackoverflow.com/questions/36840296/python-3-5-1-qvariant-represents-a-mapped-type-and-cannot-be-instantiated

Though I have few knowledge of PyQt, I created a poor patch to remove
the code depended on QVariant. And regenerated also lib/ui_*.py files
by "pyuic" command of PyQt 4.12.

Please see the attached patch file for detail.

In my PC of Fedora32 beta, by applying of this patch, some commands such
as "qlog" seems running well.

regards,