I’m using: SWI-Prolog version 8.3.3
-
rdf_load from a folder /home/cocprd/cm/rdf3/ recursively.
-
First compiled prolog code on windows using:
swipl -o willie -c abc.pl -
copied willie to Linux, and run with:
swipl -x willie
It seems converting file path to lower case.
It works fine if compiling into saved state on Linux.
Error occurred - the file does exist by the name of /home/cocprd/cm/rdf3/kb/cyberobject/blue/Document/001.cm
(Document instead of document)
`’/home/cocprd/cm/rdf3/kb/cyberobject/blue/document/001.cm’’ does not exist
ERROR: In:
ERROR: [37] time_file(’/home/cocprd/cm/rdf3/kb/cyberobject/blue/document/001.cm’,_338)
ERROR: [36] rdf_db:open_input_if_modified(file(’’),‘file:///home/cocprd/cm/rdf3/kb/cyberobject/blue/document/001.cm’,_378,_380,_382,_384,trig,[concurrent(1),…|…]) at /opt/prolog/lib/swipl/library/semweb/rdf_db.pl:1806
ERROR: [35] rdf_db:rdf_open_input(‘file:///home/cocprd/cm/rdf3/kb/cyberobject/blue/document/001.cm’,file(’’),‘file:///home/cocprd/cm/rdf3/kb/cyberobject/blue/document/001.cm’,_450,_452,_454,trig,[concurrent(1),…|…]) at /opt/prolog/lib/swipl/library/semweb/rdf_db.pl:1682
ERROR: [34] rdf_db:rdf_load_file((0xcd67530),’/home/cocprd/cm/rdf3/kb/cyberobject/blue/Document/001.cm’,‘file:///home/cocprd/cm/rdf3/kb/cyberobject/blue/document/001.cm’,file(’’),‘file:///home/cocprd/cm/rdf3/kb/cyberobject/blue/document/001.cm’,ip_app_load,[concurrent(1),…|…]) at /opt/prolog/lib/swipl/library/semweb/rdf_db.pl:1555
ERROR: [33] setup_call_catcher_cleanup(rdf_db:with_mutex(rdf_load_file,…),rdf_db:rdf_load_file((0xcd67530),’/home/cocprd/cm/rdf3/kb/cyberobject/blue/Document/001.cm’,‘file:///home/cocprd/cm/rdf3/kb/cyberobject/blue/document/001.cm’,…,‘file:///home/cocprd/cm/rdf3/kb/cyberobject/blue/document/001.cm’,ip_app_load,…),_580,rdf_db:rdf_end_load((0xcd67530))) at /opt/prolog/lib/swipl/boot/init.pl:562
ERROR: [29] setup_call_catcher_cleanup(rdf_db:set_prolog_flag(agc_margin,0),rdf_db:rdf_load_noagc(’/home/cocprd/cm/rdf3/kb/cyberobject/blue/Document/001.cm’,ip_app_load,…),_660,rdf_db:set_prolog_flag(agc_margin,10000)) at /opt/prolog/lib/swipl/boot/init.pl:562
ERROR: [27] rdf_db:rdf_load(’/home/cocprd/cm/rdf3/kb/cyberobject/blue/Document/001.cm’,’<garbage_collected>’) at /opt/prolog/lib/swipl/library/semweb/rdf_db.pl:1470