You are not logged in.

#1 2014-09-16 08:21:54

simendsjo
Member
Registered: 2012-09-27
Posts: 113

[SOLVED] Upgrade broke vim, tmux, j4-desktop (and perhaps more)

I just upgraded my systems, and now several strange things are happening.

I'm using powerline fonts in tmux and vim/gvim. In gvim, everything behaves normal, but in vim, the fonts are just plain broken. Typing space just writes Â.
The fonts are also just plain broken in the terminal - tmux doesn't show anything in the statusline at all, while the output is garbled in vim.

Trying to start j4-dmenu-desktop also gives an error:

j4-dmenu-desktop --dmenu="dmenu -p 'open' -i -z "                                 
SearchPath: /usr/share/applications/
SearchPath: /home/simendsjo/.local/share/applications/
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid
[1]    18502 abort (core dumped)  j4-dmenu-desktop --dmenu="dmenu -p 'open' -i -z "

I noticed the upgrade included glibc and openjdk among other things.

I don't even know where to start trying to figure this out. Any help would be greatly appreciated.

Last edited by simendsjo (2014-09-16 08:45:32)

Offline

#2 2014-09-16 08:26:15

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [SOLVED] Upgrade broke vim, tmux, j4-desktop (and perhaps more)

What is the output of `locale` and `locale -a`?

Offline

#3 2014-09-16 08:28:32

simendsjo
Member
Registered: 2012-09-27
Posts: 113

Re: [SOLVED] Upgrade broke vim, tmux, j4-desktop (and perhaps more)

Scimmia wrote:

What is the output of `locale` and `locale -a`?

$ locale                                               
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_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="en_US.UTF-8"
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_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
nb_NO.utf8

Offline

#4 2014-09-16 08:35:21

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [SOLVED] Upgrade broke vim, tmux, j4-desktop (and perhaps more)

well there you go, all of your locale settings are for en_US, but you only have nb_NO actually installed. See https://wiki.archlinux.org/index.php/Be … ide#Locale

Offline

#5 2014-09-16 08:45:18

simendsjo
Member
Registered: 2012-09-27
Posts: 113

Re: [SOLVED] Upgrade broke vim, tmux, j4-desktop (and perhaps more)

Scimmia wrote:

well there you go, all of your locale settings are for en_US, but you only have nb_NO actually installed. See https://wiki.archlinux.org/index.php/Be … ide#Locale

Thanks! That did the trick.

Offline

Board footer

Powered by FluxBB