desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #149997
[Bug 1512209] Re: update-manager crashed with SyntaxError in find_cookie(): invalid or missing encoding declaration for '/usr/bin/sys'
This is a combination of two problems. One is that starting update-
manager results in these warnings:
/usr/bin/update-manager:28: 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
/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py:26: PyGIWarning: GdkX11 was imported without specifying a version first. Use gi.require_version('GdkX11', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gdk, GdkX11
/usr/lib/python3/dist-packages/UpdateManager/UnitySupport.py:29: PyGIWarning: Dbusmenu was imported without specifying a version first. Use gi.require_version('Dbusmenu', '0.4') before import to ensure that the right version gets loaded.
from gi.repository import Dbusmenu, Unity
/usr/lib/python3/dist-packages/UpdateManager/UnitySupport.py:29: PyGIWarning: Unity was imported without specifying a version first. Use gi.require_version('Unity', '7.0') before import to ensure that the right version gets loaded.
from gi.repository import Dbusmenu, Unity
The other is that when openafs-client is installed, the presence of
/usr/bin/sys causes Python to crash while displaying these warnings (see
linked bugs).
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/1512209
Title:
update-manager crashed with SyntaxError in find_cookie(): invalid or
missing encoding declaration for '/usr/bin/sys'
Status in pygobject:
Fix Released
Status in Python:
Won't Fix
Status in pygobject package in Ubuntu:
New
Status in update-manager package in Ubuntu:
New
Bug description:
update-manager crashed with SyntaxError in find_cookie(): invalid or
missing encoding declaration for '/usr/bin/sys'
ProblemType: Crash
DistroRelease: Ubuntu 16.04
Package: update-manager 1:15.10.3
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
NonfreeKernelModules: openafs
ApportVersion: 2.19.2-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME-Classic:GNOME
Date: Sun Nov 1 22:34:22 2015
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/update-manager
GsettingsChanges:
b'com.ubuntu.update-manager' b'show-details' b'true'
b'com.ubuntu.update-manager' b'window-height' b'813'
b'com.ubuntu.update-manager' b'first-run' b'false'
b'com.ubuntu.update-manager' b'window-width' b'500'
b'com.ubuntu.update-manager' b'launch-time' b'1445601355'
InstallationDate: Installed on 2015-06-02 (152 days ago)
InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Release amd64 (20150422)
InterpreterPath: /usr/bin/python3.5
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map
PythonArgs: ['/usr/bin/update-manager', '--no-update', '--no-focus-on-map']
SourcePackage: update-manager
Title: update-manager crashed with SyntaxError in find_cookie(): invalid or missing encoding declaration for '/usr/bin/sys'
UpgradeStatus: Upgraded to xenial on 2015-10-28 (4 days ago)
UserGroups: adm bumblebee cdrom dip libvirtd lpadmin plugdev sambashare sbuild sudo wireshark
To manage notifications about this bug go to:
https://bugs.launchpad.net/pygobject/+bug/1512209/+subscriptions