[Bugs] #2073 UNSP: No way to set language if en_US is not installed
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Fri Jul 2 11:40:50 EDT 2010
#2073: No way to set language if en_US is not installed
------------------------------------------+---------------------------------
Reporter: alsroot | Owner: tomeu
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: sugar | Version: Unspecified
Severity: Unspecified | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
kandarpk on #ubuntu-sugarteam has reported that having
{{{
locale: en_IN archive: /usr/lib/locale/locale-archive
-------------------------------------------------------------------------------
title | English language locale for India
source | IBM Globalization Center of Competency, Yamato Software
Laboratory
address | 1623-14, Shimotsuruma, Yamato-shi, Kanagawa-ken, 242-8502,
Japan
email | bug-glibc-locales at gnu.org
language | English
territory | India
revision | 1.0
date | 2000,October,27 (XML source:2000,July,20)
codeset | UTF-8
locale: en_IN.utf8 archive: /usr/lib/locale/locale-archive
-------------------------------------------------------------------------------
title | English language locale for India
source | IBM Globalization Center of Competency, Yamato Software
Laboratory
address | 1623-14, Shimotsuruma, Yamato-shi, Kanagawa-ken, 242-8502,
Japan
email | bug-glibc-locales at gnu.org
language | English
territory | India
revision | 1.0
date | 2000,October,27 (XML source:2000,July,20)
codeset | UTF-8
}}}
as `locale -av` output, sugar fails in Language control panel component
with stack
{{{
(process:2033): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
1278084172.174861 WARNING root: No gtk.AccelGroup in the top level window.
1278084172.179189 WARNING root: No gtk.AccelGroup in the top level window.
1278084172.183364 WARNING root: No gtk.AccelGroup in the top level window.
1278084172.187559 WARNING root: No gtk.AccelGroup in the top level window.
/usr/lib/python2.6/dist-packages/sugar/graphics/tray.py:179: GtkWarning:
gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed
self.set_icon_widget(alignment)
/usr/lib/python2.6/dist-packages/sugar/graphics/tray.py:236: GtkWarning:
gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed
self.pack_start(scroll_left, False)
/usr/lib/python2.6/dist-packages/sugar/graphics/tray.py:243: GtkWarning:
gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed
self.pack_start(scroll_right, False)
1278084172.293739 ERROR root: Exception while loading extension:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/jarabe/frame/devicestray.py",
line 36, in __init__
mod.setup(self)
File "/usr/share/sugar/extensions/deviceicon/battery.py", line 247, in
setup
'/org/freedesktop/Hal/Manager')
File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 244, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 241, in
__init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 183, in
activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 281, in
start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 630, in
call_blocking
message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.Hal was not provided by any .service files
/usr/lib/python2.6/dist-packages/sugar/graphics/tray.py:322: GtkWarning:
gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed
self.pack_start(scroll_up, False)
/usr/lib/python2.6/dist-packages/sugar/graphics/tray.py:329: GtkWarning:
gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed
self.pack_start(scroll_down, False)
** (sugar-session:1996): WARNING **: Grab failed, another application may
already have access to key 'Print'
** (sugar-session:1996): WARNING **: Grab failed, another application may
already have access to key '<alt>Escape'
** (sugar-session:1996): WARNING **: Grab failed, another application may
already have access to key '<alt><shift>Tab'
** (sugar-session:1996): WARNING **: Grab failed, another application may
already have access to key '<alt>Tab'
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or
directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or
directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/jarabe/controlpanel/gui.py", line
321, in __select_option_cb
self.show_section_view(option)
File "/usr/lib/python2.6/dist-packages/jarabe/controlpanel/gui.py", line
218, in show_section_view
self._options[option]['alerts'])
File "/usr/share/sugar/extensions/cpsection/language/view.py", line 86,
in __init__
self.setup()
File "/usr/share/sugar/extensions/cpsection/language/view.py", line 176,
in setup
self._add_row(locale_code=locale)
File "/usr/share/sugar/extensions/cpsection/language/view.py", line 140,
in _add_row
self._determine_add_remove_visibility()
File "/usr/share/sugar/extensions/cpsection/language/view.py", line 257,
in _determine_add_remove_visibility
selected_langs = self._get_selected_langs()
File "/usr/share/sugar/extensions/cpsection/language/view.py", line 246,
in _get_selected_langs
lang_code = model.get(it, 0)[0]
TypeError: iter must be a GtkTreeIter
}}
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2073>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list