Comment 17 for bug 768363

Revision history for this message
jovan dragisic (jdragisic) wrote : Re: [Bug 768363] Re: Not able to change software origins in software-properties-kde - TypeError: coercing to Unicode: need string or buffer, NoneType found

Running software-properties-gtk with kdesudo doesn't bring up double entries
in the list in Kubuntu. The bug probably affects the KDE and the Gnome ways
in different ways.

On Sun, Apr 24, 2011 at 2:14 PM, Romain Perier <email address hidden>wrote:

> see also https://bugs.launchpad.net/ubuntu/+source/software-
> properties/+bug/768469
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/768363
>
> Title:
> Not able to change software origins in software-properties-kde -
> TypeError: coercing to Unicode: need string or buffer, NoneType found
>
> Status in The apt sources.list editor used in Ubuntu (and Kubuntu):
> New
> Status in “software-properties” package in Ubuntu:
> Confirmed
>
> Bug description:
> Kubuntu (11.04)Natty Narwahl, 32 bit Not able to get the software
> properties dialog.
>
> Bug reproducible? Yes.
>
> Steps to reproduce:
>
> 1. Open KPackageKit
> 2. Choose the "Edit origins button"
> 3. Fill in the policykit dialog
> 4. Nothing happens.
>
> The expected result would be to get a graphical window on which One
> could add repositories, or, much more importantly, change the download
> server.
>
> Running kdesudo kde-software properties gives out the following
> message:
>
>
> QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No
> such file or directory
> QFileSystemWatcher: failed to add paths: /home/mreto/.config/ibus/bus
> Traceback (most recent call last):
> File "/usr/bin/software-properties-kde", line 122, in <module>
> app = SoftwarePropertiesKDE(datadir=data_dir, options=options,
> file=file, attachWinID=attachWinID)
> File
> "/usr/lib/python2.7/dist-packages/softwareproperties/kde/SoftwarePropertiesKDE.py",
> line 129, in __init__
> self.init_distro()
> File
> "/usr/lib/python2.7/dist-packages/softwareproperties/kde/SoftwarePropertiesKDE.py",
> line 258, in init_distro
> checkbox = QCheckBox(utf8(template.description),
> File
> "/usr/lib/python2.7/dist-packages/softwareproperties/kde/I18nHelper.py",
> line 46, in utf8
> return unicode(str, 'latin1')
> TypeError: coercing to Unicode: need string or buffer, NoneType found
> Application asked to unregister timer 0x22000009 which is not registered
> in this thread. Fix application.
> Application asked to unregister timer 0x63000006 which is not registered
> in this thread. Fix application.
>
> Additional information on demand.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.04
> Package: software-properties-kde 0.80.8
> ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
> Uname: Linux 2.6.38-8-generic i686
> Architecture: i386
> Date: Thu Apr 21 16:05:47 2011
> InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110418)
> PackageArchitecture: all
> ProcEnviron:
> LANGUAGE=
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: software-properties
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/software-properties/+bug/768363/+subscribe
>