[Bug 849554] Re: software-properties-gtk crashed with UnicodeEncodeError in save(): 'ascii' codec can't encode character u'\xe9' in position 73: ordinal not in range(128)

Ryan Schwenker 849554 at bugs.launchpad.net
Tue Sep 13 23:45:38 UTC 2011


Terminal output if it helps:

gothickitty93 at gothickitty93-MT6458:~$ software-properties-gtk
gpg: /tmp/tmpSiHZoc/trustdb.gpg: trustdb created
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py:336: Warning: /build/buildd/glib2.0-2.29.90/./gobject/gsignal.c:2335: instance `0x9b59288' has no handler with id `682'
  widget.handler_block(handler)
/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py:340: Warning: /build/buildd/glib2.0-2.29.90/./gobject/gsignal.c:2377: instance `0x9b59288' has no handler with id `682'
  widget.handler_unblock(handler)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 790, in on_add_clicked
    self.backend.AddSourceFromLine(line)
  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 260, in AddSourceFromLine
    self.add_source_from_line(sourceLine)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 699, in add_source_from_line
    self.set_modified_sourceslist()
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 467, in set_modified_sourceslist
    self.save_sourceslist()
  File "/usr/lib/python2.7/dist-packages/softwareproperties/dbus/SoftwarePropertiesDBus.py", line 58, in save_sourceslist
    super(SoftwarePropertiesDBus, self).save_sourceslist()
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 631, in save_sourceslist
    self.sourceslist.save()
  File "/usr/lib/python2.7/dist-packages/aptsources/sourceslist.py", line 398, in save
    files[source.file].write(source.str())
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 73: ordinal not in range(128)

gothickitty93 at gothickitty93-MT6458:~$

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/849554

Title:
  software-properties-gtk crashed with UnicodeEncodeError in save():
  'ascii' codec can't encode character u'\xe9' in position 73: ordinal
  not in range(128)

Status in “software-properties” package in Ubuntu:
  New

Bug description:
  Occures when adding a repository

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: software-properties-gtk 0.81.9
  ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
  Uname: Linux 3.0.0-10-generic i686
  ApportVersion: 1.22.1-0ubuntu2
  Architecture: i386
  Date: Tue Sep 13 18:39:42 2011
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110911)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 58720385
  ProcEnviron:
   SHELL=/bin/bash
   LANG=en_US.UTF-8
   PATH=(custom, no user)
  PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '58720385']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with UnicodeEncodeError in save(): 'ascii' codec can't encode character u'\xe9' in position 73: ordinal not in range(128)
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/849554/+subscriptions




More information about the foundations-bugs mailing list