From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24071 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Re: ConTeXt "live" Date: Sat, 03 Dec 2005 12:56:04 +0100 Message-ID: <439187D4.1050801@elvenkind.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133611101 19418 80.91.229.2 (3 Dec 2005 11:58:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Dec 2005 11:58:21 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 03 12:58:19 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EiW18-0004Ke-SI for gctc-ntg-context-518@m.gmane.org; Sat, 03 Dec 2005 12:57:26 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 271EC127EF; Sat, 3 Dec 2005 12:57:26 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28434-08-3; Sat, 3 Dec 2005 12:57:21 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6B3FA127E5; Sat, 3 Dec 2005 12:57:21 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5DF30127E5 for ; Sat, 3 Dec 2005 12:57:19 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28434-08-2 for ; Sat, 3 Dec 2005 12:57:18 +0100 (CET) Original-Received: from post-24.mail.nl.demon.net (post-24.mail.nl.demon.net [194.159.73.194]) by ronja.ntg.nl (Postfix) with ESMTP id 6AC1B127DE for ; Sat, 3 Dec 2005 12:57:18 +0100 (CET) Original-Received: from boo.demon.nl ([82.161.175.147]:57940 helo=[192.168.1.3]) by post-24.mail.nl.demon.net with esmtp (Exim 4.51) id 1EiW10-000GiX-1J for ntg-context@ntg.nl; Sat, 03 Dec 2005 11:57:18 +0000 User-Agent: Mozilla Thunderbird 1.0 (X11/20050215) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24071 Archived-At: Patrick Gundlach wrote: > Hi, > > >>In my account, ConTeXt works no prob, I got a perfect PDF. >>My problem occurs when I run ConTeXt via web, under Apache's user of course. >>How to trace ConTeXt run under web server ? Reversing the order will hopefully give a clue on how to proceed: make ConTeXt create mpgraph.mp first, then the other one. If that gets you past the error (and into a similar error: test-mpgraph.mp), then it is probably a number of open files limit problem. Here is the relevant macro, with the order already adjusted : \def\initializeMPgraphics {\bgroup \ifx\bufferprefix\empty\else \let\bufferprefix\empty \initializeMPgraphicfile \fi \egroup \initializeMPgraphicfile } > I'd guess it is pretty much impossible to trace under a webserver. Can > you install the same environment on a local computer? Then you could > strace any process. You can try to add --passon='-kpathsea-debug=4' in the texexec call. All the kpathsea debug output should end up in your apache error_log (the number 4 is for fopen/fclose traces). > Perhaps this is a problem with php? Did you try running this via cgi? If you are lucky, there may be some hint in your global or local apache error file. Good luck, Taco