Moses-support Digest, Vol 114, Issue 2

Send Moses-support mailing list submissions to
moses-support@mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu

You can reach the person managing the list at
moses-support-owner@mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."


Today's Topics:

1. Re: Moses Server index.js 500 internal error (Hieu Hoang)
2. Re: Mosesserver terminates with "girerr::error" (Rico Sennrich)


----------------------------------------------------------------------

Message: 1
Date: Fri, 1 Apr 2016 11:17:43 +0100
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Moses Server index.js 500 internal error
To: faiza shahid <faiza_shahid12@hotmail.com>, "moses-support@mit.edu"
<moses-support@mit.edu>
Message-ID: <56FE4AC7.8060502@gmail.com>
Content-Type: text/plain; charset="windows-1252"

what is the exact commands you executed? Can you make your model
available for download so I can replicate the error.

The server seems to work ok for me on my own laptop and model

On 29/03/2016 15:14, faiza shahid wrote:
> Hi,
>
> I'm very new to moses and am currently working on the moses web
> translation for fr-en. I have tested the moses server on the terminal
> and followed the steps from the moses website as much as possible but
> I'm getting errors on the error.log shown below when I try to
> translate a website:
> [Tue Mar 29 13:37:31.560334 2016] [cgi:error] [pid 12589] [client
> 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi:
> Useless use of a constant ("01") in void context at
> /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer:
> http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr
> [Tue Mar 29 13:37:31.560484 2016] [cgi:error] [pid 12589] [client
> 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi:
> Useless use of a constant ("02") in void context at
> /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer:
> http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr
> [Tue Mar 29 13:37:31.560548 2016] [cgi:error] [pid 12589] [client
> 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi:
> Useless use of a constant ("03") in void context at
> /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer:
> http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr
> [Tue Mar 29 13:37:31.560606 2016] [cgi:error] [pid 12589] [client
> 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi:
> Useless use of a constant ("04") in void context at
> /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer:
> http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr
> [Tue Mar 29 13:37:31.560664 2016] [cgi:error] [pid 12589] [client
> 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi:
> Useless use of a constant ("05") in void context at
> /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer:
> http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr
> [Tue Mar 29 13:37:31.560831 2016] [cgi:error] [pid 12589] [client
> 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi:
> Useless use of a constant ("06") in void context at
> /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer:
> http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr
> [Tue Mar 29 13:37:31.560894 2016] [cgi:error] [pid 12589] [client
> 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi:
> Useless use of a constant ("07") in void context at
> /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer:
> http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr
> [Tue Mar 29 13:37:31.560949 2016] [cgi:error] [pid 12589] [client
> 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi:
> Useless use of a constant ("08") in void context at
> /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer:
> http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr
> [Tue Mar 29 13:37:31.561001 2016] [cgi:error] [pid 12589] [client
> 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi:
> Useless use of a constant ("09") in void context at
> /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer:
> http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr
> [Tue Mar 29 13:37:31.561049 2016] [cgi:error] [pid 12589] [client
> 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi:
> Useless use of a constant ("10") in void context at
> /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer:
> http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr
> [Tue Mar 29 13:37:31.561097 2016] [cgi:error] [pid 12589] [client
> 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi:
> Useless use of a constant ("11") in void context at
> /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer:
> http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr
> [Tue Mar 29 13:37:31.561146 2016] [cgi:error] [pid 12589] [client
> 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi:
> Useless use of a constant ("12") in void context at
> /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer:
> http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr
> [Tue Mar 29 13:37:31.561195 2016] [cgi:error] [pid 12589] [client
> 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi:
> Useless use of a constant ("13") in void context at
> /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer:
> http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr
> [Tue Mar 29 13:37:31.575431 2016] [cgi:error] [pid 12589] [client
> 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi:
> Useless use of a constant ("14") in void context at
> /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer:
> http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr
> [Tue Mar 29 13:37:31.575495 2016] [cgi:error] [pid 12589] [client
> 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi:
> Useless use of a constant ("15") in void context at
> /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer:
> http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr
> [Tue Mar 29 13:37:31.575545 2016] [cgi:error] [pid 12589] [client
> 192.168.1.97:44205] AH01215: [Tue Mar 29 13:37:31 2016] translate.cgi:
> Useless use of a constant ("16") in void context at
> /usr/lib/cgi-bin/moses-web/translate.cgi line 68., referer:
> http://192.168.1.121/cgi-bin/moses-web/?url=www.lemonde.fr
> [Tue Mar 29 13:37:31.991766 2016] [cgi:error] [pid 12590] [client
> 192.168.1.97:44204] AH01215: (8)Exec format error: exec of
> '/usr/lib/cgi-bin/moses-web/index.js' failed, referer:
> http://192.168.1.121/cgi-bin/moses-web/?frame=top&url=http%3A%2F%2Fwww.lemonde.fr
> [Tue Mar 29 13:37:31.996931 2016] [cgi:error] [pid 12590] [client
> 192.168.1.97:44204] End of script output before headers: index.js,
> referer:
> http://192.168.1.121/cgi-bin/moses-web/?frame=top&url=http%3A%2F%2Fwww.lemonde.fr
>
> I'm not really sure how to fix this. Much help would be appreciated. I
> have also looked at the translation-web but there isn't enough
> information for me to fully work on it.
>
> Many thanks,
>
> Faiza Shahid
>
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20160401/f21ac242/attachment-0001.html

------------------------------

Message: 2
Date: Fri, 1 Apr 2016 13:32:24 +0100
From: Rico Sennrich <rico.sennrich@gmx.ch>
Subject: Re: [Moses-support] Mosesserver terminates with
"girerr::error"
To: moses-support@mit.edu
Message-ID: <56FE6A58.1060809@gmx.ch>
Content-Type: text/plain; charset="windows-1252"

Hi Mathias,

you're passing a boolean as the value of 'word-align', but apparently,
the current version of moses server requires the value to be a string. I
don't know why this was changed...

best wishes,
Rico


On 22.03.2016 09:07, Mathias M?ller wrote:
> Dear list
>
> Since I got recent mosesdecoder code from Github (mid-February 2016)
> and built a new version on our servers, I cannot run mosesserver
> anymore. The non-server version of moses works fine.
>
> The specific error I get when I request a translation from a running
> server is:
>
> *terminate called after throwing an instance of 'girerr::error'
> what(): Not string type. See type() method*
>
> This happens even with the simplest of models, e.g. with the sample
> models taken from:
>
> http://www.statmt.org/moses/?n=Development.GetStarted
>
> What does this error mean? Can anyone help me solve my problem?
>
> I have attached the following files:
>
> * commands.txt: the commands that lead to this error
> * minimal-client.py: a few lines of Python code that request a
> translation
> * server.err: the server STDERR output
> * python-output.txt: the output of minimal-client.py
>
> If you need more information, I will gladly provide it.
>
> Thanks for your help
>
> Mathias
>
>
> ?
>
> Mathias M?ller
> BIN 2.B.04
> Institute of Computational Linguistics
> University of Zurich
> +41 44 635 75 81
> mathias.mueller@uzh.ch <mailto:mathias.mueller@uzh.ch>
>
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20160401/5ccc2028/attachment.html

------------------------------

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


End of Moses-support Digest, Vol 114, Issue 2
*********************************************

0 Response to "Moses-support Digest, Vol 114, Issue 2"

Post a Comment