[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#951652: upgrade-reports: tortoisehg fails, missing python-qscintilla2 and pyqt4-dev-tools



Package: upgrade-reports
Severity: important


Dear Maintainer,

On 2020-02-08 Saturday, upgrading Debian bullseye uninstalled the libqt4-*,
libqtcore4, python-qscintilla2, pyqt4-dev-tools, and python-qt4 packages. They
are no longer available from Debian's testing (bullseye) repos.

(The page at https://bitbucket.org/tortoisehg/thg/wiki/developers/Linux lists
that pyqt4-dev-tools and python-qscintilla2 should be installed in Debian to
run thg.)

A few days later I closed thg and then re-opened it. Since then, it gives an
error on startup. (See end of report for full error text.)

I tried installing the following packages without success:

* python-pyqt5
* libqscintilla2-qt5-15
* libqscintilla2-qt5-l10n
* python3-pyqt5
* python3-pyqt5.qsci
* pyqt5-dev
* pyqt5.qsci-dev
* libqscintilla2-qt5-dev


I also tried adding the buster repositories to synaptic and installing python-
qscintilla2 and pyqt4-dev-tools manually again. This kept reporting broken
dependencies in synaptic. Using apt-get install I was able to finish this, but
it removed many qt5 libraries and also vlc and virtualbox (from the virtualbox
repos).

I also looked into installing qscintilla manually, but the versions available
from https://pypi.org/project/QScintilla/ seem to be exclusive to Python3.

I did report this bug earlier to tortoisehg but have not yet received an answer
there: https://bitbucket.org/tortoisehg/thg/issues/5519/debian-bullseye-python-
qscintilla2-package


Full error text:

    #!python
    ** Mercurial version (5.2.2).  TortoiseHg version (5.1+367-9e3bf37dd711)
    ** Command:
    ** CWD: /home/evln
    ** Encoding: UTF-8
    ** Extensions loaded: record, strip, mq, transplant, eol, fetch, graphlog,
children, churn, hgk, convert, purge, rebase, patchbomb, histedit,
tortoisehg.util.configitems
    ** Python version: 2.7.17 (default, Jan 19 2020, 19:54:54) [GCC 9.2.1
20200110]
    ** System: Linux arona 5.4.0-3-amd64 #1 SMP Debian 5.4.13-1 (2020-01-19)
x86_64
    ** Qt-5.12.5 PyQt-5.14.1 QScintilla-(unknown)
    Traceback (most recent call last):
      File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/run.py", line
138, in dispatch
        return _runcatch(u, args)
      File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/run.py", line
342, in _runcatch
        return runcommand(ui, args)
      File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/run.py", line
436, in runcommand
        return _runcommand(lui, options, cmd, d)
      File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/run.py", line
488, in _runcommand
        return checkargs()
      File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/run.py", line
441, in checkargs
        return cmdfunc()
      File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/run.py", line
435, in <lambda>
        **pycompat.strkwargs(cmdoptions))
      File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/qtapp.py", line
465, in __call__
        dlg, reporoot = self._createdialog(dlgfunc, args, opts)
      File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/qtapp.py", line
529, in _createdialog
        return dlgfunc(self._ui, *args, **opts), reporoot
      File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1845, in
check
        return func(*args, **kwargs)
      File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/run.py", line
1057, in log
        w = _workbench(ui, *pats, **opts)
      File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/run.py", line
527, in _workbench
        w = qtrun.createWorkbench()
      File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/qtapp.py", line
561, in createWorkbench
        self._workbench = workbench.Workbench(
      File "/usr/lib/python2.7/dist-
packages/hgdemandimport/demandimportpy2.py", line 157, in __getattr__
        self._load()
      File "/usr/lib/python2.7/dist-
packages/hgdemandimport/demandimportpy2.py", line 97, in _load
        _origimport, head, globals, locals, None, level
      File "/usr/lib/python2.7/dist-
packages/hgdemandimport/demandimportpy2.py", line 44, in _hgextimport
        return importfunc(name, globals, *args, **kwargs)
      File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/workbench.py",
line 56, in <module>
        from .docklog import LogDockWidget
      File "/usr/lib/python2.7/dist-
packages/hgdemandimport/demandimportpy2.py", line 257, in _demandimport
        _origimport, name, globals, locals, level=level
      File "/usr/lib/python2.7/dist-
packages/hgdemandimport/demandimportpy2.py", line 44, in _hgextimport
        return importfunc(name, globals, *args, **kwargs)
      File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/docklog.py",
line 12, in <module>
        from .qsci import (
      File "/usr/lib/python2.7/dist-
packages/hgdemandimport/demandimportpy2.py", line 181, in _demandimport
        return _hgextimport(_origimport, name, globals, locals, fromlist,
level)
      File "/usr/lib/python2.7/dist-
packages/hgdemandimport/demandimportpy2.py", line 44, in _hgextimport
        return importfunc(name, globals, *args, **kwargs)
      File "/media/ssd-data/coding/proj/thg/thg/tortoisehg/hgqt/qsci.py", line
17, in <module>
        from PyQt5.Qsci import *
      File "/usr/lib/python2.7/dist-
packages/hgdemandimport/demandimportpy2.py", line 181, in _demandimport
        return _hgextimport(_origimport, name, globals, locals, fromlist,
level)
      File "/usr/lib/python2.7/dist-
packages/hgdemandimport/demandimportpy2.py", line 44, in _hgextimport
        return importfunc(name, globals, *args, **kwargs)
    ImportError: No module named Qsci



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


Reply to: