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

Bug#835489: Fails to start



Package: pyqso
Version: 0.3-1
Severity: grave

pyqso fails to start with the following console log.

/usr/bin/pyqso:20: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, GdkPixbuf
Traceback (most recent call last):
  File "/usr/bin/pyqso", line 22, in <module>
    import configparser
ImportError: No module named configparser

After installing manually python-configparser, pyqso fails to find
unittest.mock module:

/usr/bin/pyqso:20: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, GdkPixbuf
INFO:root:PyQSO version 0.3
/usr/lib/python2.7/dist-packages/pyqso/logbook.py:20: PyGIWarning: PangoCairo was imported without specifying a version first. Use gi.require_version('PangoCairo', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Pango, PangoCairo
/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
Traceback (most recent call last):
  File "/usr/bin/pyqso", line 38, in <module>
    from pyqso.logbook import *
  File "/usr/lib/python2.7/dist-packages/pyqso/logbook.py", line 38, in <module>
    from pyqso.log import *
  File "/usr/lib/python2.7/dist-packages/pyqso/log.py", line 26, in <module>
    from pyqso.record_dialog import *
  File "/usr/lib/python2.7/dist-packages/pyqso/record_dialog.py", line 34, in <module>
    from pyqso.callsign_lookup import *
  File "/usr/lib/python2.7/dist-packages/pyqso/callsign_lookup.py", line 22, in <module>
    import unittest.mock
ImportError: No module named mock

The module unittest.mock is provided only by Python 3.x. However manually starting pyqso with python3 also fails:

$ python3 /usr/bin/pyqso
/usr/bin/pyqso:20: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, GdkPixbuf
INFO:root:PyQSO version 0.3
Traceback (most recent call last):
  File "/usr/bin/pyqso", line 37, in <module>
    from pyqso.adif import *
ImportError: No module named 'pyqso'


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

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.utf8, LC_CTYPE=ru_RU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages pyqso depends on:
ii  gir1.2-gtk-3.0              3.20.9-1
ii  libjs-jquery                1.12.4-1
ii  libjs-underscore            1.7.0~dfsg-1
ii  python-gi-cairo             3.20.1-1
ii  python-libhamlib2           3.0.1-1
ii  python-matplotlib           1.5.2~rc2-1
ii  python-mpltoolkits.basemap  1.0.7+dfsg-4
ii  python-numpy                1:1.11.1~rc1-1
pn  python:any                  <none>

pyqso recommends no packages.

pyqso suggests no packages.

-- no debconf information


Reply to: