[logon] Logon Online Demonstrator

Stephan Oepen oe at ifi.uio.no
Fri Apr 19 20:30:19 CEST 2013


hi nargiza,

from the modified script and log you sent, things look
plausible to me.  the LOGON binary will establish the
web server, i.e. it services HTTP requests at the port
you specified.  the main entry point should be at the
following URL then:

  http://localhost:port/logon

but if you cannot bind to the port in the first place, it
would seem something more basic went wrong.

probably not the source of your problem, but the
value to *www-title* should be a string.

actually, looking closer at your log file, there is no trace
of the commands after read-script-file-aux().  do you
actually have the :kir [incr tsdb()] cpu definitions?

if you add ‘---cat’ as the first argument to the ‘www’
script, it will just print out the commands piped into
the LOGON binary.  to debug, i then sometimes run
things interactive, i.e. start the LOGON binary and
one-by-one paste the commands from the script into
it.

i hope some of this may be helpful!?  oe


On Fri, Apr 19, 2013 at 8:15 PM, Nargiza Sarkulova <ns554 at cam.ac.uk> wrote:
> Dear LOGON mailing list members,
>
> my name is Nargiza Sarkulova and I am a student of the University of
> Cambridge.
> I am not sure who I should write to so I hope it is the right place to ask.
> I am trying to build a very small Kyrgyz-English MT Online Demonstrator. I
> would really appreciate if you could help me with it because I got stuck at
> some point.
>
> My OS is Ubuntu 12.04, 64 bit.
> I was following instructions on this page:
> http://moin.delph-in.net/LogonOnline
> I edited www script taking as example other grammars. I am attaching my
> version (I removed other grammars commands so I can see clearly what's going
> on).
> Also I created two files, kir.html and kir.js, and put them in
> lingo/lkb/src/tsdb/html and lingo/lkb/src/tsdb/js accordingly. I copied the
> html structure of kir.html from other grammars and obtained kir.js content
> following instructions in "Exporting Example Inputs from [incr tsdb()]"
> section. I copied my Kyrgyz grammar to LOGON root directory.
>
> Then I run my www script following "Running a Web Demo" section using
> command:
> ./www --binary --kir --port 8888
> I attached output of this command in a file called output.txt. It seems
> running without errors and ends up with prompt listening to user input. I
> don't know what it means... In the instructions it says: "The above should
> result in an on-line web demo at port 8888 of your web server." I am
> completely lost at this point. Should I have some web server pre-installed?
> I tried URLs like http://localhost:8888 or http://localhost:8888/kir but it
> doesn't work. Also I scanned with netstat ports but port 8888 doesn't seem
> to be listening to any input.
>
> Also I will have to add the second grammar - English. I am not sure how to
> add it so they will interact correctly.
>
> I hope you can advise me what I should do next with LOGON.
> Thank you very much.
>
> Best regards,
> Nargiza



More information about the logon mailing list