Open petersanx opened 1 year ago
Unfortunately, the MT engine can't currently be used in Linux, but you might be able to run it in a Windows virtual machine and then expose the MT engine port in the virtual machine in the host Linux computer for the OmegaT plugin to use.
I have followed your advice. It runs OK in a VirtualBox machine and in a Qemu-KVM machine as well, but apparently I wasn't able to configure the networks (and maybe ports) the right way. I am really not very good at that.
However, I also installed the Machine in Wine (PlayOnLinux), and the connection with OmegaT seems to work perfectly,, at least with version 1.0.0.5. (I get the same error notices there, in the MT pane, as when trying to translate with a model inside OpusCATMT).
The only problem is that It works until a certain point, i.e. - I think - until marian.exe is started.
These are the Program error details:
"Unhandled exception: page fault on read access to 0xffffffffffffffff in 64-bit code (0x0000000140c9d01d).
Register dump:
rip:0000000140c9d01d rsp:000000000022e730 rbp:000000000022e860 eflags:00010202 ( R- -- I - - - )
rax:0000000000000001 rbx:000000000000020f rcx:0000000000000007 rdx:0000000140ff1910
rsi:00000000000dd2e0 rdi:0000000000000204 r8:0000000000000000 r9:000000000022e738 r10:0000000000130000
r11:000000000022e728 r12:00000000000db960 r13:00000000000db980 r14:00000000000db960 r15:0000000000000000
Stack dump:
0x000000000022e730: 00000000000db960 0000000000000003
0x000000000022e740: 0000000000000003 000000000022e860
0x000000000022e750: 000000000000020f 000000014084aa8c
0x000000000022e760: 00000000000dd0b0 000000000000020f
0x000000000022e770: 000000000022e860 0000000000000038
0x000000000022e780: 0000000140decab0 0000000000000016
0x000000000022e790: 0000000000000005 000000007bc2963e
0x000000000022e7a0: 0074726f732d6863 000000000022e978
0x000000000022e7b0: 000000000022e838 0000000000000000
0x000000000022e7c0: 000000000022eb60 00000000000dccd0
0x000000000022e7d0: 00000000000dccc0 0000000000000002
0x000000000022e7e0: 0000000000020000 000000007bc2963e
Backtrace:
=>0 0x0000000140c9d01d in marian (+0xc9d01d) (0x000000000022e860)
1 0x000000014084aa8c in marian (+0x84aa8b) (0x000000000022e860)
2 0x0000000140b60209 in marian (+0xb60208) (0x000000000022f0c0)
3 0x0000000140b5f51a in marian (+0xb5f519) (0x000000000022f7a0)
4 0x0000000140987ffc in marian (+0x987ffb) (0x000000000022fd39)
5 0x0000000140753583 in marian (+0x753582) (0x000000000022fd39)
6 0x000000014075674b in marian (+0x75674a) (0x0000000000000000)
7 0x0000000140c609f4 in marian (+0xc609f3) (0x0000000000000000)
8 0x000000007b62c8e9 BaseThreadInitThunk+0x8(unknown=
Can you help with this, perhaps? I haven't found anything about the general Windows system requirements for OpenCATMT or Marian. Perhaps it would be enough just to install some Windows components, drivers and/or such...?
Sorry, I have no experience whatsoever with Wine, so I wouldn't know where to begin. Only thing I can suggest is trying a different version of Wine.
I mean, what would be the easiest way to install it on a linux system with the OmegaT plugin working?