Re: Weird bug with pack_list/1

Nicos Angelopoulos (Univ of York) <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <20131023150539.27ee0740@naga>
Dear Michael, 

pack_list/1 has been reported as broken since the beginning of July.
https://lists.iai.uni-bonn.de/pipermail/swi-prolog/2013/010712.html

For the problem reported there, it was the reply from the  server that seem to be the problem.
It would appear to be a contributing factor in your examples too.

Regards,

Nicos Angelopoulos.


On Mon, 21 Oct 2013 14:03:57 +0800
Michael Richter <[email protected]> wrote:

> I'll let the session speak for itself:
> 
> λ ~ → swipl
> % /home/michael/.plrc compiled 0.00 sec, 3 clauses
> Welcome to SWI-Prolog (Multi-threaded, 64 bits, Version 6.5.2)
> Copyright (c) 1990-2013 University of Amsterdam, VU Amsterdam
> SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software,
> and you are welcome to redistribute it under certain conditions.
> Please visit http://www.swi-prolog.org for details.
> 
> For help, use ?- help(Topic). or ?- apropos(Word).
> 
> ?- pack_list('').
> % Contacting server at http://www.swi-prolog.org/pack/query ... ok
> l [email protected]             - Bencoding from BitTorrent protocol
> p [email protected]              - Collect files and sub-directories from within
> a directory
> true.
> 
> ?- pack_list('c').
> % Contacting server at http://www.swi-prolog.org/pack/query ... ok
> l [email protected]             - Bencoding from BitTorrent protocol
> p [email protected]              - Collect files and sub-directories from within
> a directory
> true.
> 
> ?- pack_list_installed.
> Installed packages (1):
> 
> i [email protected]             - Bencoding from BitTorrent protocol
> true.
> 
> ?- pack_list('e').
> % Contacting server at http://www.swi-prolog.org/pack/query ... ok
> l [email protected]             - Bencoding from BitTorrent protocol
> p [email protected]              - Collect files and sub-directories from within
> a directory
> true.
> 
> ?- pack_list('condition').
> % Contacting server at http://www.swi-prolog.org/pack/query ... ok
> p [email protected]           - Condition system a la Common Lisp
> p [email protected]              - Collect files and sub-directories from within
> a directory
> true.
> 
> ?- pack_install('condition').
> % Contacting server at http://www.swi-prolog.org/pack/query ... ok
> Install [email protected] from
> http://packs.ndrix.com/condition/condition-0.0.1.tgz Y/n?
> % Contacting server at http://www.swi-prolog.org/pack/query ... ok
> Warning: Package depends on the following:
> Warning:   "lambda", provided by [email protected] from
> http://www.swi-prolog.org/download/pack/lambda-1.0.0.tgz
> 
> What do you wish to do
>    (1) * Install proposed dependencies
>    (2)   Only install requested package
>    (3)   Cancel
> 
> Your choice?
> % "condition-0.0.1.tgz" was downloaded 4 times
> i [email protected]              - Lambda expressions
> Package:                condition
> Title:                  Condition system a la Common Lisp
> Installed version:      0.0.1
> Author:                 Michael Hendricks <[email protected]>
> Maintainer:             Michael Hendricks <[email protected]>
> Packager:               Michael Hendricks <[email protected]>
> Home page:              http://packs.ndrix.com/condition/index.html
> Download URL:           http://packs.ndrix.com/condition/condition-0.0.1.tgz
> Requires:               lambda
> Install "condition-0.0.1.tgz" (3,541 bytes) Y/n?
> true.
> 
> ?- pack_list('').
> % Contacting server at http://www.swi-prolog.org/pack/query ... ok
> l [email protected]             - Bencoding from BitTorrent protocol
> l [email protected]           - Condition system a la Common Lisp
> l [email protected]              - Lambda expressions
> p [email protected]              - Collect files and sub-directories from within
> a directory
> true.
> 
> -- 
> "Perhaps people don't believe this, but throughout all of the discussions
> of entering China our focus has really been what's best for the Chinese
> people. It's not been about our revenue or profit or whatnot."
> --Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.
> -------------- next part --------------
> HTML attachment scrubbed and removed
> _______________________________________________
> SWI-Prolog mailing list
> [email protected]
> https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog
_______________________________________________
SWI-Prolog mailing list
[email protected]
https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.