ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mtxrun --script server help broken
@ 2013-07-03 17:02 Thomas A. Schmitz
  2013-09-15 18:09 ` Thomas A. Schmitz
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas A. Schmitz @ 2013-07-03 17:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

was trying to use the help server this morning while I was offline, and 
it doesn't work, AFAICS. Here's the error:

mtx-server      | running at port: 31415
mtx-server      | document root: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua
mtx-server      | main index file: unknown
mtx-server      | scripts subpath: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua
mtx-server      | context services: 
http://localhost:31415/mtx-server-ctx-startup.lua
mtx-server      | request from: 127.0.0.1
mtx-server      | request data: GET /mtx-server-ctx-startup.lua HTTP/1.1
mtx-server      | requested url: /mtx-server-ctx-startup.lua
mtx-server      | requested action: /mtx-server-ctx-startup.lua
mtx-server      | performing action: /mtx-server-ctx-startup.lua
mtx-server      | locating script: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-startup.lua
mtx-server      | loading script: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-startup.lua
mtx-server      | return type: function
mtx-server      | saving script: function
mtx-server      | running script: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-startup.lua
mtx-server      | time spent with client: 0.000 seconds
mtx-server      | request from: 127.0.0.1
mtx-server      | request data: GET /favicon.ico HTTP/1.1
mtx-server      | requested url: /favicon.ico
mtx-server      | requested action: /favicon.ico
mtx-server      | performing action: /favicon.ico
mtx-server      | requested file '/favicon.ico'
mtx-server      | handling error 404: Not Found
mtx-server      | time spent with client: 0.000 seconds
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
mtx-server      | time spent with client: 0.000 seconds
mtx-server      | request from: 127.0.0.1
mtx-server      | request data: GET /favicon.ico HTTP/1.1
mtx-server      | requested url: /favicon.ico
mtx-server      | requested action: /favicon.ico
mtx-server      | performing action: /favicon.ico
mtx-server      | requested file '/favicon.ico'
mtx-server      | handling error 404: Not Found
mtx-server      | time spent with client: 0.000 seconds

 From time to time, it's wonderful to have offline help (and I still 
miss Patrick's emacs etexshow...)

Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mtxrun --script server help broken
  2013-07-03 17:02 mtxrun --script server help broken Thomas A. Schmitz
@ 2013-09-15 18:09 ` Thomas A. Schmitz
  2013-09-16  7:31   ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas A. Schmitz @ 2013-09-15 18:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

This still isn't working, AFAICS.

On 07/03/2013 07:02 PM, Thomas A. Schmitz wrote:
> Hi,
>
> was trying to use the help server this morning while I was offline, and
> it doesn't work, AFAICS. Here's the error:
>
> mtx-server      | running at port: 31415
> mtx-server      | document root:
> /mnt/shared/context/tex/texmf-context/scripts/context/lua
> mtx-server      | main index file: unknown
> mtx-server      | scripts subpath:
> /mnt/shared/context/tex/texmf-context/scripts/context/lua
> mtx-server      | context services:
> http://localhost:31415/mtx-server-ctx-startup.lua
> mtx-server      | request from: 127.0.0.1
> mtx-server      | request data: GET /mtx-server-ctx-startup.lua HTTP/1.1
> mtx-server      | requested url: /mtx-server-ctx-startup.lua
> mtx-server      | requested action: /mtx-server-ctx-startup.lua
> mtx-server      | performing action: /mtx-server-ctx-startup.lua
> mtx-server      | locating script:
> /mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-startup.lua
>
> mtx-server      | loading script:
> /mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-startup.lua
>
> mtx-server      | return type: function
> mtx-server      | saving script: function
> mtx-server      | running script:
> /mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-startup.lua
>
> mtx-server      | time spent with client: 0.000 seconds
> mtx-server      | request from: 127.0.0.1
> mtx-server      | request data: GET /favicon.ico HTTP/1.1
> mtx-server      | requested url: /favicon.ico
> mtx-server      | requested action: /favicon.ico
> mtx-server      | performing action: /favicon.ico
> mtx-server      | requested file '/favicon.ico'
> mtx-server      | handling error 404: Not Found
> mtx-server      | time spent with client: 0.000 seconds
> 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
> mtx-server      | time spent with client: 0.000 seconds
> mtx-server      | request from: 127.0.0.1
> mtx-server      | request data: GET /favicon.ico HTTP/1.1
> mtx-server      | requested url: /favicon.ico
> mtx-server      | requested action: /favicon.ico
> mtx-server      | performing action: /favicon.ico
> mtx-server      | requested file '/favicon.ico'
> mtx-server      | handling error 404: Not Found
> mtx-server      | time spent with client: 0.000 seconds
>
>  From time to time, it's wonderful to have offline help (and I still
> miss Patrick's emacs etexshow...)
>
> Thomas

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mtxrun --script server help broken
  2013-09-15 18:09 ` Thomas A. Schmitz
@ 2013-09-16  7:31   ` Hans Hagen
  2013-09-16  8:26     ` Thomas A. Schmitz
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2013-09-16  7:31 UTC (permalink / raw)
  To: ntg-context

On 9/15/2013 8:09 PM, Thomas A. Schmitz wrote:
> This still isn't working, AFAICS.
>
> On 07/03/2013 07:02 PM, Thomas A. Schmitz wrote:
>> Hi,
>>
>> was trying to use the help server this morning while I was offline, and
>> it doesn't work, AFAICS. Here's the error:________________________________________

mtxrun --script server --auto

and then go to the reported url should work

the --auto makes the server resolve its document root


-----------------------------------------------------------------
                                           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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mtxrun --script server help broken
  2013-09-16  7:31   ` Hans Hagen
@ 2013-09-16  8:26     ` Thomas A. Schmitz
  2013-09-16  8:38       ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas A. Schmitz @ 2013-09-16  8:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mtxrun --script server help broken
  2013-09-16  8:26     ` Thomas A. Schmitz
@ 2013-09-16  8:38       ` Hans Hagen
  2013-09-16  8:53         ` Thomas A. Schmitz
  2013-09-16  8:55         ` Thomas A. Schmitz
  0 siblings, 2 replies; 7+ messages in thread
From: Hans Hagen @ 2013-09-16  8:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Thomas A. Schmitz

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mtxrun --script server help broken
  2013-09-16  8:38       ` Hans Hagen
@ 2013-09-16  8:53         ` Thomas A. Schmitz
  2013-09-16  8:55         ` Thomas A. Schmitz
  1 sibling, 0 replies; 7+ messages in thread
From: Thomas A. Schmitz @ 2013-09-16  8:53 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

On 09/16/2013 10:38 AM, Hans Hagen wrote:
> weird .. can you put some prints in mtx-server-ctx-help.lua and see if
> it is loaded? it works okay here

Hmm, no, it looks like it isn't loaded at all, I put a print statement 
in and don't see anything on the console.
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mtxrun --script server help broken
  2013-09-16  8:38       ` Hans Hagen
  2013-09-16  8:53         ` Thomas A. Schmitz
@ 2013-09-16  8:55         ` Thomas A. Schmitz
  1 sibling, 0 replies; 7+ messages in thread
From: Thomas A. Schmitz @ 2013-09-16  8:55 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

On 09/16/2013 10:38 AM, Hans Hagen wrote:
> weird .. can you put some prints in mtx-server-ctx-help.lua and see if
> it is loaded? it works okay here

Wait: is the last line a hint, at the beginning of the start?

mtxrun --script server --auto

mtx-server      | running at port: 31415
mtx-server      | document root: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua
mtx-server      | main index file: unknown

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-09-16  8:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-03 17:02 mtxrun --script server help broken 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
2013-09-16  8:53         ` Thomas A. Schmitz
2013-09-16  8:55         ` Thomas A. Schmitz

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).