You are not logged in.

#1 2020-02-02 06:02:53

SunnyFlopper
Member
Registered: 2020-02-02
Posts: 7

[Solved] Weechat error: cannot set locale; unable to load plugins

Hello, I'm trying to connect to irc for the first time & get this error upon opening weechat
         

│22:49:38 =!= | Warning: cannot set the locale; make sure $LANG and
│             | $LC_* variables are correct
│22:49:38 =!= | Error: unable to load plugin
│             | "/usr/lib/weechat/plugins/spell.so": libaspell.so.15:
│             | cannot open shared object file: No such file or
│             | directory
│22:49:38 =!= | If you're trying to load a script and not a C plugin,
│             | try command to load scripts (/perl, /python, ...)
│22:49:38 =!= | Error: unable to load plugin
│             | "/usr/lib/weechat/plugins/tcl.so": libtcl.so: cannot
│             | open shared object file: No such file or directory
│22:49:38 =!= | If you're trying to load a script and not a C plugin,
│             | try command to load scripts (/perl, /python, ...)
│22:49:38 =!= | Error: unable to load plugin
│             | "/usr/lib/weechat/plugins/ruby.so": libruby.so.2.7:
│             | cannot open shared object file: No such file or
│             | directory
│22:49:38 =!= | If you're trying to load a script and not a C plugin,
│             | try command to load scripts (/perl, /python, ...)
│22:49:38     | Plugins loaded: alias, buflist, charset, exec, fifo,
│             | fset, guile, irc, logger, lua, perl, python, relay,
│             | script, trigger, xfer


My locale.conf file contains the text:

LANG=en-US.UTF-8

are the "unable to load plugin" errors related to the locale issue?

Last edited by SunnyFlopper (2020-02-03 11:06:22)

Offline

#2 2020-02-02 08:13:18

SunnyFlopper
Member
Registered: 2020-02-02
Posts: 7

Re: [Solved] Weechat error: cannot set locale; unable to load plugins

I've managed to fix the locale error, Idk what exactly fixed the problem, I tried a couple things related to locale-gen, & running locale showed that it removed the problem, yet in weechat the problem still persisted, & even in another terminal running "locale" still showed error . Since "locale" worked in one terminal & not the other, I opted to re-boot & viola, the locale error was gone from weechat.

Yet I still have these "unable to load plugin" errors in weechat

Offline

#3 2020-02-02 09:43:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,811

Re: [Solved] Weechat error: cannot set locale; unable to load plugins

weechat has optional dependencies, read

pacman -Qi weechat

and also please wrap output like the above in [ code ] [ /code ] tags

Offline

#4 2020-02-03 10:33:57

SunnyFlopper
Member
Registered: 2020-02-02
Posts: 7

Re: [Solved] Weechat error: cannot set locale; unable to load plugins

Ah thanks alot m8. Are they important plugins? or can I ignore them until I would ever need them?

Offline

#5 2020-02-03 10:45:37

SunnyFlopper
Member
Registered: 2020-02-02
Posts: 7

Re: [Solved] Weechat error: cannot set locale; unable to load plugins

SunnyFlopper wrote:

Ah thanks alot m8. Are they important plugins? or can I ignore them until I would ever need them?

nvm, I re-read the previous reply & yes I see that they are optional. Thanks.

Offline

#6 2020-02-03 10:45:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,811

Re: [Solved] Weechat error: cannot set locale; unable to load plugins

They are for scripting things within weechat, if you never intend to write a script you won't need them.

And aspell is for spell checking.

FWIW if the locale warning is correct you will want to fix that regardless: https://wiki.archlinux.org/index.php/Locale

if this is [SOLVED] please edit the title in your first post.

Offline

#7 2020-02-04 06:29:44

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [Solved] Weechat error: cannot set locale; unable to load plugins

V1del wrote:

They are for scripting things within weechat, if you never intend to write a script you won't need them.

s/write a script/install a third-party script using the builtin script search-and-download tool/


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB