Bug#407795: Error during activation of the XKB configuration -> only USA keymap available.

Tomas Safarik safarik at server.cz
Sun Aug 30 07:03:52 UTC 2009


Package: gnome-applets
Version: 2.26.3-1
Severity: normal

Hello,

I encoutered this error. I was able to locate the problem and find solution.

Problem: When I run the keyboard applet from command line I get following
error when trying to add more keyboard layouts.

--
$ /usr/lib/gnome-applets/gnome-keyboard-applet 



** (gnome-keyboard-properties:2552): WARNING **: Failed to load '/usr/share/xml/iso-codes/iso_3166.xml': Failed to open file '/usr/share/xml/iso-codes/iso_3166.xml': No such file or directory

** (gnome-keyboard-properties:2552): WARNING **: Failed to load '/usr/share/xml/iso-codes/iso_639.xml': Failed to open file '/usr/share/xml/iso-codes/iso_639.xml': No such file or directory
dpy: 0x10294e00
evt/error/major/minor: 96/155/1/0
dpy: 0x10161e00
evt/error/major/minor: 96/155/1/0
--

Solution: Apparently problem is that iso-codes files are missing. These files
are part of package iso-codes. So after installing I can add more layouts
without problem. Altough I get some gtk-warnings:

--
(gnome-keyboard-properties:2587): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1 char 26: '\|' is not a valid name 

(gnome-keyboard-properties:2587): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1 char 26: '\|' is not a valid name 

(gnome-keyboard-properties:2587): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1 char 26: '\|' is not a valid name 

(gnome-keyboard-properties:2587): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1 char 26: '\|' is not a valid name 

(gnome-keyboard-properties:2587): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1 char 26: '\|' is not a valid name 

(gnome-keyboard-properties:2587): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1 char 26: '\|' is not a valid name 

(gnome-keyboard-properties:2587): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1 char 26: '\|' is not a valid name 
--

I suggest putting dependency DEPENDS on iso-codes package for gnome-applets if not for libklavier.
I can image you want to use libklavier but you don't need iso-codes, but for gnome-applets it is
necessary to have it because keyboard applet is not fully functional without it.

I hope this helps. I am happy to provide more info if needed.

Regards,

Tomas

-- System Information:
Debian Release: squeeze/sid
  APT prefers experimental
  APT policy: (990, 'experimental'), (500, 'unstable'), (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.30-1-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-applets depends on:
ii  gconf2                    2.26.2-3       GNOME configuration database syste
ii  gnome-applets-data        2.26.3-2       Various applets for the GNOME pane
ii  gnome-icon-theme          2.26.0-1       GNOME Desktop icon theme
ii  gnome-panel               2.26.3-1       launcher and docking facility for 
ii  gstreamer0.10-alsa [gstre 0.10.24-1      GStreamer plugin for ALSA
ii  gstreamer0.10-plugins-bad 0.10.13-1      GStreamer plugins from the "bad" s
ii  gstreamer0.10-plugins-goo 0.10.15.3-1    GStreamer plugins from the "good" 
ii  gvfs                      1.2.3-3        userspace virtual filesystem - ser
ii  libapm1                   3.2.2-14+b1    Library for interacting with APM d
ii  libatk1.0-0               1.26.0-1       The ATK accessibility toolkit
ii  libbonobo2-0              2.24.1-1       Bonobo CORBA interfaces library
ii  libbonoboui2-0            2.24.1-1       The Bonobo UI library
ii  libc6                     2.10.1-0exp1   GNU C Library: Shared libraries
ii  libcpufreq0               005-1          shared library to deal with the cp
ii  libdbus-1-3               1.2.16-2       simple interprocess messaging syst
ii  libdbus-glib-1-2          0.82-1         simple interprocess messaging syst
ii  libgconf2-4               2.26.2-3       GNOME configuration database syste
ii  libglib2.0-0              2.21.4-1       The GLib library of C routines
ii  libgnome-desktop-2-11     2.26.1-1       Utility library for loading .deskt
ii  libgnome2-0               2.26.0-1       The GNOME library - runtime files
ii  libgnomekbd3              2.26.0-1       GNOME library to manage keyboard c
ii  libgstreamer-plugins-base 0.10.24-1      GStreamer libraries from the "base
ii  libgstreamer0.10-0        0.10.24-1      Core GStreamer libraries and eleme
ii  libgtk2.0-0               2.17.8-1       The GTK+ graphical user interface 
ii  libgtop2-7                2.26.1-1       gtop system monitoring library
ii  libgucharmap7             1:2.26.2-1     Unicode browser widget library (sh
ii  libgweather1              2.26.1-1       GWeather shared library
ii  libhal1                   0.5.13-3       Hardware Abstraction Layer - share
ii  libnotify1 [libnotify1-gt 0.4.5-1        sends desktop notifications to a n
ii  liboobs-1-4               2.22.1-1       GObject based interface to system-
ii  libpanel-applet2-0        2.26.3-1       library for GNOME Panel applets
ii  libpango1.0-0             1.24.5-1+b1    Layout and rendering of internatio
ii  libpolkit-dbus2           0.9-4          library for accessing PolicyKit vi
ii  libpolkit2                0.9-4          library for accessing PolicyKit
ii  libwnck22                 2.26.1-1       Window Navigator Construction Kit 
ii  libx11-6                  2:1.2.99.901-1 X11 client-side library
ii  libxklavier12             3.9-1          X Keyboard Extension high-level AP
ii  libxml2                   2.7.3.dfsg-2.1 GNOME XML library
ii  python                    2.5.4-3        An interactive high-level object-o

Versions of packages gnome-applets recommends:
ii  cpufrequtils                  005-1      utilities to deal with the cpufreq
pn  deskbar-applet                <none>     (no description available)
ii  gnome-media                   2.26.0-1   GNOME media utilities
ii  gnome-netstatus-applet        2.26.0-2   Network status applet for GNOME
pn  gnome-system-monitor          <none>     (no description available)
ii  policykit-gnome               0.9.2-2    GNOME dialogs for PolicyKit
ii  python-gnome2                 2.26.1-1   Python bindings for the GNOME desk

Versions of packages gnome-applets suggests:
pn  acpid                         <none>     (no description available)
pn  tomboy                        <none>     (no description available)

-- debconf information excluded






More information about the pkg-gnome-maintainers mailing list