You are not logged in.

#1 2016-05-15 18:55:17

scindix
Member
From: Germany
Registered: 2013-05-07
Posts: 48
Website

[SOLVED] gnome-terminal won't start after update

Hi community,
Since one of the last updates gnome-terminal, tilda and playonlinux stopped working simultaneously.
Here is the output of
gnome-terminal

(process:5629): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached

I'm trying to solve the problems with gnome-terminal first. Maybe the issues with the other two apps will then vanish, too.
For the sake of completeness I'm appending the terminal output of the other two apps at the end as well. Maybe it helps. Everything I found on the internet and on this forum regarding my error messages were some locale related issues.
So I'm aware of these threads:
https://bbs.archlinux.org/viewtopic.php?id=180081
https://bbs.archlinux.org/viewtopic.php?id=180103

However I'm already using the official vte3 package, /etc/locale.conf exists and contains:

LANG=en_US.UTF-8

and I successfully ran 'sudo locale-gen' and 'sudo localectl set-locale LANG="en_US.UTF-8".

The outputs of localectl and locale are:

$ localectl
   System Locale: LANG=en_US.UTF-8
       VC Keymap: de
      X11 Layout: de,se
     X11 Variant: ,
$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES=C
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
$ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
es_US.utf8

The last one seems suspicious to me. Even if 'es_US' actually exists, it is definitely wrong. 'en_US' or 'en_GB' is what I want. So I issued 'sudo grep -Irnw '/' -e "es_US" . 2>/dev/null' to find the flawed file. But it found tons of files in various places. I don't really know where to look first. What also concerns me are the error messages of the type 'locale: Cannot set LC_XXX to default locale: No such file or directory' and that there are no locales listed under 'C' for 'locale -a'. What to do next? Am I even on the right track?
Ah, and reinstalling gnome-terminal, tilda or playonlinux didn't change anything.
Thanks in advance.

PS: These are the error messages of the other two apps that I haven't yet sorted out.
tilda

** (process:5725): WARNING **: Could not setup locale.

(tilda:5725): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
**
Vte:ERROR:vte.cc:2599:bool VteTerminalPrivate::set_background_alpha(double): assertion failed: (alpha >= 0. && alpha <= 1.)
Aborted (core dumped)

playonlinux

Looking for python... 3.5.1 - skipped
Looking for python2.7... 2.7.11 - wxversion(s): 3.0-gtk2
selected
[main] Message: PlayOnLinux (4.2.10) is starting
[clean_tmp] Message: Cleaning temp directory
[Check_OpenGL] Message: 32bits direct rendering is enabled
[Check_OpenGL] Message: 64bits direct rendering is enabled
[POL_System_CheckFS] Message: Checking filesystem for /home/<user>/.PlayOnLinux/
[main] Message: Filesystem is compatible
Traceback (most recent call last):
  File "mainwindow.py", line 1346, in <module>
    app = PlayOnLinuxApp(redirect=False)
  File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8628, in __init__
    self._BootstrapApp()
  File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8196, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "mainwindow.py", line 1162, in OnInit
    self.frame = MainWindow(None, -1, os.environ["APPLICATION_TITLE"])
  File "mainwindow.py", line 407, in __init__
    self.Reload(self)
  File "mainwindow.py", line 905, in Reload
    item = self.list_game.AppendItem(root, game, self.i)
  File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_controls.py", line 5449, in AppendItem
    return _controls_.TreeCtrl_AppendItem(*args, **kwargs)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 14: ordinal not in range(128)
[update_check] Message: Web version : 1463262682
[update_check] Message: Current local version : 1463060370
[update_check] Message: Updating list
[POL_Config_Write] Message: Config write: LAST_TIMESTAMP 1463262682


<POL crashes here>

Last edited by scindix (2016-05-22 12:41:27)

Offline

#2 2016-05-16 07:17:58

CesarSilence
Member
Registered: 2016-05-16
Posts: 2

Re: [SOLVED] gnome-terminal won't start after update

I have the same problem with Tilda.

 **
Vte:ERROR:vte.cc:2599:bool VteTerminalPrivate::set_background_alpha(double): assertion failed: (alpha >= 0. && alpha <= 1.)
Abortado (`core' generado)

Last edited by CesarSilence (2016-05-16 07:20:21)

Offline

#3 2016-05-16 10:59:03

scindix
Member
From: Germany
Registered: 2013-05-07
Posts: 48
Website

Re: [SOLVED] gnome-terminal won't start after update

I partly solved the problem now.
Before calling  'sudo locale-gen' I accidentally uncommented es_US.UTF-8 instead of en_US.UTF-8. I ran 'sudo locale-gen' and 'sudo localectl set-locale LANG="en_US.UTF-8"' again, set the correct language and region settings in gnome settings and restarted the session. Now gnome-terminal and playonlinux work again. Tilda still gives the same error message.

Offline

#4 2016-05-16 18:25:42

CesarSilence
Member
Registered: 2016-05-16
Posts: 2

Re: [SOLVED] gnome-terminal won't start after update

scindix wrote:

I partly solved the problem now.
Before calling  'sudo locale-gen' I accidentally uncommented es_US.UTF-8 instead of en_US.UTF-8. I ran 'sudo locale-gen' and 'sudo localectl set-locale LANG="en_US.UTF-8"' again, set the correct language and region settings in gnome settings and restarted the session. Now gnome-terminal and playonlinux work again. Tilda still gives the same error message.

I can use Tilda now, but I had to remove all the config files.

 #cd /home/cesar/.config/tilda/

#rm config_0

#tilda

Last edited by CesarSilence (2016-05-16 18:36:39)

Offline

#5 2016-05-22 12:40:25

scindix
Member
From: Germany
Registered: 2013-05-07
Posts: 48
Website

Re: [SOLVED] gnome-terminal won't start after update

CesarSilence wrote:

I can use Tilda now, but I had to remove all the config files.

Thanks that solved it for me, too.

Offline

Board footer

Powered by FluxBB