Git Product home page Git Product logo

Comments (8)

jrvosse avatar jrvosse commented on July 20, 2024

from cliopatria.

w45yrtfgdfefrt avatar w45yrtfgdfefrt commented on July 20, 2024

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?

from cliopatria.

jrvosse avatar jrvosse commented on July 20, 2024

from cliopatria.

w45yrtfgdfefrt avatar w45yrtfgdfefrt commented on July 20, 2024

Which swi prolog version are you using?

https://packages.debian.org/jessie/swi-prolog

from cliopatria.

jrvosse avatar jrvosse commented on July 20, 2024

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

from cliopatria.

bghnjkjiu8y7utytg avatar bghnjkjiu8y7utytg commented on July 20, 2024

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?

from cliopatria.

jrvosse avatar jrvosse commented on July 20, 2024

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.

from cliopatria.

bghnjkjiu8y7utytg avatar bghnjkjiu8y7utytg commented on July 20, 2024

The variable was set to :0. Now it's working fine with no errors. Thank you for your help.

from cliopatria.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.