Moses-support Digest, Vol 194, Issue 3

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

To subscribe or unsubscribe via the World Wide Web, visit
https://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: Error: No such file or directory while opening
/home/xyz/working/train/model/extract.o.sorted.gz (Oleg Parashchenko)
2. Re: Error: No such file or directory while opening
/home/xyz/working/train/model/extract.o.sorted.gz
(Sainik Kumar Mahata)


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

Message: 1
Date: Mon, 9 Jan 2023 15:45:43 +0100
From: Oleg Parashchenko <olpa@uucode.com>
To: Sainik Kumar Mahata <sainik.mahata@gmail.com>
Cc: Hieu Hoang <hieuhoang@gmail.com>, moses-support
<moses-support@mit.edu>
Subject: Re: [Moses-support] Error: No such file or directory while
opening /home/xyz/working/train/model/extract.o.sorted.gz
Message-ID: <20230109154543.0fd03c4b8f2a3c4c6b5f980a@uucode.com>
Content-Type: text/plain; charset=UTF-8

Hello,

in my docker images I install "python3-dev" and later create a symlink:

```
ln -s /usr/bin/python3 /usr/bin/python
```

Regards,
Oleg

On Wed, 4 Jan 2023 17:35:41 +0530
Sainik Kumar Mahata <sainik.mahata@gmail.com> wrote:

> I think, the issue is with the "python-dev" package that is installed as a
> dependency.
>
> Executing: /home/sainik/mosesdecoder/tools/merge_alignment.py
> /home/sainik/working/train/giza.bn-en/bn-en.A3.final.part*>/home/sainik/working/train/giza.bn-en/bn-en.A3.final
> /usr/bin/env: 'python': No such file or directory
> Exit code: 127
>
> When I am trying to install python-dev, ubuntu says that there is no
> installation certificate, and instead tells me to
> install python2-dev/python2/python-dev-is-python3
>
> Can you kindly suggest, what to install instead of python-dev?
>
>
>
>
> [image: Mailtrack]
> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&>
> Sender
> notified by
> Mailtrack
> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&>
> 01/04/23,
> 05:35:23 PM
>
> On Wed, Jan 4, 2023 at 5:26 PM Hieu Hoang <hieuhoang@gmail.com> wrote:
>
> > it may be that a previous step failed, eg due to running out of disk
> > space, choking on bad data.
> >
> > Check the logs for the previous steps
> >
> > Hieu Hoang
> > http://statmt.org/hieu
> >
> >
> > On Wed, 4 Jan 2023 at 11:42, Sainik Kumar Mahata <sainik.mahata@gmail.com>
> > wrote:
> >
> >> Dear All,
> >>
> >> I have trained my translation models using Moses Toolkit multiple times
> >> before, but recently, when I tried training a fresh model, I am receiving
> >> the following error message.
> >>
> >> No such file or directory while opening
> >> /home/sainik/working/train/model/extract.o.sorted.gz
> >> Aborted
> >> Exit code: 134
> >>
> >> Also, when I am looking into the log file, I can find two more
> >> warning/error messages.
> >>
> >> Use of uninitialized value in substitution (s///) at
> >> /home/xyx/mosesdecoder/scripts/training/LexicalTranslationModel.pm line 40.
> >> Use of uninitialized value $a in split at
> >> /home/xyz/mosesdecoder/scripts/training/LexicalTranslationModel.pm line 109.
> >>
> >> This never happened before and it would be very kind of anyone, who can
> >> guide me on this issue.
> >>
> >> Thanks in advance.
> >>
> >>
> >> --
> >>
> >> Regards,
> >>
> >> Sainik
> >> Phone/WA: +91-9038141146
> >>
> >>
> >> [image: Mailtrack]
> >> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&> Sender
> >> notified by
> >> Mailtrack
> >> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&> 01/04/23,
> >> 05:05:11 PM
> >> _______________________________________________
> >> Moses-support mailing list
> >> Moses-support@mit.edu
> >> https://mailman.mit.edu/mailman/listinfo/moses-support
> >>
> >
>
> --
>
> Regards,
>
> Sainik
> Phone/WA: +91-9038141146


--
Mit freundlichen Gr??en,
Oleg Parashchenko


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

Message: 2
Date: Mon, 9 Jan 2023 21:13:10 +0530
From: Sainik Kumar Mahata <sainik.mahata@gmail.com>
To: Oleg Parashchenko <olpa@uucode.com>
Cc: Hieu Hoang <hieuhoang@gmail.com>, moses-support
<moses-support@mit.edu>
Subject: Re: [Moses-support] Error: No such file or directory while
opening /home/xyz/working/train/model/extract.o.sorted.gz
Message-ID:
<CA+vEDJORKkkuCSYHtj5=x5k5yw+r8F-OZLLRWj3c19JGh5r27g@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I installed python-dev-is-python3, and it solved the problem. Thanks.

On Mon, 9 Jan, 2023, 8:15 pm Oleg Parashchenko, <olpa@uucode.com> wrote:

> Hello,
>
> in my docker images I install "python3-dev" and later create a symlink:
>
> ```
> ln -s /usr/bin/python3 /usr/bin/python
> ```
>
> Regards,
> Oleg
>
> On Wed, 4 Jan 2023 17:35:41 +0530
> Sainik Kumar Mahata <sainik.mahata@gmail.com> wrote:
>
> > I think, the issue is with the "python-dev" package that is installed as
> a
> > dependency.
> >
> > Executing: /home/sainik/mosesdecoder/tools/merge_alignment.py
> >
> /home/sainik/working/train/giza.bn-en/bn-en.A3.final.part*>/home/sainik/working/train/giza.bn-en/bn-en.A3.final
> > /usr/bin/env: 'python': No such file or directory
> > Exit code: 127
> >
> > When I am trying to install python-dev, ubuntu says that there is no
> > installation certificate, and instead tells me to
> > install python2-dev/python2/python-dev-is-python3
> >
> > Can you kindly suggest, what to install instead of python-dev?
> >
> >
> >
> >
> > [image: Mailtrack]
> > <
> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&
> >
> > Sender
> > notified by
> > Mailtrack
> > <
> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&
> >
> > 01/04/23,
> > 05:35:23 PM
> >
> > On Wed, Jan 4, 2023 at 5:26 PM Hieu Hoang <hieuhoang@gmail.com> wrote:
> >
> > > it may be that a previous step failed, eg due to running out of disk
> > > space, choking on bad data.
> > >
> > > Check the logs for the previous steps
> > >
> > > Hieu Hoang
> > > http://statmt.org/hieu
> > >
> > >
> > > On Wed, 4 Jan 2023 at 11:42, Sainik Kumar Mahata <
> sainik.mahata@gmail.com>
> > > wrote:
> > >
> > >> Dear All,
> > >>
> > >> I have trained my translation models using Moses Toolkit multiple
> times
> > >> before, but recently, when I tried training a fresh model, I am
> receiving
> > >> the following error message.
> > >>
> > >> No such file or directory while opening
> > >> /home/sainik/working/train/model/extract.o.sorted.gz
> > >> Aborted
> > >> Exit code: 134
> > >>
> > >> Also, when I am looking into the log file, I can find two more
> > >> warning/error messages.
> > >>
> > >> Use of uninitialized value in substitution (s///) at
> > >> /home/xyx/mosesdecoder/scripts/training/LexicalTranslationModel.pm
> line 40.
> > >> Use of uninitialized value $a in split at
> > >> /home/xyz/mosesdecoder/scripts/training/LexicalTranslationModel.pm
> line 109.
> > >>
> > >> This never happened before and it would be very kind of anyone, who
> can
> > >> guide me on this issue.
> > >>
> > >> Thanks in advance.
> > >>
> > >>
> > >> --
> > >>
> > >> Regards,
> > >>
> > >> Sainik
> > >> Phone/WA: +91-9038141146
> > >>
> > >>
> > >> [image: Mailtrack]
> > >> <
> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&>
> Sender
> > >> notified by
> > >> Mailtrack
> > >> <
> https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&>
> 01/04/23,
> > >> 05:05:11 PM
> > >> _______________________________________________
> > >> Moses-support mailing list
> > >> Moses-support@mit.edu
> > >> https://mailman.mit.edu/mailman/listinfo/moses-support
> > >>
> > >
> >
> > --
> >
> > Regards,
> >
> > Sainik
> > Phone/WA: +91-9038141146
>
>
> --
> Mit freundlichen Gr??en,
> Oleg Parashchenko
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.mit.edu/mailman/private/moses-support/attachments/20230109/a1460bd0/attachment.htm>

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

Subject: Digest Footer

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


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

End of Moses-support Digest, Vol 194, Issue 3
*********************************************

0 Response to "Moses-support Digest, Vol 194, Issue 3"

Post a Comment