Hi all,
I have a program (given bellow) but when I invoke the prolog shell I get this message:
{ERROR: segmentation violation}
The program is:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% :- module(test, [main/1], []).
:- include(library(pillow)). :- use_module(library(dec10_io)).
main(_):- tell('test.txt'), url_info('http://143.107.183.175/site2001/publications.htm', URLInfo), fetch_url(URLInfo,[],Response), member(content(Content),Response), html2terms(Content,Terms), display(Terms), told. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%
I'm using ciao-1.7p212Win32 on Windows NT.
Any help is appreciated!
Alex
Soares Alexsandro S writes:
Hi all,
I have a program (given bellow) but when I invoke the prolog shell I get this message:
{ERROR: segmentation violation}
The program is:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% [...] I'm using ciao-1.7p212Win32 on Windows NT.
Any help is appreciated!
The program looks right, and it works in Linux (that is what I have available right now). We will have a look at it on Windows and we'll let you know.
Cheers,
MCL
________________________________________________________ In life, as in art, the truth is in the beholder's eyes.
Soares Alexsandro S writes:
I have a program (given bellow) but when I invoke the prolog shell I get this message:
{ERROR: segmentation violation}
The program is:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% [...] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%
I'm using ciao-1.7p212Win32 on Windows NT.
Dear Alexsandro,
there was indeed a problem with some pieces of the Ciao 1.7p212 for Windows --- to be more precise, an incorrectly compiled .po file was included in the distribution. It has been corrected in 1.8. Your example has worked without a flaw for us here in a NT machine.
Thanks for your interest,
MCL
_________________________________________ Noalias must go. This is non-negotiable.