Re: pack_list('') not returning all packages
Nicos Angelopoulos (Univ of York) <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <20130712085946.14e4985d@naga> |
Dear all,
Seems like, this is still broken.
To reproduce (current pl-devel, and on the last N stables):
?- pack_list('').
[in my case]
l [email protected] - Common db-tables-as-facts and SQL layer for ODBC and proSQLite.
i [email protected] - Collect files and sub-directories from within a directory
l [email protected] - An SWI-Prolog interface to SQLite
l [email protected] - Access, cache and visualise citation relation between pubmed publication records
l [email protected] - Integrative statistics with R
l [email protected] - Persistent, user code inclusive, documentation server for linux
Expected:
a full list of packages available from
http://www.swi-prolog.org/pack/
As noted by Ian Tegebo, only os_sub is returned by the server.
Looks like the problem is with the reply from the server.
Tested on source-built swi(s) on linux.
Regards,
Nicos Angelopoulos
---
http://bioinformatics.nki.nl/~nicos/
On Tue, 2 Jul 2013 11:02:57 -0700
Ian Tegebo <[email protected]> wrote:
> I'm exploring the prologPack module and noticed that "pack_list('')"
> displays only those packages I've already installed. I do see the message
> (in green):
>
> % Contacting server at http://www.swi-prolog.org/pack/query ... ok
>
> I added a spypoint to prolog_pack:query_pack_server/2. It appears that I'm
> only seeing the os_sub package in the response. Curl confirms this:
>
> curl -v -H "Content-Type: text/x-prolog" -d "search('')."
> http://www.swi-prolog.org/pack/query
>
> Granted, I don't fully understand how this should all work, e.g. maybe
> subsequent results are to be returned on backtracking with a continuation
> string passed along in the POST request...in any case it seems like more
> results should be returned from "pack_list('')" at the REPL.
>
> Perhaps the server is only listing those packages it itself has installed?
>
> --
> Ian Tegebo
> -------------- next part --------------
> HTML attachment scrubbed and removed
> _______________________________________________
> SWI-Prolog mailing list
> [email protected]
> https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog