I've upgraded from natty to oneiric (sudo do-release-upgrade -d) and this added comments like "disabled in upgrade to oneiric" in /etc/apt/sources.list
The problem is: in Brazilian Portuguese, the comment is "desabilitado na atualização para oneiric" (it has unicode characters). When trying to remove, edit or enable these entries via software-properties-gtk, nothing happens.
Running software-properties-gtk from a terminal, the following errors appear, when trying to remove and enable the entries, respectively:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 839, in on_remove_clicked
self.backend.RemoveSource(str(source_entry))
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in __call__
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 630, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.UnicodeEncodeError: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/lib/python2.7/dist-packages/softwareproperties/dbus/SoftwarePropertiesDBus.py", line 268, in RemoveSource
self.remove_source(str(source))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 72-73: ordinal not in range(128)
-------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 647, in on_isv_source_toggled
self.backend.ToggleSourceUse(str(source_entry))
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in __call__
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 630, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.UnicodeEncodeError: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/lib/python2.7/dist-packages/softwareproperties/dbus/SoftwarePropertiesDBus.py", line 156, in ToggleSourceUse
self.toggle_source_use(str(source))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 72-73: ordinal not in range(128)
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: software-properties-gtk 0.81.9
ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu2
Architecture: i386
Date: Fri Oct 7 10:51:58 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
PackageArchitecture: all
ProcEnviron:
LANGUAGE=pt_BR:pt_PT:en
PATH=(custom, no user)
LANG=pt_BR.UTF-8
LC_MESSAGES=pt_BR.UTF-8
SHELL=/bin/bash
SourcePackage: software-properties
UpgradeStatus: Upgraded to oneiric on 2011-10-05 (1 days ago)
I've upgraded from natty to oneiric (sudo do-release-upgrade -d) and this added comments like "disabled in upgrade to oneiric" in /etc/apt/ sources. list
The problem is: in Brazilian Portuguese, the comment is "desabilitado na atualização para oneiric" (it has unicode characters). When trying to remove, edit or enable these entries via software- properties- gtk, nothing happens.
Running software- properties- gtk from a terminal, the following errors appear, when trying to remove and enable the entries, respectively:
Traceback (most recent call last): python2. 7/dist- packages/ softwarepropert ies/gtk/ SoftwarePropert iesGtk. py", line 839, in on_remove_clicked backend. RemoveSource( str(source_ entry)) python2. 7/dist- packages/ dbus/proxies. py", line 143, in __call__ python2. 7/dist- packages/ dbus/connection .py", line 630, in call_blocking .DBusException: org.freedesktop .DBus.Python. UnicodeEncodeEr ror: Traceback (most recent call last): python2. 7/dist- packages/ dbus/service. py", line 702, in _message_cb method( self, *args, **keywords) python2. 7/dist- packages/ softwarepropert ies/dbus/ SoftwarePropert iesDBus. py", line 268, in RemoveSource remove_ source( str(source) )
File "/usr/lib/
self.
File "/usr/lib/
**keywords)
File "/usr/lib/
message, timeout)
dbus.exceptions
File "/usr/lib/
retval = candidate_
File "/usr/lib/
self.
UnicodeEncodeError: 'ascii' codec can't encode characters in position 72-73: ordinal not in range(128)
------- ------- ------- ----
Traceback (most recent call last): python2. 7/dist- packages/ softwarepropert ies/gtk/ SoftwarePropert iesGtk. py", line 647, in on_isv_ source_ toggled backend. ToggleSourceUse (str(source_ entry)) python2. 7/dist- packages/ dbus/proxies. py", line 143, in __call__ python2. 7/dist- packages/ dbus/connection .py", line 630, in call_blocking .DBusException: org.freedesktop .DBus.Python. UnicodeEncodeEr ror: Traceback (most recent call last): python2. 7/dist- packages/ dbus/service. py", line 702, in _message_cb method( self, *args, **keywords) python2. 7/dist- packages/ softwarepropert ies/dbus/ SoftwarePropert iesDBus. py", line 156, in ToggleSourceUse toggle_ source_ use(str( source) )
File "/usr/lib/
self.
File "/usr/lib/
**keywords)
File "/usr/lib/
message, timeout)
dbus.exceptions
File "/usr/lib/
retval = candidate_
File "/usr/lib/
self.
UnicodeEncodeError: 'ascii' codec can't encode characters in position 72-73: ordinal not in range(128)
ProblemType: Bug properties- gtk 0.81.9 ature: Ubuntu 3.0.0-12.19-generic 3.0.4 ture: all pt_BR:pt_ PT:en pt_BR.UTF- 8
DistroRelease: Ubuntu 11.10
Package: software-
ProcVersionSign
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu2
Architecture: i386
Date: Fri Oct 7 10:51:58 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
PackageArchitec
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
LANG=pt_BR.UTF-8
LC_MESSAGES=
SHELL=/bin/bash
SourcePackage: software-properties
UpgradeStatus: Upgraded to oneiric on 2011-10-05 (1 days ago)