Public bug reported:

If locale is ru_RU than software-properties-gtk crash with message:

$ software-properties-gtk

(software-properties-gtk:7231): Gtk-WARNING **:
gtk_widget_size_allocate(): attempt to underallocate GtkComboBox's child
GtkToggleButton 0x965b0b8. Allocation is 421x28, but minimum required
size is 31x29.

(software-properties-gtk:7231): Gtk-WARNING **:
gtk_widget_size_allocate(): attempt to underallocate GtkToggleButton's
child GtkBox 0x9653be0. Allocation is 409x16, but minimum required size
is 19x17.

(software-properties-gtk:7231): Gtk-WARNING **: gtk_widget_size_allocate(): 
attempt to underallocate GtkBox's child GtkArrow 0x9653c60. Allocation is 
17x16, but minimum required size is 17x17.
gpg: /tmp/tmpjLoDxo/trustdb.gpg: создана таблица доверий
Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 105, in <module>
    app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, 
file=file)
  File 
"/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py",
 line 164, in __init__
    self.init_distro()
  File 
"/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py",
 line 277, in init_distro
    self.label_dist_name.set_label(_("%s Software") % self.distro.id)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal 
not in range(128)

patch (solution from version 0.80) is attached.

** Affects: software-properties (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Problem with software-properties-gtk in ru_RU.utf8 locale

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to