zhuyaliang / user-admin

GNU General Public License v3.0
27 stars 16 forks source link

no languages with fedora 30 #21

Closed raveit65 closed 5 years ago

raveit65 commented 5 years ago

For some reason user-admin doesn't find any language in fedora 30. Bildschirmfoto zu 2019-05-10 13-10-38

Issue doensn't exists in fedora 29, so i assume that something with languages was changed with f30 or a needed package is missing. How can i debug it?

zhuyaliang commented 5 years ago

@raveit65 I use mate_get_all_locales in mate-desktop/mate-languages.h to get all the languages supported by the system use act_user_get_langue in the accountsservice package to get the current language of the system.The /etc/locale.gen file is all the languages your system supports。

raveit65 commented 5 years ago

I don't have a /etc/locale.gen with f30/f29, only

[rave@mother ~]$ cat /etc/locale.conf 
LANG="de_DE.UTF-8"

I am using latest mate-desktop-1.23.0 which have mate_get_all_locales, accountsservice is installed and daemon is enabled.

[root@mother rave]# rpm -qa accountsservice*
accountsservice-libs-0.6.54-5.fc30.x86_64
accountsservice-devel-0.6.54-5.fc30.x86_64
accountsservice-0.6.54-5.fc30.x86_64
[root@mother rave]# systemctl list-unit-files
<cut>
accounts-daemon.service                      enabled
<cut>
zhuyaliang commented 5 years ago

@raveit65 See if there is a language available for in the'/usr /share/locale/'directory

raveit65 commented 5 years ago

Yes, there are laguages. E.g

[root@mother rave]# ls /usr/share/locale/de/LC_MESSAGES/
abrt.mo                         cups-pk-helper.mo         gimp20-script-fu.mo                    gstreamer-0.10.mo       iso_639-5.mo             knotifications5_qt.qm     libreport.mo                 mate-utils.mo                  plymouth.mo                system-config-users.mo
accounts-service.mo             dconf-editor.mo           gimp20-std-plug-ins.mo                 gstreamer-1.0.mo        iso_639_5.mo             kparts5.mo                libsecret.mo                 meld.mo                        policycoreutils.mo         systemd.mo
acl.mo                          devilspie.mo              gimp20-tips.mo                         gthumb.mo               iso_639.mo               kpty5.mo                  libsoup.mo                   metacity.mo                    polkit-1.mo                tar.mo
alsa-utils.mo                   diffutils.mo              gitg.mo                                gtk20.mo                json-glib-1.0.mo         kservice5.mo              libuser.mo                   minicom.mo                     popt.mo                    tilix.mo
anaconda.mo                     dnfdragora.mo             git.mo                                 gtk20-properties.mo     kaffeine.mo              ktextwidgets5.mo          libvirt-glib.mo              mit-krb5.mo                    psmisc.mo                  totem-pl-parser.mo
appstream-glib.mo               dnf.mo                    glib20.mo                              gtk30.mo                kauth5_qt.qm             kwalletd5.mo              libvirt.mo                   mlocate.mo                     pulseaudio.mo              tracker-miners.mo
appstream.mo                    dnf-plugins-core.mo       glib-networking.mo                     gtk30-properties.mo     kbd.mo                   kwallet-query.mo          libwnck-3.0.mo               ModemManager.mo                python-fedora.mo           tracker.mo
aspell.mo                       dos2unix.mo               gnome-abrt.mo                          gtk-engines.mo          kbookmarks5_qt.qm        kwidgetsaddons5_qt.qm     libwnck.mo                   mozo.mo                        python-meh.mo              transmission-gtk.mo
atk10.mo                        e2fsprogs.mo              gnome-bluetooth2.mo                    gtksourceview-3.0.mo    kcodecs5_qt.qm           kwindowsystem5_qt.qm      libxfce4ui.mo                mutter.mo                      python-simpleline.mo       udisks2.mo
atril.mo                        elfutils.mo               gnome-control-center-2.0.mo            gtksourceview-4.mo      kcompletion5_qt.qm       kxmlgui5.mo               libxfce4util.mo              nano.mo                        quota.mo                   usermode.mo
at-spi2-core.mo                 elinks.mo                 gnome-control-center-2.0-timezones.mo  gtkspell3.mo            kconfig5_qt.qm           ld.mo                     lightdm.mo                   nautilus.mo                    realmd.mo                  util-linux.mo
attr.mo                         emerald.mo                gnome-desktop-3.0.mo                   gtkspell.mo             kconfigwidgets5.mo       libbytesize.mo            lightdm-settings.mo          neon.mo                        recode.mo                  vino.mo
authselect.mo                   engrampa.mo               gnome-disk-utility.mo                  gtk-vnc.mo              kcoreaddons5_qt.qm       libc.mo                   Linux-PAM.mo                 net-tools.mo                   redhat-menus.mo            virt-manager.mo
avahi.mo                        eom.mo                    gnome-keyring.mo                       gucharmap.mo            kdbusaddons5_qt.qm       libdnf.mo                 lrzsz.mo                     NetworkManager-iodine.mo       rpm.mo                     virt-viewer.mo
bash.mo                         evolution-data-server.mo  gnome-logs.mo                          gutenprint.mo           kdnssd5_qt.qm            libdvbv5.mo               make.mo                      NetworkManager-l2tp.mo         rygel.mo                   vlc.mo
blivet.mo                       exaile.mo                 gnome-menus.mo                         gvfs.mo                 kdoctools5.mo            libexif-12.mo             man-db-gnulib.mo             NetworkManager-libreswan.mo    sane-backends.mo           volume_key.mo
blueberry.mo                    exiv2.mo                  gnome-online-accounts.mo               hddtemp.mo              kdump-anaconda-addon.mo  libexif-gtk-5.mo          man-db.mo                    NetworkManager.mo              seahorse-caja.mo           vte-2.91.mo
brltty.mo                       exo-1.mo                  gnome-session-3.0.mo                   hexchat.mo              kfileaudiopreview5.mo    libgnomekbd.mo            marco.mo                     NetworkManager-openconnect.mo  seahorse.mo                WebKit2GTK-4.0.mo
caja-actions.mo                 filezilla.mo              gnome-settings-daemon.mo               hunspell.mo             kglobalaccel5_qt.qm      libgnome-keyring.mo       mate-applets.mo              NetworkManager-openvpn.mo      sed.mo                     wget.mo
caja-extensions.mo              findutils.mo              gnome-shell-extensions.mo              ibus10.mo               khtml5.mo                libgovirt.mo              mate-backgrounds.mo          NetworkManager-pptp.mo         selinux-python.mo          whois.mo
caja.mo                         firewalld.mo              gnome-shell.mo                         ibus-m17n.mo            ki18n5.mo                libgpg-error.mo           mate-calc.mo                 NetworkManager-ssh.mo          setroubleshoot.mo          wxstd3.mo
ccsm.mo                         flatpak.mo                gnote.mo                               ibus-typing-booster.mo  kiconthemes5.mo          libgphoto2-6.mo           mate-control-center.mo       NetworkManager-sstp.mo         setroubleshoot-plugins.mo  xdg-desktop-portal-gtk.mo
cheese.mo                       fprintd.mo                gnupg2.mo                              im-chooser.mo           kinit5.mo                libgphoto2_port-12.mo     mate-desktop.mo              NetworkManager-strongswan.mo   shadow.mo                  xdg-desktop-portal.mo
chkconfig.mo                    gawk.mo                   gnutls.mo                              imsettings.mo           kio5_activities.mo       libgsf.mo                 mate-media.mo                NetworkManager-vpnc.mo         simple-ccsm.mo             xdg-user-dirs-gtk.mo
clutter-1.0.mo                  gcc.mo                    gparted.mo                             initial-setup.mo        kio5_archive.mo          libgtop.mo                mate-menu.mo                 newt.mo                        simple-scan.mo             xdg-user-dirs.mo
cogl.mo                         GConf2.mo                 gprof.mo                               initscripts.mo          kio5_bookmarks.mo        libgweather-3.0.mo        mate-menus.mo                nm-applet.mo                   slick-greeter.mo           xfburn.mo
colord.mo                       gcr.mo                    grep.mo                                inkscape.mo             kio5_fish.mo             libgweather-locations.mo  mate-notification-daemon.mo  opcodes.mo                     solid5_qt.qm               xfconf.mo
compiz.mo                       gdata.mo                  grilo.mo                               iptc.mo                 kio5_info.mo             libidn2.mo                mate-panel.mo                openconnect.mo                 sonnet5_qt.qm              xfsprogs.mo
compiz-plugins-experimental.mo  gdbm.mo                   grub.mo                                iso_15924.mo            kio5_man.mo              libidn.mo                 mate-polkit.mo               orca.mo                        sos.mo                     xkeyboard-config.mo
compiz-plugins-extra.mo         gdk-pixbuf.mo             gsettings-desktop-schemas.mo           iso_3166-1.mo           kio5.mo                  libiptcdata.mo            mate-power-manager.mo        osinfo-db-tools.mo             sp5.mo                     xz.mo
compiz-plugins-main.mo          gdm.mo                    gspell-1.mo                            iso_3166-2.mo           kio5_mtp.mo              libmatekbd.mo             mate-screensaver.mo          pam_krb5.mo                    speech-dispatcher.mo       yelp.mo
coreutils.mo                    gedit.mo                  gst-plugins-bad-0.10.mo                iso_3166_2.mo           kio5_nfs.mo              libmatemixer.mo           mate-sensors-applet.mo       parole.mo                      spice-gtk.mo               yumex-dnf.mo
cpio.mo                         gegl-0.4.mo               gst-plugins-bad-1.0.mo                 iso_3166-3.mo           kio5_recentdocuments.mo  libmateweather.mo         mate-session-manager.mo      parted.mo                      sssd.mo                    zenity.mo
cpplib.mo                       gettext-runtime.mo        gst-plugins-base-0.10.mo               iso_3166.mo             kio5_sftp.mo             libmypaint.mo             mate-settings-daemon.mo      passwd.mo                      subversion.mo              zvbi.mo
cpupower.mo                     gettext-tools.mo          gst-plugins-base-1.0.mo                iso_4217.mo             kio5_smb.mo              libosinfo.mo              mate-system-monitor.mo       pavucontrol.mo                 sudoers.mo
cracklib.mo                     gimp20-libgimp.mo         gst-plugins-good-0.10.mo               iso_639-2.mo            kio5_thumbnail.mo        libpaper.mo               mate-terminal.mo             phodav-2.0.mo                  sudo.mo
cryptsetup.mo                   gimp20.mo                 gst-plugins-good-1.0.mo                iso_639-3.mo            kitemviews5_qt.qm        libpeas.mo                mate-user-admin.mo           pinfo.mo                       system-config-language.mo
cryptui.mo                      gimp20-python.mo          gst-plugins-ugly-1.0.mo                iso_639_3.mo            kjobwidgets5_qt.qm       libpwquality.mo           mate-user-guide.mo           pluma.mo                       system-config-printer.mo
[root@mother rave]# 

or

[root@mother rave]# ls /usr/share/locale/zh_CN/LC_MESSAGES/
abrt.mo                         diffutils.mo              glib-networking.mo                     gtk30-properties.mo     kcompletion5_qt.qm       ld.mo                     marco.mo                       newt.mo                    sssd.mo
accounts-service.mo             dnfdragora.mo             gnome-abrt.mo                          gtk-engines.mo          kconfig5_qt.qm           libbytesize.mo            mate-applets.mo                nm-applet.mo               subversion.mo
anaconda.mo                     dnf.mo                    gnome-bluetooth2.mo                    gtksourceview-3.0.mo    kconfigwidgets5.mo       libdnf.mo                 mate-backgrounds.mo            opcodes.mo                 sudoers.mo
appstream-glib.mo               dnf-plugins-core.mo       gnome-control-center-2.0.mo            gtksourceview-4.mo      kcoreaddons5_qt.qm       libexif-12.mo             mate-calc.mo                   openconnect.mo             sudo.mo
appstream.mo                    dos2unix.mo               gnome-control-center-2.0-timezones.mo  gtkspell3.mo            kdbusaddons5_qt.qm       libgnomekbd.mo            mate-control-center.mo         orca.mo                    system-config-language.mo
aspell.mo                       e2fsprogs.mo              gnome-desktop-3.0.mo                   gtkspell.mo             kdnssd5_qt.qm            libgnome-keyring.mo       mate-desktop.mo                osinfo-db-tools.mo         system-config-printer.mo
atk10.mo                        emerald.mo                gnome-disk-utility.mo                  gtk-vnc.mo              kdoctools5.mo            libgovirt.mo              mate-media.mo                  pam_krb5.mo                system-config-users.mo
atril.mo                        engrampa.mo               gnome-keyring.mo                       gucharmap.mo            kdump-anaconda-addon.mo  libgpg-error.mo           mate-menu.mo                   parole.mo                  systemd.mo
at-spi2-core.mo                 eom.mo                    gnome-logs.mo                          gutenprint.mo           kfileaudiopreview5.mo    libgphoto2-6.mo           mate-menus.mo                  parted.mo                  tar.mo
authselect.mo                   evolution-data-server.mo  gnome-menus.mo                         gvfs.mo                 kglobalaccel5_qt.qm      libgphoto2_port-12.mo     mate-notification-daemon.mo    passwd.mo                  tilix.mo
avahi.mo                        exaile.mo                 gnome-online-accounts.mo               hexchat.mo              khtml5.mo                libgsf.mo                 mate-panel.mo                  pavucontrol.mo             totem-pl-parser.mo
bash.mo                         exo-1.mo                  gnome-session-3.0.mo                   ibus10.mo               ki18n5.mo                libgtop.mo                mate-polkit.mo                 pluma.mo                   tracker-miners.mo
bfd.mo                          filezilla.mo              gnome-settings-daemon.mo               ibus-hangul.mo          kiconthemes5.mo          libgweather-3.0.mo        mate-power-manager.mo          plymouth.mo                tracker.mo
binutils.mo                     findutils.mo              gnome-shell-extensions.mo              ibus-libpinyin.mo       kinit5.mo                libgweather-locations.mo  mate-screensaver.mo            policycoreutils.mo         transmission-gtk.mo
blivet-gui.mo                   firewalld.mo              gnome-shell.mo                         ibus-libzhuyin.mo       kio5_activities.mo       libidn2.mo                mate-sensors-applet.mo         polkit-1.mo                udisks2.mo
blivet.mo                       fontconfig-conf.mo        gnote.mo                               ibus-m17n.mo            kio5_archive.mo          libidn.mo                 mate-session-manager.mo        popt.mo                    usermode.mo
blueberry.mo                    fontconfig.mo             gnupg2.mo                              ibus-typing-booster.mo  kio5_bookmarks.mo        libmatekbd.mo             mate-settings-daemon.mo        psmisc.mo                  util-linux.mo
caja-actions.mo                 fprintd.mo                gnutls.mo                              im-chooser.mo           kio5_fish.mo             libmatemixer.mo           mate-system-monitor.mo         pulseaudio.mo              vino.mo
caja-extensions.mo              gas.mo                    gold.mo                                imsettings.mo           kio5_info.mo             libmateweather.mo         mate-terminal.mo               python-fedora.mo           virt-manager.mo
caja.mo                         gawk.mo                   gparted.mo                             initial-setup.mo        kio5_man.mo              libmypaint.mo             mate-user-admin.mo             python-meh.mo              virt-viewer.mo
ccsm.mo                         gcc.mo                    grep.mo                                initscripts.mo          kio5.mo                  libosinfo.mo              mate-user-guide.mo             python-simpleline.mo       vlc.mo
cheese.mo                       GConf2.mo                 grilo.mo                               inkscape.mo             kio5_mtp.mo              libpeas.mo                mate-utils.mo                  qemu.mo                    volume_key.mo
chkconfig.mo                    gcr.mo                    group-service.mo                       iso_15924.mo            kio5_nfs.mo              libpwquality.mo           meld.mo                        realmd.mo                  vte-2.91.mo
clutter-1.0.mo                  gdata.mo                  grub.mo                                iso_3166-1.mo           kio5_recentdocuments.mo  libreport.mo              metacity.mo                    redhat-menus.mo            WebKit2GTK-4.0.mo
cluttergtk-1.0.mo               gdk-pixbuf.mo             gsettings-desktop-schemas.mo           iso_3166-2.mo           kio5_sftp.mo             libsecret.mo              mlocate.mo                     rpm.mo                     wget.mo
cogl.mo                         gdm.mo                    gspell-1.mo                            iso_3166_2.mo           kio5_smb.mo              libsoup.mo                mozo.mo                        rygel.mo                   whois.mo
colord.mo                       gedit.mo                  gst-plugins-bad-0.10.mo                iso_3166-3.mo           kio5_thumbnail.mo        libuser.mo                mutter.mo                      seahorse-caja.mo           wxstd3.mo
compiz.mo                       gegl-0.4.mo               gst-plugins-bad-1.0.mo                 iso_3166.mo             kitemviews5_qt.qm        libvirt-glib.mo           nano.mo                        seahorse.mo                xdg-desktop-portal-gtk.mo
compiz-plugins-experimental.mo  gettext-runtime.mo        gst-plugins-base-0.10.mo               iso_4217.mo             kjobwidgets5_qt.qm       libvirt.mo                nautilus.mo                    sed.mo                     xdg-desktop-portal.mo
compiz-plugins-extra.mo         gettext-tools.mo          gst-plugins-base-1.0.mo                iso_639-2.mo            knotifications5_qt.qm    libwnck-3.0.mo            neon.mo                        selinux-python.mo          xdg-user-dirs-gtk.mo
compiz-plugins-main.mo          gimp20-libgimp.mo         gst-plugins-good-0.10.mo               iso_639-3.mo            kparts5.mo               libwnck.mo                NetworkManager-l2tp.mo         setroubleshoot.mo          xdg-user-dirs.mo
coreutils.mo                    gimp20.mo                 gst-plugins-good-1.0.mo                iso_639_3.mo            kpty5.mo                 libxfce4ui.mo             NetworkManager-libreswan.mo    setroubleshoot-plugins.mo  xfburn.mo
cpio.mo                         gimp20-python.mo          gst-plugins-ugly-1.0.mo                iso_639.mo              kservice5.mo             libxfce4util.mo           NetworkManager.mo              shadow.mo                  xfconf.mo
cpplib.mo                       gimp20-script-fu.mo       gstreamer-0.10.mo                      json-glib-1.0.mo        ktextwidgets5.mo         lightdm.mo                NetworkManager-openconnect.mo  simple-ccsm.mo             xkeyboard-config.mo
cracklib.mo                     gimp20-std-plug-ins.mo    gstreamer-1.0.mo                       kaffeine.mo             kwalletd5.mo             lightdm-settings.mo       NetworkManager-openvpn.mo      simple-scan.mo             yelp.mo
cryptsetup.mo                   gimp20-tips.mo            gthumb.mo                              kauth5_qt.qm            kwallet-query.mo         Linux-PAM.mo              NetworkManager-pptp.mo         slick-greeter.mo           yumex-dnf.mo
cryptui.mo                      gitg.mo                   gtk20.mo                               kbd.mo                  kwidgetsaddons5_qt.qm    make.mo                   NetworkManager-ssh.mo          solid5_qt.qm               zenity.mo
cups-pk-helper.mo               git.mo                    gtk20-properties.mo                    kbookmarks5_qt.qm       kwindowsystem5_qt.qm     man-db-gnulib.mo          NetworkManager-sstp.mo         sonnet5_qt.qm
dconf-editor.mo                 glib20.mo                 gtk30.mo                               kcodecs5_qt.qm          kxmlgui5.mo              man-db.mo                 NetworkManager-vpnc.mo         sos.mo
[root@mother rave]# 

And many more.

zhuyaliang commented 5 years ago

@raveit65 Testing everything is good in my environment, so I need your help. I made a debug patch, mate-user-admin-add-log.patch. Please type this patch in the source code, then compile, run and select the language. At this time, a log file (/tmp/log-timestamp) will be generated in the /tmp directory. Please send me the generated log, and I will analyze the cause of the error based on this log file

zhuyaliang commented 5 years ago

patch.tar.gz

zhuyaliang commented 5 years ago

For example, view log files

ls /tmp/log-1557894758 -l
-rw-r--r-- 1 ll zhuyaliang 3298  5月 15 12:32 log-1557894758

I need this log-1557894758 file,

raveit65 commented 5 years ago

This happens if i click on the language button in main GUI window.

[root@mother rave]# cat /tmp/log-1557933153 
level:[debug]  message: Rave it user set language
level:[debug]  message: gtk_box_pack_start row No languages found
level:[debug]  message: add all locale lang
yetist commented 5 years ago

What is the locale -a results?

zhuyaliang commented 5 years ago

@raveit65 @yetist Please click on more buttons. If there is no language to choose from, it is the mate_get_all_locales function does not work. If that's the case, you can use this patch(new patch mate-user-admin-add-log-v1.patch patch-v1.tar.gz ), following the previous operation.From the log, we can confirm whether the problem is in the function mate_get_all_locales

raveit65 commented 5 years ago

What is the locale -a results?

.....a long list.

[rave@mother ~]$ locale -a
aa_DJ
aa_DJ.iso88591
aa_DJ.utf8
aa_ER
aa_ER@saaho
aa_ER.utf8
aa_ER.utf8@saaho
aa_ET
aa_ET.utf8
af_ZA
af_ZA.iso88591
af_ZA.utf8
agr_PE
agr_PE.utf8
ak_GH
ak_GH.utf8
am_ET
am_ET.utf8
an_ES
an_ES.iso885915
an_ES.utf8
anp_IN
anp_IN.utf8
ar_AE
ar_AE.iso88596
ar_AE.utf8
ar_BH
ar_BH.iso88596
ar_BH.utf8
ar_DZ
ar_DZ.iso88596
ar_DZ.utf8
ar_EG
ar_EG.iso88596
ar_EG.utf8
ar_IN
ar_IN.utf8
ar_IQ
ar_IQ.iso88596
ar_IQ.utf8
ar_JO
ar_JO.iso88596
ar_JO.utf8
ar_KW
ar_KW.iso88596
ar_KW.utf8
ar_LB
ar_LB.iso88596
ar_LB.utf8
ar_LY
ar_LY.iso88596
ar_LY.utf8
ar_MA
ar_MA.iso88596
ar_MA.utf8
ar_OM
ar_OM.iso88596
ar_OM.utf8
ar_QA
ar_QA.iso88596
ar_QA.utf8
ar_SA
ar_SA.iso88596
ar_SA.utf8
ar_SD
ar_SD.iso88596
ar_SD.utf8
ar_SS
ar_SS.utf8
ar_SY
ar_SY.iso88596
ar_SY.utf8
ar_TN
ar_TN.iso88596
ar_TN.utf8
ar_YE
ar_YE.iso88596
ar_YE.utf8
as_IN
as_IN.utf8
ast_ES
ast_ES.iso885915
ast_ES.utf8
ayc_PE
ayc_PE.utf8
az_AZ
az_AZ.utf8
az_IR
az_IR.utf8
be_BY
be_BY.cp1251
be_BY@latin
be_BY.utf8
be_BY.utf8@latin
bem_ZM
bem_ZM.utf8
ber_DZ
ber_DZ.utf8
ber_MA
ber_MA.utf8
bg_BG
bg_BG.cp1251
bg_BG.utf8
bhb_IN.utf8
bho_IN
bho_IN.utf8
bho_NP
bho_NP.utf8
bi_VU
bi_VU.utf8
bn_BD
bn_BD.utf8
bn_IN
bn_IN.utf8
bo_CN
bo_CN.utf8
bo_IN
bo_IN.utf8
bokmal
br_FR
br_FR@euro
br_FR.iso88591
br_FR.iso885915@euro
br_FR.utf8
brx_IN
brx_IN.utf8
bs_BA
bs_BA.iso88592
bs_BA.utf8
byn_ER
byn_ER.utf8
C
ca_AD
ca_AD.iso885915
ca_AD.utf8
ca_ES
ca_ES@euro
ca_ES.iso88591
ca_ES.iso885915@euro
ca_ES.utf8
ca_ES.utf8@valencia
ca_ES@valencia
ca_FR
ca_FR.iso885915
ca_FR.utf8
ca_IT
ca_IT.iso885915
ca_IT.utf8
catalan
ce_RU
ce_RU.utf8
chr_US
chr_US.utf8
cmn_TW
cmn_TW.utf8
crh_UA
crh_UA.utf8
croatian
csb_PL
csb_PL.utf8
cs_CZ
cs_CZ.iso88592
cs_CZ.utf8
C.utf8
cv_RU
cv_RU.utf8
cy_GB
cy_GB.iso885914
cy_GB.utf8
czech
da_DK
da_DK.iso88591
da_DK.iso885915
da_DK.utf8
danish
dansk
de_AT
de_AT@euro
de_AT.iso88591
de_AT.iso885915@euro
de_AT.utf8
de_BE
de_BE@euro
de_BE.iso88591
de_BE.iso885915@euro
de_BE.utf8
de_CH
de_CH.iso88591
de_CH.utf8
de_DE
de_DE@euro
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
de_IT
de_IT.iso88591
de_IT.utf8
de_LI.utf8
de_LU
de_LU@euro
de_LU.iso88591
de_LU.iso885915@euro
de_LU.utf8
deutsch
doi_IN
doi_IN.utf8
dsb_DE
dsb_DE.utf8
dutch
dv_MV
dv_MV.utf8
dz_BT
dz_BT.utf8
eesti
el_CY
el_CY.iso88597
el_CY.utf8
el_GR
el_GR@euro
el_GR.iso88597
el_GR.iso88597@euro
el_GR.utf8
en_AG
en_AG.utf8
en_AU
en_AU.iso88591
en_AU.utf8
en_BW
en_BW.iso88591
en_BW.utf8
en_CA
en_CA.iso88591
en_CA.utf8
en_DK
en_DK.iso88591
en_DK.utf8
en_GB
en_GB.iso88591
en_GB.iso885915
en_GB.utf8
en_HK
en_HK.iso88591
en_HK.utf8
en_IE
en_IE@euro
en_IE.iso88591
en_IE.iso885915@euro
en_IE.utf8
en_IL
en_IL.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ
en_NZ.iso88591
en_NZ.utf8
en_PH
en_PH.iso88591
en_PH.utf8
en_SC.utf8
en_SG
en_SG.iso88591
en_SG.utf8
en_US
en_US.iso88591
en_US.iso885915
en_US.utf8
en_ZA
en_ZA.iso88591
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW
en_ZW.iso88591
en_ZW.utf8
eo
eo.utf8
es_AR
es_AR.iso88591
es_AR.utf8
es_BO
es_BO.iso88591
es_BO.utf8
es_CL
es_CL.iso88591
es_CL.utf8
es_CO
es_CO.iso88591
es_CO.utf8
es_CR
es_CR.iso88591
es_CR.utf8
es_CU
es_CU.utf8
es_DO
es_DO.iso88591
es_DO.utf8
es_EC
es_EC.iso88591
es_EC.utf8
es_ES
es_ES@euro
es_ES.iso88591
es_ES.iso885915@euro
es_ES.utf8
es_GT
es_GT.iso88591
es_GT.utf8
es_HN
es_HN.iso88591
es_HN.utf8
es_MX
es_MX.iso88591
es_MX.utf8
es_NI
es_NI.iso88591
es_NI.utf8
es_PA
es_PA.iso88591
es_PA.utf8
es_PE
es_PE.iso88591
es_PE.utf8
es_PR
es_PR.iso88591
es_PR.utf8
es_PY
es_PY.iso88591
es_PY.utf8
es_SV
es_SV.iso88591
es_SV.utf8
estonian
es_US
es_US.iso88591
es_US.utf8
es_UY
es_UY.iso88591
es_UY.utf8
es_VE
es_VE.iso88591
es_VE.utf8
et_EE
et_EE.iso88591
et_EE.iso885915
et_EE.utf8
eu_ES
eu_ES@euro
eu_ES.iso88591
eu_ES.iso885915@euro
eu_ES.utf8
fa_IR
fa_IR.utf8
ff_SN
ff_SN.utf8
fi_FI
fi_FI@euro
fi_FI.iso88591
fi_FI.iso885915@euro
fi_FI.utf8
fil_PH
fil_PH.utf8
finnish
fo_FO
fo_FO.iso88591
fo_FO.utf8
fr_BE
fr_BE@euro
fr_BE.iso88591
fr_BE.iso885915@euro
fr_BE.utf8
fr_CA
fr_CA.iso88591
fr_CA.utf8
fr_CH
fr_CH.iso88591
fr_CH.utf8
french
fr_FR
fr_FR@euro
fr_FR.iso88591
fr_FR.iso885915@euro
fr_FR.utf8
fr_LU
fr_LU@euro
fr_LU.iso88591
fr_LU.iso885915@euro
fr_LU.utf8
fur_IT
fur_IT.utf8
fy_DE
fy_DE.utf8
fy_NL
fy_NL.utf8
ga_IE
ga_IE@euro
ga_IE.iso88591
ga_IE.iso885915@euro
ga_IE.utf8
galego
galician
gd_GB
gd_GB.iso885915
gd_GB.utf8
german
gez_ER
gez_ER@abegede
gez_ER.utf8
gez_ER.utf8@abegede
gez_ET
gez_ET@abegede
gez_ET.utf8
gez_ET.utf8@abegede
gl_ES
gl_ES@euro
gl_ES.iso88591
gl_ES.iso885915@euro
gl_ES.utf8
greek
gu_IN
gu_IN.utf8
gv_GB
gv_GB.iso88591
gv_GB.utf8
hak_TW
hak_TW.utf8
ha_NG
ha_NG.utf8
hebrew
he_IL
he_IL.iso88598
he_IL.utf8
hif_FJ
hif_FJ.utf8
hi_IN
hi_IN.utf8
hne_IN
hne_IN.utf8
hr_HR
hr_HR.iso88592
hr_HR.utf8
hrvatski
hsb_DE
hsb_DE.iso88592
hsb_DE.utf8
ht_HT
ht_HT.utf8
hu_HU
hu_HU.iso88592
hu_HU.utf8
hungarian
hy_AM
hy_AM.armscii8
hy_AM.utf8
ia_FR
ia_FR.utf8
icelandic
id_ID
id_ID.iso88591
id_ID.utf8
ig_NG
ig_NG.utf8
ik_CA
ik_CA.utf8
is_IS
is_IS.iso88591
is_IS.utf8
italian
it_CH
it_CH.iso88591
it_CH.utf8
it_IT
it_IT@euro
it_IT.iso88591
it_IT.iso885915@euro
it_IT.utf8
iu_CA
iu_CA.utf8
ja_JP
ja_JP.eucjp
ja_JP.ujis
ja_JP.utf8
japanese
japanese.euc
kab_DZ
kab_DZ.utf8
ka_GE
ka_GE.georgianps
ka_GE.utf8
kk_KZ
kk_KZ.pt154
kk_KZ.utf8
kl_GL
kl_GL.iso88591
kl_GL.utf8
km_KH
km_KH.utf8
kn_IN
kn_IN.utf8
kok_IN
kok_IN.utf8
ko_KR
ko_KR.euckr
ko_KR.utf8
korean
korean.euc
ks_IN
ks_IN@devanagari
ks_IN.utf8
ks_IN.utf8@devanagari
ku_TR
ku_TR.iso88599
ku_TR.utf8
kw_GB
kw_GB.iso88591
kw_GB.utf8
ky_KG
ky_KG.utf8
lb_LU
lb_LU.utf8
lg_UG
lg_UG.iso885910
lg_UG.utf8
li_BE
li_BE.utf8
lij_IT
lij_IT.utf8
li_NL
li_NL.utf8
lithuanian
ln_CD
ln_CD.utf8
lo_LA
lo_LA.utf8
lt_LT
lt_LT.iso885913
lt_LT.utf8
lv_LV
lv_LV.iso885913
lv_LV.utf8
lzh_TW
lzh_TW.utf8
mag_IN
mag_IN.utf8
mai_IN
mai_IN.utf8
mai_NP
mai_NP.utf8
mfe_MU
mfe_MU.utf8
mg_MG
mg_MG.iso885915
mg_MG.utf8
mhr_RU
mhr_RU.utf8
mi_NZ
mi_NZ.iso885913
mi_NZ.utf8
miq_NI
miq_NI.utf8
mjw_IN
mjw_IN.utf8
mk_MK
mk_MK.iso88595
mk_MK.utf8
ml_IN
ml_IN.utf8
mni_IN
mni_IN.utf8
mn_MN
mn_MN.utf8
mr_IN
mr_IN.utf8
ms_MY
ms_MY.iso88591
ms_MY.utf8
mt_MT
mt_MT.iso88593
mt_MT.utf8
my_MM
my_MM.utf8
nan_TW
nan_TW@latin
nan_TW.utf8
nan_TW.utf8@latin
nb_NO
nb_NO.iso88591
nb_NO.utf8
nds_DE
nds_DE.utf8
nds_NL
nds_NL.utf8
ne_NP
ne_NP.utf8
nhn_MX
nhn_MX.utf8
niu_NU
niu_NU.utf8
niu_NZ
niu_NZ.utf8
nl_AW
nl_AW.utf8
nl_BE
nl_BE@euro
nl_BE.iso88591
nl_BE.iso885915@euro
nl_BE.utf8
nl_NL
nl_NL@euro
nl_NL.iso88591
nl_NL.iso885915@euro
nl_NL.utf8
nn_NO
nn_NO.iso88591
nn_NO.utf8
no_NO
no_NO.ISO-8859-1
norwegian
nr_ZA
nr_ZA.utf8
nso_ZA
nso_ZA.utf8
nynorsk
oc_FR
oc_FR.iso88591
oc_FR.utf8
om_ET
om_ET.utf8
om_KE
om_KE.iso88591
om_KE.utf8
or_IN
or_IN.utf8
os_RU
os_RU.utf8
pa_IN
pa_IN.utf8
pap_AW
pap_AW.utf8
pap_CW
pap_CW.utf8
pa_PK
pa_PK.utf8
pl_PL
pl_PL.iso88592
pl_PL.utf8
polish
portuguese
POSIX
ps_AF
ps_AF.utf8
pt_BR
pt_BR.iso88591
pt_BR.utf8
pt_PT
pt_PT@euro
pt_PT.iso88591
pt_PT.iso885915@euro
pt_PT.utf8
quz_PE
quz_PE.utf8
raj_IN
raj_IN.utf8
romanian
ro_RO
ro_RO.iso88592
ro_RO.utf8
ru_RU
ru_RU.iso88595
ru_RU.koi8r
ru_RU.utf8
russian
ru_UA
ru_UA.koi8u
ru_UA.utf8
rw_RW
rw_RW.utf8
sah_RU
sah_RU.utf8
sa_IN
sa_IN.utf8
sat_IN
sat_IN.utf8
sc_IT
sc_IT.utf8
sd_IN
sd_IN@devanagari
sd_IN.utf8
sd_IN.utf8@devanagari
se_NO
se_NO.utf8
sgs_LT
sgs_LT.utf8
shn_MM
shn_MM.utf8
shs_CA
shs_CA.utf8
sid_ET
sid_ET.utf8
si_LK
si_LK.utf8
sk_SK
sk_SK.iso88592
sk_SK.utf8
slovak
slovene
slovenian
sl_SI
sl_SI.iso88592
sl_SI.utf8
sm_WS
sm_WS.utf8
so_DJ
so_DJ.iso88591
so_DJ.utf8
so_ET
so_ET.utf8
so_KE
so_KE.iso88591
so_KE.utf8
so_SO
so_SO.iso88591
so_SO.utf8
spanish
sq_AL
sq_AL.iso88591
sq_AL.utf8
sq_MK
sq_MK.utf8
sr_ME
sr_ME.utf8
sr_RS
sr_RS@latin
sr_RS.utf8
sr_RS.utf8@latin
ss_ZA
ss_ZA.utf8
st_ZA
st_ZA.iso88591
st_ZA.utf8
sv_FI
sv_FI@euro
sv_FI.iso88591
sv_FI.iso885915@euro
sv_FI.utf8
sv_SE
sv_SE.iso88591
sv_SE.iso885915
sv_SE.utf8
swedish
sw_KE
sw_KE.utf8
sw_TZ
sw_TZ.utf8
szl_PL
szl_PL.utf8
ta_IN
ta_IN.utf8
ta_LK
ta_LK.utf8
tcy_IN.utf8
te_IN
te_IN.utf8
tg_TJ
tg_TJ.koi8t
tg_TJ.utf8
thai
the_NP
the_NP.utf8
th_TH
th_TH.tis620
th_TH.utf8
ti_ER
ti_ER.utf8
ti_ET
ti_ET.utf8
tig_ER
tig_ER.utf8
tk_TM
tk_TM.utf8
tl_PH
tl_PH.iso88591
tl_PH.utf8
tn_ZA
tn_ZA.utf8
to_TO
to_TO.utf8
tpi_PG
tpi_PG.utf8
tr_CY
tr_CY.iso88599
tr_CY.utf8
tr_TR
tr_TR.iso88599
tr_TR.utf8
ts_ZA
ts_ZA.utf8
tt_RU
tt_RU@iqtelif
tt_RU.utf8
tt_RU.utf8@iqtelif
turkish
ug_CN
ug_CN.utf8
uk_UA
uk_UA.koi8u
uk_UA.utf8
unm_US
unm_US.utf8
ur_IN
ur_IN.utf8
ur_PK
ur_PK.utf8
uz_UZ
uz_UZ@cyrillic
uz_UZ.iso88591
uz_UZ.utf8
uz_UZ.utf8@cyrillic
ve_ZA
ve_ZA.utf8
vi_VN
vi_VN.utf8
wa_BE
wa_BE@euro
wa_BE.iso88591
wa_BE.iso885915@euro
wa_BE.utf8
wae_CH
wae_CH.utf8
wal_ET
wal_ET.utf8
wo_SN
wo_SN.utf8
xh_ZA
xh_ZA.iso88591
xh_ZA.utf8
yi_US
yi_US.cp1255
yi_US.utf8
yo_NG
yo_NG.utf8
yue_HK
yue_HK.utf8
yuw_PG
yuw_PG.utf8
zh_CN
zh_CN.gb18030
zh_CN.gb2312
zh_CN.gbk
zh_CN.utf8
zh_HK
zh_HK.big5hkscs
zh_HK.utf8
zh_SG
zh_SG.gb2312
zh_SG.gbk
zh_SG.utf8
zh_TW
zh_TW.big5
zh_TW.euctw
zh_TW.utf8
zu_ZA
zu_ZA.iso88591
zu_ZA.utf8
[rave@mother ~]$ 
raveit65 commented 5 years ago

Please click on more buttons.

Bildschirmfoto zu 2019-05-16 12-32-44 Typing de or german or deutsch or any other language doesn't give me any result. And no more hints in log.

raveit65 commented 5 years ago

Build failed with second patch.

[14/15] cc -Isrc/25a6634@@mate-user-admin@exe -Isrc -I../src -I. -I../ -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/accountsservice-1.0 -I/usr/include/group-service-1.0 -I/usr/include/mate-desktop-2.0 -I/usr/include/startup-notification-1.0 -I/usr/include/dconf -I/usr/include/polkit-1 -I/builddir/build/BUILD/user-admin-1.4.1/x86_64-redhat-linux-gnu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -DHAVE_CONFIG_H -fstack-protector-strong -g -Waggregate-return -Warray-bounds -Wcast-align -Wclobbered -Wdeclaration-after-statement -Wempty-body -Wextra -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-signedness -Wignored-qualifiers -Wimplicit-function-declaration -Winit-self -Winline -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-parameter-type -Wmissing-prototypes -Wnested-externs -Wno-discarded-qualifiers -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-suggest-attribute=format -Wno-unused-parameter -Wold-style-definition -Woverride-init -Wpacked -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wswitch-default -Wtype-limits -Wundef -Wuninitialized -Wunused-but-set-variable -Wwrite-strings -O2 -g -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -MD -MQ 'src/25a6634@@mate-user-admin@exe/user-group.c.o' -MF 'src/25a6634@@mate-user-admin@exe/user-group.c.o.d' -o 'src/25a6634@@mate-user-admin@exe/user-group.c.o' -c ../src/user-group.c
ninja: build stopped: subcommand failed.
error: Bad exit status from /var/tmp/rpm-tmp.MKs3LM (%build)

Full log: https://www.dropbox.com/s/sob2ek0id67i4qg/build-log-m-u-a?dl=0

zhuyaliang commented 5 years ago

@raveit65 The patch is missing a comma. I have modified it. Please use this patch( add-log-v2.tar.gz ).If something like mate_get_all_locales-> 0 No available language appears in the generated log, it's definitely a mate_get_all_locales problem.What version of mate-desktopdo you use?

raveit65 commented 5 years ago

Omg,

level:[debug]  message: Rave it user set language
level:[debug]  message: gtk_box_pack_start row No languages found
level:[debug]  message: add all locale lang
level:[warning]  message: mate_get_all_locales ->0 No available language
level:[debug]  message: label_own_lang->English (United States) label_current_lang->Englisch (Vereinigte Staaten) label_untranslated->English (United States)
level:[debug]  message: label_own_lang->English (United Kingdom) label_current_lang->Englisch (Vereinigtes Königreich) label_untranslated->English (United Kingdom)
level:[debug]  message: label_own_lang->Deutsch (Deutschland) label_current_lang->Deutsch (Deutschland) label_untranslated->German (Germany)
level:[debug]  message: label_own_lang->Français (France) label_current_lang->Französisch (Frankreich) label_untranslated->French (France)
level:[debug]  message: label_own_lang->Español (España) label_current_lang->Spanisch (Kastilisch) (Spanien) label_untranslated->Spanish (Spain)
level:[debug]  message: label_own_lang->汉语 (中国) label_current_lang->Chinesisch (China) label_untranslated->Chinese (China)
level:[debug]  message: label_own_lang->日本語 (日本) label_current_lang->Japanisch (Japan) label_untranslated->Japanese (Japan)
level:[debug]  message: label_own_lang->Русский (Российская Федерация) label_current_lang->Russisch (Russische Föderation) label_untranslated->Russian (Russian Federation)
level:[debug]  message: label_own_lang->العربية (مصر) label_current_lang->Arabisch (Ägypten) label_untranslated->Arabic (Egypt)

So the problem is caused by mate_get_all_locales. I am using mate-desktop-1.23.0 which is master.

[root@mother rave]# rpm -qa mate-desktop
mate-desktop-1.23.0-1.fc30.x86_64

I tested a fresh f30 installation from Mate-Compiz spin (mate-desktop-1.22.0-3.fc30.x86_64) and i couldn't reproduce the issue, which is good. So no other fedora user is affected. Released mate-desktop-1.22.1 is fine too. So, the issue is in master or my local installation has a problem.

zhuyaliang commented 5 years ago

@raveit65 @yetist In the next version 1.4.2, I'm going to add the logging function, so that I can quickly lock the problem in case of a problem. How do you feel about this idea?In addition, I intend to add a configuration file, such as /etc/mate-user-admin/user-group-list, which read to add a new user's group when creating a new user.

raveit65 commented 5 years ago

I could track down the culprit commit with using git biscet in mate-desktop master branch.

[rave@f30 mate-desktop]$ git bisect bad
92dd65c5530cf5a530e21a9a7ef91bc265985554 is the first bad commit
commit 92dd65c5530cf5a530e21a9a7ef91bc265985554
Author: Marty E. Plummer <hanetzer@startmail.com>
Date:   Sun Mar 24 20:20:56 2019 -0500

    i18n: port from intltool to gettext

    Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>

:100644 100644 4cb9c4f3044d9353f9dea281938f140c2fc06b2f 0009be17ef73f9c3029bc058c07068aaff5454d3 M  Makefile.am
:100644 100644 3d9fd0fbe208a35a6f5b91974d7d18becf7a169c 384196d25efeb865d83394b2deb7028c93a54a24 M  configure.ac
:040000 040000 238c5dfb145113b8f312acdec6b2925a3361178b 7dcc7c95b5c4ce3691d04d89c967ba9d4b64cb3b M  mate-about
:040000 040000 aaa9425afa5f5441fc2404095d2561ae5bce1ef7 192a0234c8b815bdd507b6ed6cc40de9b57c0d9b M  po
:040000 040000 48f15d65f58515717d763d49dddf895b0ebaf9ad 98a9454c7bd350710721736e083c07c8c5b68980 M  schemas
:040000 040000 62d1d2a07751f5cfd5421bafff72b622eecb1c3d c0e520d73e9de4ca0c9185837715d06846c6aff0 M  tools

How do you feel about this idea?In addition, I intend to add a configuration file, such as /etc/mate-user-admin/user-group-list, which read to add a new user's group when creating a new user.

Good idea.

raveit65 commented 5 years ago

@zhuyaliang See https://github.com/mate-desktop/mate-desktop/pull/386 This fixes the issue with mate-desktop-1.23.0 for me.