I’m using: SWI-Prolog version ???
SWI-Prolog (threaded, 64 bits, version 7.6.4)
I want the code to:
To install some pack.
But what I’m getting is:
% Contacting server at http://www.swi-prolog.org/pack/query ...
ERROR: url `'https://www.swi-prolog.org/pack/query'' does not exist (status(500,Internal Server Error))
ERROR: In:
ERROR: [18] throw(error(existence_error(url,'https://www.swi-prolog.org/pack/query'),context(_8098,...)))
ERROR: [16] http_open:try_http_proxy(direct,[uri('http://www.swi-prolog.org/pack/query'),...|...],_8134,[post(...),...]) at /usr/lib/swi-prolog/library/http/http_open.pl:418
ERROR: [14] <meta call>
ERROR: [13] '$sig_atomic'(prolog_pack:http_open('http://www.swi-prolog.org/pack/query',_8228,...)) <foreign>
ERROR: [12] setup_call_catcher_cleanup(prolog_pack:http_open('http://www.swi-prolog.org/pack/query',_8272,...),prolog_pack:read_reply(_8284,_8286,_8288),_8258,prolog_pack:close(_8298)) at /usr/lib/swi-prolog/boot/init.pl:444
ERROR: [10] prolog_pack:query_pack_server(locate(prologmud),_8330,[]) at /usr/lib/swi-prolog/library/prolog_pack.pl:1678
ERROR: [9] prolog_pack:pack_default_options(prologmud,prologmud,[],_8372) at /usr/lib/swi-prolog/library/prolog_pack.pl:517
ERROR: [8] prolog_pack:pack_install(prologmud) at /usr/lib/swi-prolog/library/prolog_pack.pl:459
ERROR: [7] <user>
ERROR:
ERROR: Note: some frames are missing due to last-call optimization.
ERROR: Re-run your program in debug mode (:- debug.) to get more detail.
ERROR: url `'https://www.swi-prolog.org/pack/query'' does not exist (status(500,Internal Server Error))
ERROR: In:
ERROR: [18] throw(error(existence_error(url,'https://www.swi-prolog.org/pack/query'),context(_9164,...)))
ERROR: [16] http_open:try_http_proxy(direct,[uri('http://www.swi-prolog.org/pack/query'),...|...],_9200,[post(...),...]) at /usr/lib/swi-prolog/library/http/http_open.pl:418
ERROR: [14] <meta call>
ERROR: [13] '$sig_atomic'(prolog_pack:http_open('http://www.swi-prolog.org/pack/query',_9294,...)) <foreign>
ERROR: [12] setup_call_catcher_cleanup(prolog_pack:http_open('http://www.swi-prolog.org/pack/query',_9338,...),prolog_pack:read_reply(_9350,_9352,_9354),_9324,prolog_pack:close(_9364)) at /usr/lib/swi-prolog/boot/init.pl:444
ERROR: [10] prolog_pack:query_pack_server(locate(prologmud),_9396,[]) at /usr/lib/swi-prolog/library/prolog_pack.pl:1678
ERROR: [9] prolog_pack:pack_default_options(prologmud,prologmud,[],_9438) at /usr/lib/swi-prolog/library/prolog_pack.pl:517
ERROR: [8] prolog_pack:pack_install(prologmud) at /usr/lib/swi-prolog/library/prolog_pack.pl:459
ERROR: [7] <user>
ERROR: [13] '$sig_atomic'(prolog_pack:http_open('http://www.swi-prolog.org/pack/query',_9554,...))
ERROR: [12] setup_call_catcher_cleanup(prolog_pack:http_open('http://www.swi-prolog.org/pack/query',_9598,...),prolog_pack:read_reply(_9610,_9612,_9614),_9584,prolog_pack:close(_9624)) at /usr/lib/swi-prolog/boot/init.pl:444
ERROR: [10] prolog_pack:query_pack_server(locate(prologmud),_9656,[]) at /usr/lib/swi-prolog/library/prolog_pack.pl:1678
ERROR: [9] prolog_pack:pack_default_options(prologmud,prologmud,[],_9698) at /usr/lib/swi-prolog/library/prolog_pack.pl:517
ERROR: [8] prolog_pack:pack_install(prologmud) at /usr/lib/swi-prolog/library/prolog_pack.pl:459
ERROR: [7] <user>
ERROR:
ERROR: Note: some frames are missing due to last-call optimization.
ERROR: Re-run your program in debug mode (:- debug.) to get more detail.
My code looks like this:
?- pack_install(prologmud).