Moses-support Digest, Vol 82, Issue 31

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: MGIZA coredump when called through a web interface
(Guchun Zhang)


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

Message: 1
Date: Thu, 22 Aug 2013 16:47:56 +0100
From: Guchun Zhang <gzhang@alphacrc.com>
Subject: Re: [Moses-support] MGIZA coredump when called through a web
interface
To: Hieu Hoang <Hieu.Hoang@ed.ac.uk>
Cc: "moses-support@MIT.EDU" <moses-support@mit.edu>
Message-ID:
<CA+cfSVJUtmk0zhahE5UEtTfz4g20m-r0-dTEEuvjTyC8Ljy6Uw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Hieu,

Many thanks for the help. This is indeed the problem. Somehow, Apache unset
this env. Resetting it in my script solves the problem.

Cheers,
Guchun


On 22 August 2013 16:25, Hieu Hoang <Hieu.Hoang@ed.ac.uk> wrote:

> doing a
> grep env *
> in the mgiza source code gives me
> user = getenv("USER");
> this might be a problem for you
>
>
>
> On 14 August 2013 18:29, Guchun Zhang <gzhang@alphacrc.com> wrote:
>
>> Hi,
>>
>> I have a web interface on which I can submit training and translation
>> requests. The training is done in the background using EMS. Everything is
>> fine. Now, I'm trying to call train-model.perl through the interface but
>> not using EMS. At step 3, MGIZA throws a coredump signal. I re-ran the
>> MGIZA command in shell as user www-data and it worked well. Since EMS works
>> fine when called through the interface, I suspect I need to set some
>> environment parameters. But I am not sure what they are. Any tips will be
>> deeply appreciated.
>>
>> Many many thanks,
>> Guchun
>>
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>
>
> --
> Hieu Hoang
> Research Associate
> University of Edinburgh
> http://www.hoang.co.uk/hieu
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20130822/1bc1c455/attachment-0001.htm

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

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


End of Moses-support Digest, Vol 82, Issue 31
*********************************************

0 Response to "Moses-support Digest, Vol 82, Issue 31"

Post a Comment