[Desktop-packages] [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 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= 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [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= 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [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 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= 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [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 Desktop Packages, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/49348 Title: List view in Nautilus does not allow dragging a selection by mouse Status in One Hundred Papercuts: Invalid Status in Nautilus: Confirmed Status in nautilus package in Ubuntu: Triaged Bug description: When viewing files in Nautilus one can drag a rectangle around them to mark certain files. This is not possible in the list view of Nautilus even though there is usually a large white space in folders with few files that can make a user believe that dragging with the mouse there would produce the same rectangle as in icon view. I do it all the time by habit, and it is very annoying. Proposal: * Make it possible to drag a rectangle in list view. The problem is that starting to drag on a list item moves that item. Konqueror has solved this that you have to drag on the item name itself to move, else a rectangle marquee is started. Personally I find this quite efficient but may be annoying for less experienced users... To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/49348/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [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 Desktop Packages, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/781931 Title: New windows are moved to front but don't take focus Status in Compiz: Fix Released Status in Compiz 0.9.8 series: Won't Fix Status in Compiz Core: Confirmed Status in GTK+ GUI Toolkit: Invalid Status in Nautilus: Fix Released Status in Unity: Invalid Status in Unity 2D: Invalid Status in Unity Distro Priority: Fix Committed Status in compiz package in Ubuntu: Fix Released Status in nautilus package in Ubuntu: Fix Released Status in unity-2d package in Ubuntu: Won't Fix Status in compiz source package in Precise: Confirmed Status in nautilus source package in Precise: Fix Released Status in unity-2d source package in Precise: Won't Fix Bug description: Impact: sometime new dialog doesn't get the focus Test Case for the nautilus SRU: - open gedit, click in the text entry - click on nautilus on the launcher - check if the nautilus dialog got the focus or not Regression potential: nautilus could steal focus when it should not To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/781931/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp