desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #161235
[Bug 1497708] Re: oneconf-service crashed with TypeError in get_oauth_params(): Unicode-objects must be encoded before hashing
I've located the cause of this in my machine, and it's environmental:
python3.4 has a pip3-sourced oauthlib, while oneconf depends on the apt-
get-sourced version (python3-oauthlib). The following procedure fixed
it.
# capture the list of apt packages that depend on oauthlib
APTNAME=python3-oauthlib
PIPNAME=oauthlib
DEPS=$(sudo apt-get remove $APTNAME -sy | grep $APTNAME | head -1)
# Need to do this; pip's lib gets "hidden" from pip by the OS-managed lib, even though it takes precedence.
sudo apt-get remove $APTNAME -y
# Remove the offending pip version
sudo pip3 uninstall $PIPNAME
# Restore the applications we just removed.
sudo apt-get install $DEPS -y
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to oneconf in Ubuntu.
https://bugs.launchpad.net/bugs/1497708
Title:
oneconf-service crashed with TypeError in get_oauth_params(): Unicode-
objects must be encoded before hashing
Status in oneconf package in Ubuntu:
Confirmed
Bug description:
Found this error after unlocking the session
ProblemType: Crash
DistroRelease: Ubuntu 15.10
Package: oneconf 0.3.8
ProcVersionSignature: Ubuntu 4.2.0-10.11-generic 4.2.0
Uname: Linux 4.2.0-10-generic x86_64
ApportVersion: 2.18.1-0ubuntu1
Architecture: amd64
CrashCounter: 1
CurrentDesktop: Unity
Date: Sun Sep 20 07:42:47 2015
EcryptfsInUse: Yes
ExecutablePath: /usr/share/oneconf/oneconf-service
InstallationDate: Installed on 2012-11-25 (1029 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120627)
InterpreterPath: /usr/bin/python3.4
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/share/oneconf/oneconf-service
ProcEnviron:
XDG_RUNTIME_DIR=<set>
SHELL=/bin/bash
LANGUAGE=en_SG:en
PATH=(custom, no user)
LANG=en_SG.UTF-8
PythonArgs: ['/usr/share/oneconf/oneconf-service']
SourcePackage: oneconf
Title: oneconf-service crashed with TypeError in get_oauth_params(): Unicode-objects must be encoded before hashing
UpgradeStatus: Upgraded to wily on 2015-03-14 (189 days ago)
UserGroups: adm cdrom dip libvirtd lpadmin plugdev sambashare sudo vboxusers
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/oneconf/+bug/1497708/+subscriptions