Hi all,
is the package manager server down or do I have a problem with my installation (swipl 8.1.5 on Ubuntu)? If I try to install a package with pack_install or try to resolve the url manually, I get a server error 500.
Thanks
Daniel
Hi all,
is the package manager server down or do I have a problem with my installation (swipl 8.1.5 on Ubuntu)? If I try to install a package with pack_install or try to resolve the url manually, I get a server error 500.
Thanks
Daniel
Seems to work for me.
I installed Package “func” which I know has not been previously installed.
Welcome to SWI-Prolog (threaded, 64 bits, version 8.1.24)
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software.
Please run ?- license. for legal details.
For online help and background, visit https://www.swi-prolog.org
For built-in help, use ?- help(Topic). or ?- apropos(Word).
?- pack_install(func).
% Contacting server at https://www.swi-prolog.org/pack/query ... ok
Install func@0.4.2 from https://github.com/mndrix/func/archive/v0.4.2.zip Y/n?
% Contacting server at https://www.swi-prolog.org/pack/query ... ok
Warning: Package depends on the following:
Warning: "function_expansion", provided by function_expansion@0.1.2 from http://packs.ndrix.com/function_expansion/function_expansion-0.1.2.tgz
Warning: "list_util", provided by list_util@0.13.0 from https://github.com/mndrix/list_util.git
What do you wish to do
(1) * Install proposed dependencies
(2) Only install requested package
(3) Cancel
Your choice?
% "v0.4.2.zip" was downloaded 133 times
i function_expansion@0.1.2 - Help for writing function-like macros
% Cloning into 'c:/users/groot/appdata/local/swi-prolog/pack/list_util'...
i list_util@0.13.0 - Predicates for working with lists
Package: func
Title: Function application and composition
Installed version: 0.4.2
Author: Michael Hendricks <michael@ndrix.org>
Maintainer: Michael Hendricks <michael@ndrix.org>
Packager: Michael Hendricks <michael@ndrix.org>
Home page: https://github.com/mndrix/func/
Download URL: https://github.com/mndrix/func/archive/v0.4.2.zip
Requires: function_expansion, list_util
Install "func-0.4.2.zip" (9,614 bytes) Y/n?
true.
I think that is the problem. At some point the SWI-Prolog website moved to HTTPS and older versions cannot handle that. Ether use the stable or a more recent development version.
… that was the problem. I updated to the latest dev-release and everything works now fine.
Thanks,
Daniel