[Bug 1497708] Re: oneconf-service crashed with TypeError in get_oauth_params(): Unicode-objects must be encoded before hashing

2016-02-14 Thread Ubuntu Foundations Team Bug Bot
The attachment "Patch creating `infraclient_pristine.WebCatalogAPI#_prepare_body` to utf-8 encode the `body` for requests." seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe

[Bug 1497708] Re: oneconf-service crashed with TypeError in get_oauth_params(): Unicode-objects must be encoded before hashing

2016-02-14 Thread Fordi
It might be possible to do a workaround in code to compensate for different versions of oauthlib, but that's above my paygrade in terms of python code. Possibly just encoding the unicode content to ascii before b64 encoding, as the traceback states. ** Changed in: oneconf (Ubuntu) Assignee:

[Bug 1497708] Re: oneconf-service crashed with TypeError in get_oauth_params(): Unicode-objects must be encoded before hashing

2016-02-14 Thread Fordi
Ok, I worked out a place where the `body` argument could be wiggled into place to stop breaking the sha1 hasher. Attached a patch that overloads infraclient_pristine.WebCatalogAPI#_prepare_body to encode the string correctly. ** Patch added: "Patch creating

[Bug 1497708] Re: oneconf-service crashed with TypeError in get_oauth_params(): Unicode-objects must be encoded before hashing

2016-02-14 Thread Fordi
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

[Bug 1497708] Re: oneconf-service crashed with TypeError in get_oauth_params(): Unicode-objects must be encoded before hashing

2016-02-07 Thread MankyGitt
I have this problem also on a fresh install of 15.10 x64 The advice at http://osdir.com/ml/ubuntu-bugs/2015-11/msg03922.html appears to provide a temporary solution. The problem reappears after some event occurs: Possibly that event described by marcoeminente158 - regardless of whether the

[Bug 1497708] Re: oneconf-service crashed with TypeError in get_oauth_params(): Unicode-objects must be encoded before hashing

2015-11-17 Thread Rafael P.
Same problem on fresh 15.10 install. I thought Ubuntu One was obsolete?? Why are related packages still being used? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1497708 Title: oneconf-service

[Bug 1497708] Re: oneconf-service crashed with TypeError in get_oauth_params(): Unicode-objects must be encoded before hashing

2015-11-16 Thread Risun Fan
Same problem after upgrade from 15.04 to 15.10. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1497708 Title: oneconf-service crashed with TypeError in get_oauth_params(): Unicode- objects must be

[Bug 1497708] Re: oneconf-service crashed with TypeError in get_oauth_params(): Unicode-objects must be encoded before hashing

2015-11-11 Thread Marco Eminente
Same problem after upgrade from 15.04 to 15.10, the error occur after I empty the trash and the home directory is suddenly opened in a new window -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1497708

[Bug 1497708] Re: oneconf-service crashed with TypeError in get_oauth_params(): Unicode-objects must be encoded before hashing

2015-11-07 Thread Doudz
The bug re-appears after 2/3 boot... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1497708 Title: oneconf-service crashed with TypeError in get_oauth_params(): Unicode- objects must be encoded

[Bug 1497708] Re: oneconf-service crashed with TypeError in get_oauth_params(): Unicode-objects must be encoded before hashing

2015-11-06 Thread Doudz
I got this bug too after upgrading from Ubuntu 15.04 to Ubuntu 15.10 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1497708 Title: oneconf-service crashed with TypeError in get_oauth_params():

[Bug 1497708] Re: oneconf-service crashed with TypeError in get_oauth_params(): Unicode-objects must be encoded before hashing

2015-11-06 Thread Doudz
looks like I "solved" the bug by reinstalling oneconf sudo apt-get install --reinstall oneconf sudo dpkg-reconfigure oneconf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1497708 Title:

[Bug 1497708] Re: oneconf-service crashed with TypeError in get_oauth_params(): Unicode-objects must be encoded before hashing

2015-10-08 Thread Jeb E.
I constantly get this bug! Very annoying, please fix! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1497708 Title: oneconf-service crashed with TypeError in get_oauth_params(): Unicode- objects

[Bug 1497708] Re: oneconf-service crashed with TypeError in get_oauth_params(): Unicode-objects must be encoded before hashing

2015-09-30 Thread Sebastien Bacher
** Information type changed from Private to Public -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1497708 Title: oneconf-service crashed with TypeError in get_oauth_params(): Unicode- objects must