[Freedombox-pkg-team] Bug#878754: Plinth fail to start at boot - import_from_gi('NM', '1.0') fail
Petter Reinholdtsen
pere at hungry.com
Mon Oct 16 13:27:46 UTC 2017
Package: plinth
Version: 0.15.2+ds-1
Severity: important
Starting on important, assuming it do not affect everyone. If it does,
the severity should be RC.
In testing, plint fail to start at boot and 'service plinth restart'
fail. This is the failure:
plinth at freedombox:~$ /usr/bin/python3 /usr/bin/plinth
Traceback (most recent call last):
File "/usr/bin/plinth", line 21, in <module>
plinth.__main__.main()
File "/usr/lib/python3/dist-packages/plinth/__main__.py", line 357, in main
configure_django()
File "/usr/lib/python3/dist-packages/plinth/__main__.py", line 271, in configure_django
django.setup(set_prefix=True)
File "/usr/lib/python3/dist-packages/django/__init__.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/usr/lib/python3/dist-packages/django/apps/config.py", line 94, in create
module = import_module(entry)
File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 985, in _gcd_import
File "<frozen importlib._bootstrap>", line 968, in _find_and_load
File "<frozen importlib._bootstrap>", line 957, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 697, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/plinth/modules/networks/__init__.py", line 27, in <module>
from plinth import network
File "/usr/lib/python3/dist-packages/plinth/network.py", line 32, in <module>
nm = import_from_gi('NM', '1.0')
File "/usr/lib/python3/dist-packages/plinth/utils.py", line 38, in import_from_gi
package.require_version(library, version)
File "/usr/lib/python3/dist-packages/gi/__init__.py", line 118, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace NM not available
plinth at freedombox:~$
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.13.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages plinth depends on:
ii adduser 3.116
ii apache2 2.4.27-6
ii augeas-tools 1.9.0-1
ii avahi-daemon 0.7-3
ii batctl 2017.3-1
ii certbot 0.19.0-1
ii fail2ban 0.9.7-2
ii firewalld 0.4.4.5-2
ii gettext 0.19.8.1-4
ii gir1.2-glib-2.0 1.54.1-1
ii gir1.2-networkmanager-1.0 1.8.4-2
ii init-system-helpers 1.49
ii javascript-common 11
ii ldap-utils 2.4.45+dfsg-1
ii ldapscripts 2.0.8-1
ii libapache2-mod-auth-pubtkt 0.11-1
ii libapache2-mod-gnutls 0.8.2-3
ii libapache2-mod-php 1:7.0+54
ii libapache2-mod-php7.0 [libapache2-mod-php] 7.0.22-3
ii libjs-bootstrap 3.3.7+dfsg-2
ii libjs-jquery 3.2.1-1
ii libjs-modernizr 2.6.2+ds1-1
ii libnss-ldapd 0.9.8-1
ii libpam-ldapd 0.9.8-1
ii network-manager 1.8.4-2
ii nslcd 0.9.8-1
ii ntp 1:4.2.8p10+dfsg-5
ii openssh-server 1:7.6p1-2
ii openssl 1.1.0f-5
ii ppp 2.4.7-1+4
ii pppoe 3.12-1.1
ii python3 3.5.3-3
ii python3-apt 1.4.0~beta3+b1
ii python3-augeas 0.5.0-1
ii python3-bootstrapform 3.2.1-3
ii python3-cherrypy3 3.5.0-2
ii python3-configobj 5.0.6-2
ii python3-django 1:1.11.6-1
ii python3-django-stronghold 0.2.7+debian-3
ii python3-gi 3.24.1-3
ii python3-openssl 16.2.0-1
ii python3-psutil 5.0.1-1+b1
ii python3-requests 2.18.1-1
ii python3-ruamel.yaml 0.13.4-2+b1
ii slapd 2.4.45+dfsg-1
ii sudo 1.8.21p2-2
ii unattended-upgrades 0.98
plinth recommends no packages.
plinth suggests no packages.
-- Configuration Files:
/etc/apache2/conf-available/ikiwiki-plinth.conf changed [not included]
/etc/sudoers.d/plinth:
plinth ALL=(ALL:ALL) NOPASSWD:/usr/share/plinth/actions/*
-- no debconf information
--
Happy hacking
Petter Reinholdtsen
More information about the Freedombox-pkg-team
mailing list