You are not logged in.

#1 2017-06-04 12:35:11

navirana
Member
Registered: 2015-11-26
Posts: 4

[Solved] Gnuplot not working

So I have been trying to make gnuplot work, but it always hang. If I try to run gnuplot_qt it says:

This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Reinstalling the application may fix this problem.
[1]    3512 abort (core dumped)  gnuplot_qt

I have all the dependencies, it just couldn't find the xcb plugins, I even tried setting up QT_PLUGIN_PATH.
Any ideas? What to do?

Last edited by navirana (2017-06-05 04:54:35)

Offline

#2 2017-06-04 13:05:22

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: [Solved] Gnuplot not working

It seems to work for me. Can you try to set the terminal to x11:

GNUTERM=x11 gnuplot

I do not know much about gnuplot, but if the qt terminal fails it is likely that you miss some libraries, maybe libxcb? or qt5-base? Ensure that your system is up to date and check the dependency integrity (pacma -Dk).

Offline

#3 2017-06-04 13:11:56

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

Re: [Solved] Gnuplot not working

Afaik if xcb is needed that might also have some issues running within Wayland, so if you are on Wayland you might want to try and run a Xorg session instead

Offline

#4 2017-06-04 13:21:41

navirana
Member
Registered: 2015-11-26
Posts: 4

Re: [Solved] Gnuplot not working

I have all the dependencies, which one can check by

ldd /usr/lib/qt/plugins/platforms/libqxcb.so

which doesn't spits out any unmet dependencies.

Offline

#5 2017-06-05 04:52:58

navirana
Member
Registered: 2015-11-26
Posts: 4

Re: [Solved] Gnuplot not working

Never mind. I solved it. The problem was with the qt plugin directory. I had ovito installed for no reasons, which set the plugin directory to the ovito installation. Unistalling it
solved the problem.
I don't know why setting QT_PLUGIN_PATH didn't work though.

Offline

Board footer

Powered by FluxBB