[FATAL ERROR: Not a SWI-Prolog saved state]
Dear all,
I correctly installed knowrob and knowrob tutorials. (No warning and errors!) Following this question, http://answers.ros.org/question/47289... , I tried to run tutoria.launch, because I'm interested in quering ontology using Ros services. So I computed
roslaunch tutorial.launch
and I get
started roslaunch server http://192.168.10.11:40049/
SUMMARY
========
PARAMETERS
* /rosdistro
* /rosversion
NODES
/
json_prolog (rosprolog/run_with_prolog_env)
ROS_MASTER_URI=http://192.168.10.10:11311
core service [/rosout] found
process[json_prolog-1]: started with pid [12253]
[FATAL ERROR:
Not a SWI-Prolog saved state]
[json_prolog-1] process has died [pid 12253, exit code 2, cmd /opt/ros/fuerte/stacks/knowrob/rosprolog/scripts/run_with_prolog_env ias_semantic_map /opt/ros/fuerte/stacks/knowrob/json_prolog/bin/json_prolog __name:=json_prolog __log:=/home/nearlab/.ros/log/ba155972-a2b4-11e3-a500-00e08170ece8/json_prolog-1.log].
log file: /home/nearlab/.ros/log/ba155972-a2b4-11e3-a500-00e08170ece8/json_prolog-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done
I don't know if it could help but this is the list of libraries that I get when I install KnowRob under /usr/lib/swi-prolog/lib/amd64. As you can see, libswipl is only .a version!
archive4pl.so libswipl.a process.so socket.so uid.so
cgi.so memfile.so protobufs.so ssl4pl.so unicode4pl.so
crypt.so mime.so rdf_db.so streaminfo.so unix.so
double_metaphone.so ntriples.so readutil.so syslog.so uri.so
files.so odbc4pl.so rlimit.so table.so uuid.so
http_stream.so pdt_console.so sgml2pl.so time.so zlib4pl.so
isub.so pl2xpce.so sha4pl.so tipc.so
json.so porter_stem.so snowball.so turtle.so
This Is what I get when I launch roslaunch tutorial.launch With this option in .bashrc
export SWI_HOME_DIR=/usr/lib/swi-prolog
export LD_PRELOAD=libswipl.so
SUMMARY
========
PARAMETERS
* /rosdistro
* /rosversion
NODES
/
json_prolog (rosprolog/run_with_prolog_env)
ROS_MASTER_URI=http://192.168.10.10:11311
core service [/rosout] found
process[json_prolog-1]: started with pid [23771]
% /home/nearlab/.plrc compiled 0.00 sec, 2 clauses
% library(error) compiled into error 0.00 sec, 81 clauses
% library(pairs) compiled into pairs 0.00 sec, 22 clauses
% library(lists) compiled into lists 0.01 sec, 205 clauses
% library(shlib) compiled into shlib 0.01 sec, 246 clauses
% library(option) compiled into swi_option 0.00 sec, 32 clauses
% library(process) compiled into process 0.01 sec, 320 clauses
% /opt/ros/fuerte/stacks/knowrob/rosprolog/prolog/init.pl compiled 0.01 sec, 334 clauses
% library(jpl) compiled into jpl 0.02 sec, 542 clauses
% library(sgml) compiled into sgml 0.01 sec, 168 clauses
% library(quintus) compiled into quintus 0.00 sec, 54 clauses
% rewrite compiled into rewrite 0.00 sec, 81 clauses
% library(uri) compiled into uri 0.00 sec, 36 clauses
% library(record) compiled into record 0.00 sec, 69 clauses
% rdf_parser compiled into rdf_parser 0.01 sec, 342 clauses
% library(gensym) compiled into gensym 0.00 sec, 9 clauses
% rdf_triple compiled into rdf_triple 0.00 sec, 80 clauses
% library(rdf) compiled into rdf 0.03 sec, 664 clauses
% library(debug) compiled ...