Hi,
I recompiled and installed pillow for SWI-prolog on a Linux machine. When I try to consult html_forms.pl I get the following error:
?- consult('html_forms.pl'). % html.pl compiled 0.05 sec, 71,828 bytes ERROR: (/home/httpd/cgi-bin/html_forms.pl:91): Undefined procedure: save/2 Warning: (/home/httpd/cgi-bin/html_forms.pl:91): Goal (directive) failed: user:save_cgi('html_forms.pl', main) % html_forms.pl compiled 0.05 sec, 78,700 bytes
Any hints why ?
Regrads, Waseem
I recompiled and installed pillow for SWI-prolog on a Linux machine. When I try to consult html_forms.pl I get the following error:
?- consult('html_forms.pl'). % html.pl compiled 0.05 sec, 71,828 bytes ERROR: (/home/httpd/cgi-bin/html_forms.pl:91): Undefined procedure: save/2 Warning: (/home/httpd/cgi-bin/html_forms.pl:91): Goal (directive) failed: user:save_cgi('html_forms.pl', main) % html_forms.pl compiled 0.05 sec, 78,700 bytes
It seems that SWI has removed the save/2 builtin in its last version(s). If you manage to find out how to do that now, please send the patch to the list so that we can put it in the next version (with due credit, of course).
Daniel Cabeza
Okej, can the pillow developers tell me please what save/2 should do?
Regards, /Waseem
----- Original Message ----- From: "Daniel Cabeza Gras" <bardo(a)clip.dia.fi.upm.es> To: <waseem(a)isk.kth.se> Cc: <ciao-users(a)clip.dia.fi.upm.es> Sent: Thursday, March 23, 2000 8:35 PM Subject: Re: html_forms.pl
I recompiled and installed pillow for SWI-prolog on a Linux machine. When I try to consult html_forms.pl I get the following error:
?- consult('html_forms.pl'). % html.pl compiled 0.05 sec, 71,828 bytes ERROR: (/home/httpd/cgi-bin/html_forms.pl:91): Undefined procedure: save/2 Warning: (/home/httpd/cgi-bin/html_forms.pl:91): Goal (directive) failed: user:save_cgi('html_forms.pl', main) % html_forms.pl compiled 0.05 sec, 78,700 bytes
It seems that SWI has removed the save/2 builtin in its last version(s). If you manage to find out how to do that now, please send the patch to the list so that we can put it in the next version (with due credit, of course).
Daniel Cabeza
It seems that SWI has removed the save/2 builtin in its last version(s). If you manage to find out how to do that now, please send the patch to the list so that we can put it in the next version (with due credit, of course).
Daniel Cabeza
This predicate was changed in the new version of SWI (it is seem are following SICStus definitions). Now its:
qsave_program(+File, +ListOfOptions)
I attached html file (from SWI Manual) with more details.
----- Samir