Comment 23 for bug 768363

Revision history for this message
alfabravoteam (alfabravoteam) 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

Vistaus, check again. I was updated til 1 hour ago and the updates were not
there yet. Now I read your mail and python-apt, python-apt-common and
software-properties-kde appear in software updates.

It is the problem, trust them.

PS. BTW, I used the patch.diff and it worked. It means the problem was
actually addressed. Updating, I'll let you know if something unussual
happens.

On Sun, Apr 24, 2011 at 4:35 PM, Vistaus <email address hidden> wrote:

> What fix? It isn't fixed. I still get this error:
>
> vistausss@vistausss-hp:~/fromsvngit/choqok$ kdesudo
> software-properties-kde
> QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed:
> Bestand of map bestaat niet
> QFileSystemWatcher: failed to add paths: /home/vistausss/.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.
> vistausss@vistausss-hp:~/fromsvngit/choqok$
>
> I'm updated, so that's not the problem.
>
> --
> 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 “python-apt” package in Ubuntu:
> Fix Released
> Status in “software-properties” package in Ubuntu:
> Fix Released
>
> 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
>

--
Andrés Salcedo
"Verba volant, scripta manent"