From: Alain Frisch <frisch@clipper.ens.fr>
To: Michael Leary <leary@nwlink.com>
Cc: caml <caml-list@inria.fr>
Subject: Re: [Caml-list] OcamlMakefile not working for me...
Date: Mon, 27 Aug 2001 14:01:48 +0200 (MET DST) [thread overview]
Message-ID: <Pine.GSO.4.04.10108271353220.10757-100000@clipper.ens.fr> (raw)
In-Reply-To: <20010827025906.A9673@jean.nwlink.com>
On Mon, 27 Aug 2001, Michael Leary wrote:
> All good 'till now, but it doesn't run right:
>
> $> ./nineteen_one
> Fatal error: uncaught exception Failure("Cgi.parse_arguments: unknown method")
This function expects the program to be called with the CGI interface;
when you call it directly on the command line, the Cgi module can't tell
what the CGI arguments are and which _HTTP_ method you use.
(Perl's CGI has something interesting for debugging: when the program is
called on the command line, the module asks the user for 'name=value'
bindings on the standard input; maybe this could be an useful feature
for Cgi)
> try
> Cgi.parse_arguments default_config;
> with x ->
> raise x;;
>
>
> but that helped not at all...
This can't help for any problem at all: this construction catches the
exception and raises it again immediatly; except for the backtrace stack,
it is as if you did 'Cgi.parse_arguments default_config'.
Alain
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
next prev parent reply other threads:[~2001-08-27 12:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-27 4:39 Michael Leary
2001-08-27 8:16 ` Michael Leary
2001-08-27 9:59 ` Michael Leary
2001-08-27 10:11 ` Michael Leary
2001-08-27 12:01 ` Alain Frisch [this message]
2001-08-27 22:10 ` Michael Leary
2001-08-28 0:39 ` Gerd Stolpmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.GSO.4.04.10108271353220.10757-100000@clipper.ens.fr \
--to=frisch@clipper.ens.fr \
--cc=caml-list@inria.fr \
--cc=leary@nwlink.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox