Bug#1053787: qbrz calls give internal error

2023-11-21 Thread Stefano Rosellini

Just for info.

I uninstalled qbrz package, I downloaded qbrz 0.4.2, I builded it and I 
put builded qbrz plugin directory in 
/usr/lib/python3/dist-packages/breezy/plugins and now it works.




Bug#1053787: qbrz calls give internal error

2023-10-11 Thread Stefano Rosellini

Subject: qbrz calls give internal error
Package: qbrz
Version: 0.23.2+bzr1641-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

The package qbzr seems to be broken on Debian 12.

For example using "brz qlog" I get the following error:

<<<
brz: ERROR: TypeError: arguments did not match any overloaded call:
 singleShot(msec: int, slot: PYQT_SLOT): argument 1 has unexpected type 
'float'
 singleShot(msec: int, timerType: Qt.TimerType, slot: PYQT_SLOT): 
argument 1 has unexpected type 'float'


Traceback (most recent call last):
 File "/usr/lib/python3/dist-packages/breezy/plugins/qbrz/lib/util.py", 
line 971, in run_in_loading_queue

   f(*args, **kargs)
 File 
"/usr/lib/python3/dist-packages/breezy/plugins/qbrz/lib/revtreeview.py", 
line 135, in _load_visible_revisions

   load_revisions(revids, model.get_repo(),
 File "/usr/lib/python3/dist-packages/breezy/lazy_import.py", line 153, 
in __call__

   return obj(*args, **kwargs)
  
 File 
"/usr/lib/python3/dist-packages/breezy/plugins/qbrz/lib/lazycachedrevloader.py", 
line 93, in load_revisions

   stop = before_batch_load(repo, batch_revids)
  ^
 File 
"/usr/lib/python3/dist-packages/breezy/plugins/qbrz/lib/revtreeview.py", 
line 130, in before_batch_load

   self.delay(0.5)
 File 
"/usr/lib/python3/dist-packages/breezy/plugins/qbrz/lib/revtreeview.py", 
line 151, in delay

   QtCore.QTimer.singleShot(timeout, null)
TypeError: arguments did not match any overloaded call:
 singleShot(msec: int, slot: PYQT_SLOT): argument 1 has unexpected type 
'float'
 singleShot(msec: int, timerType: Qt.TimerType, slot: PYQT_SLOT): 
argument 1 has unexpected type 'float'


brz 3.3.2 on python 3.11.2 (Linux-6.1.0-11-amd64-x86_64-with-glibc2.36)
arguments: ['bzr', 'qlog']
plugins: bash_completion[3.3.2], changelog_merge[3.3.2],
   commitfromnews[3.3.2], cvs[3.3.2], darcs[3.3.2], email[3.3.2],
   fastimport[3.3.2], flake8[unknown], fossil[3.3.2], github[3.3.2],
   gitlab[3.3.2], hg[3.3.2], launchpad[3.3.2], mtn[3.3.2],
   netrc_credential_store[3.3.2], news_merge[3.3.2], po_merge[3.3.2],
   propose[3.3.2], pypi[3.3.2], qbrz[0.4.1.dev], quilt[unknown],
   repodebug[3.3.2], rewrite[unknown], stats[3.3.2], svn[3.3.2],
   upload[3.3.2], weave_fmt[3.3.2], webdav[3.3.2], zsh_completion[3.3.2]
encoding: 'utf-8', fsenc: 'utf-8', lang: 'it_IT.UTF-8'

*** Breezy has encountered an internal error.  This probably indicates a
   bug in Breezy.  You can help us fix it by filing a bug report at
https://bugs.launchpad.net/brz/+filebug
   including this traceback and a description of the problem.
QPainter::end: Painter ended with 7 saved states
>>>

-- System Information:
Debian Release: 12.1
 APT prefers stable-updates
 APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable')

Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-11-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE 
not set

Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages qbrz depends on:
ii  python3   3.11.2-1+b1
ii  python3-all   3.11.2-1+b1
ii  python3-breezy    3.3.2-3
ii  python3-patiencediff  0.2.13-1
ii  python3-pyqt5 5.15.9+dfsg-1

qbrz recommends no packages.

qbrz suggests no packages.

-- no debconf information