Hi Barry,
idon't chang user , i already have single user in this system mohammed
hassanien Mohammed
Egyption Programmers Vice-captain
01000121556
Egyption Programmers Syndicate
On Friday, February 13, 2015 2:12 PM, Barry Haddow
<[email protected]> wrote:
Hi Mohammed
If you look at this discussion:
http://unix.stackexchange.com/questions/38538/bash-dev-stderr-permission-denied
it seems that you have changed users in a terminal session, and you are
executing the script as a user that does not have permission to access
the terminal i/o devices. symal tries to explicitly open /dev/stdout
(which it probably shouldn't) and fails.
If you can open your terminal and run the training without switching
user then it should work.
cheers - Barry
On 13/02/15 11:53, mhmd hassnen wrote:
> I use Linux Ubuntu <http://www.ubuntu.com/> 14
>
> Sent from my iPhone
>
> On Feb 11, 2015, at 8:10 PM, Hieu Hoang <[email protected]
> <mailto:[email protected]>> wrote:
>
>> what operating system are you using? if linux, what exact distro and
>> version. If windows/cygwin, what exact version of cygwin?
>>
>> does it have the file
>> */dev/stdin
>>
>> *
>> On 11/02/15 09:30, mohamed hasanien wrote:
>>> *when i try to execute the train-model.perl i get this error
>>> using this command *
>>> *
>>> nohup nice ~/mosesdecoder/scripts/training/train-model.perl
>>> -external-bin-dir $HOME/mosesdecoder/tools --corpus
>>> ~/corpus/news-commentary-v8.fr
>>> <http://news-commentary-v8.fr>-en.clean --f fr --e en -lm
>>> 0:3:$HOME/lm/news-commentary-v8.fr
>>> <http://news-commentary-v8.fr>-en.blm.en:8 –cores 2*
>>> *
>>> Hi all, *
>>> *
>>> i get this error in the nohup.out file *
>>> *
>>> Executing: /root/mosesdecoder/scripts/training/giza2bal.pl -d "gzip
>>> -cd ./giza.en-fr/en-fr.A3.final.gz" -i "gzip -cd ./giza.fr
>>> <http://giza.fr>-en/fr-en.A3.final.gz"
>>> |/root/mosesdecoder/scripts/../bin/symal -alignment="grow"
>>> -diagonal="yes" -final="yes" -both="no" >
>>> ./model/aligned.grow-diag-final*
>>> *cannot open /dev/stdin*
>>> *Exit code: 1*
>>> *ERROR: Can't generate symmetrized alignment file*
>>>
>>> mohammed hassanien Mohammed
>>> Egyption Programmers Vice-captain
>>> 01000121556
>>> Egyption Programmers Syndicate
>>> <http://www.egprogrammers.org/>
>>>
>>>
>>> _______________________________________________
>>> Moses-support mailing list
>>> [email protected]
>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>> --
>> Hieu Hoang
>> Research Associate (until March 2015)
>> ** searching for interesting commercial MT position **
>> University of Edinburgh
>> http://www.hoang.co.uk/hieu
>
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support