Closed w45yrtfgdfefrt closed 7 years ago
On 03/31/2017 10:02 AM, w45yrtfgdfefrt wrote:
but what I get is an endless, never halting, stream of errors like these
ERROR: ~/ClioPatria/config-enabled/debug.pl:48: nil: X-error X error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 25 (X_SendEvent) Minor opcode of failed request: 0
Something goes wrong with the X11 setup as debug.pl tries to set up a graphical editor in line 48.
how do I fix this?
This looks like you are trying to run Cliopatria on a remote *nix server without your environment variable DISPLAY properly set...
Does login with "ssh -X" help? If not, do other X11 applications work ok?
Hope this helps,
Jacco
Yeah I'm not using any desktop environment. Running ../ClioPatria/configure --without-debug
seems to fix the issue, although I still get errors for jQuery
ERROR: ~/ClioPatria/lib/http/cp_jquery.pl:33:
source_sink `library(http/jquery)' does not exist
Warning: ~/ClioPatria/lib/http/cp_jquery.pl:33:
Goal (directive) failed: cp_jquery:use_module(library(http/jquery))
ERROR: ~/ClioPatria/lib/http/cp_jquery.pl:36:
setting `version' does not exist
Warning: ~/ClioPatria/lib/http/cp_jquery.pl:36:
Goal (directive) failed: cp_jquery:set_setting(jquery:version,2.1.3.min)
Should I use ./daemon.pl
instead of ./run.pl
?
On 03/31/2017 12:19 PM, w45yrtfgdfefrt wrote:
Yeah I'm not using any desktop environment. Running
../ClioPatria/configure --without-debug
seems to fix the issue, although I still get errors for jQueryERROR: ~/ClioPatria/lib/http/cp_jquery.pl:33: source_sink `library(http/jquery)' does not exist
This looks like a different and unrelated problem. Which swi prolog version are you using? The file corresponding to library(http/jquery) file has been added in May 2015... My experience is that if you want to run ClioPatria, the swipl package of many linux distributions is too outdated. I would recommend installing you own, up to date version of swipl, or even compile yourself from git. See http://www.swi-prolog.org/Download.html for details.
Success,
Jacco
Which swi prolog version are you using?
check, that seems very old (v6.6.6 is eval anyway :-) I would strongly recommend switching to install your own, more recent version. Just take the devel version at http://www.swi-prolog.org/download/devel or compile from the git source https://github.com/SWI-Prolog/swipl-devel
recompiled everything, now have this
$ swipl --version
SWI-Prolog version 7.5.2 for x86_64-linux
and no jQuery errors anymore. Still get the same errors about X when configuring my project with debug on. Could you please close this issue?
I cannot reproduce your problem. Can you check if other X11 applications do work? You say you are not using any desktop environment, which is fine. But this still could mean that you want an X11 connection, but your X11 setup could be broken and you need to fix it. This you could check by running other X11 applications in the same shell you use to start ClioPatria. Or you do not want X11 and thus your DISPLAY environment variable should not be set. In that case, just "unset DISPLAY" in your shell should tell swipl to not even try to open an X11 connection.
The variable was set to :0
. Now it's working fine with no errors. Thank you for your help.
I've followed the installation instructions to install ClioPatria
but what I get is an endless, never halting, stream of errors like these
how do I fix this?