[Bug 1497708] Re: oneconf-service crashed with TypeError in get_oauth_params(): Unicode-objects must be encoded before hashing
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: (unassigned) => Fordi (fordiman) -- 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 before hashing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/oneconf/+bug/1497708/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1497708] Re: oneconf-service crashed with TypeError in get_oauth_params(): Unicode-objects must be encoded before hashing
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 `infraclient_pristine.WebCatalogAPI#_prepare_body` to utf-8 encode the `body` for requests." https://bugs.launchpad.net/ubuntu/+source/oneconf/+bug/1497708/+attachment/4571695/+files/lpb_1497708.diff ** Changed in: oneconf (Ubuntu) Assignee: Fordi (fordiman) => (unassigned) -- 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 before hashing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/oneconf/+bug/1497708/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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 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 before hashing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/oneconf/+bug/1497708/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 49348] Re: List view in Nautilus does not allow dragging a selection by mouse
Nine and a half years and counting, guys. Please implement the feature from 1998 that was missing 2006. The failure of this to work makes Ubuntu look amateurish every time someone messes with my desktop. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/49348 Title: List view in Nautilus does not allow dragging a selection by mouse To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/49348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 781931] Re: New windows are moved to front but don't take focus
Simple reproduction: 1. Open terminal. 2. Run any of the following commands: * xdg-open . - Expected: Nautilus opens, becomes front window with focus - Actual: Nautilus opens, becomes first non-front window without focus * xdg-open http://ubuntu.com - Expected: Browser opens, becomes front window with focus - Actual: Browser opens, becomes first non-front window without focus Nautilus is opened, but sits below the terminal window. Rayner Pires workaround, mentioned in February, causes the correct behavior, but I don't know what side-effects it may cause. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/781931 Title: New windows are moved to front but don't take focus To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/781931/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 387795] Re: Mouse disappears into dead area when using asymmetrical dual screen
Question: I know my system's profile should be attached, but do you need me to send anything else along? For example, I've added the radeonhd driver that's meant to be in 9.10. -- Mouse disappears into dead area when using asymmetrical dual screen https://bugs.launchpad.net/bugs/387795 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs