caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Eliot Handelman <eliot@colba.net>
To: caml-list@inria.fr
Subject: [Caml-list] mysterious cgi problem
Date: Thu, 19 Jun 2014 23:41:46 -0400	[thread overview]
Message-ID: <53A3AD7A.4040400@colba.net> (raw)
In-Reply-To: <CACLX4jTtD-HZsgVu15Ex2TcSvvrSyYceVjpgpjG49SFcAw4q4g@mail.gmail.com>

Hi list,

We have a demo coming up on Monday of an ocaml based music analysis and 
generation system with a
web component for music notation that, irritatingly, has stopped 
working. The interface is a CGI
with an ocaml 4.01 executable. After several harrowing days I narrowed 
the problem down to the
following situation:

X, a basic system, runs fine in firefox/chrome/various linuxen

X + module Y  generates "Not_found" exceptions in the CGI merely by 
linking Y. Y is
otherwise not invoked.  Moreover, I'm unable to trap the exception in 
the CGI itself
(ie, a try/with around the main function is somehow bypassed as the 
apache error long reports).  So
it would seem the that the code fails before the main function is executed.

We were using ocamlnet, but I rolled my own cgi parser and reproduced 
the problem.

Any suggestions? My next step would be to start rolling back the system, 
which is
not pleasant.


thanks,

-- eliot











  reply	other threads:[~2014-06-20  3:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-17 16:43 [Caml-list] [ANN] Core Suite 111.17.00 Ben Millwood
2014-06-18  7:35 ` François Bobot
2014-06-18  9:28   ` Yaron Minsky
2014-06-18 12:57     ` François Bobot
2014-06-18 16:23       ` Yaron Minsky
2014-06-20  3:41         ` Eliot Handelman [this message]
2014-06-20  5:48           ` [Caml-list] mysterious cgi problem Siraaj Khandkar
2014-06-20  8:53             ` Mark Shinwell
2014-06-21 19:19           ` Eliot Handelman

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=53A3AD7A.4040400@colba.net \
    --to=eliot@colba.net \
    --cc=caml-list@inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).