From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
Subject: Re: mtxrun --script server help broken
Date: Mon, 16 Sep 2013 10:38:26 +0200 [thread overview]
Message-ID: <5236C382.9050700@wxs.nl> (raw)
In-Reply-To: <5236C099.7060706@uni-bonn.de>
On 9/16/2013 10:26 AM, Thomas A. Schmitz wrote:
> On 09/16/2013 09:31 AM, Hans Hagen wrote:
>> mtxrun --script server --auto
>>
>> and then go to the reported url should work
>>
>> the --auto makes the server resolve its document root
>
> The error I reported occurs with --auto; while
> mtx-server-ctx-fonttest.lua runs OK, mtx-server-ctx-help.lua throws an
> error:
>
> mtx-server | request from: 127.0.0.1
> mtx-server | request data: GET /mtx-server-ctx-help.lua HTTP/1.1
> mtx-server | requested url: /mtx-server-ctx-help.lua
> mtx-server | requested action: /mtx-server-ctx-help.lua
> mtx-server | performing action: /mtx-server-ctx-help.lua
> mtx-server | locating script:
> /mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-help.lua
>
> mtx-server | loading script:
> /mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-help.lua
>
> mtx-server | return type: nil
> mtx-server | handling error 404: Not Found
weird .. can you put some prints in mtx-server-ctx-help.lua and see if
it is loaded? it works okay here
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2013-09-16 8:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-03 17:02 Thomas A. Schmitz
2013-09-15 18:09 ` Thomas A. Schmitz
2013-09-16 7:31 ` Hans Hagen
2013-09-16 8:26 ` Thomas A. Schmitz
2013-09-16 8:38 ` Hans Hagen [this message]
2013-09-16 8:53 ` Thomas A. Schmitz
2013-09-16 8:55 ` Thomas A. Schmitz
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=5236C382.9050700@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
--cc=thomas.schmitz@uni-bonn.de \
/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).