Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

"An error occurred while loading the translation engine" with Firefox and Linux #726

Closed
theyoungstone opened this issue Jun 13, 2023 · 2 comments

Comments

@theyoungstone
Copy link

Describe the bug

When I want to translate with the extension, I have the error "Une erreur s'est produite lors du chargement du moteur de traduction" (An error occurred while loading the translation engine)

Firefox 114.0.1 (64 bits), Linux Ubuntu 23.04 up to date

To Reproduce

Install the extension and try to translate, a site or simply a character chain

Expected behavior

Translation

Screenshots

Capture d’écran_2023-06-13_08-17-32
Capture d’écran_2023-06-13_08-18-19

Additional context

No response

Firefox Browser version

114.0.1 (64 bits)

Processor information

AMD Athlon(tm) II X4 640 Processor

OS version

Ubuntu 23.04 - Linux antec 6.2.0-20-generic #20-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 6 07:48:48 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

System type

64-bit

Firefox Translation Extension version

1.3.2buildid20230220.141944

Webpage on which issue was observed

All

Language of the webpage

English

Translating to (language)

French

Console logs from Web Developer Tools

Using fallback gemm implementation bergamot-translator-worker.js:2965:17
failed to asynchronously prepare wasm: CompileError: wasm validation error: at offset 32288: unrecognized opcode: fd c bergamot-translator-worker.js:526:11
Error loading wasm module. translationWorker.js:73:29
Aborted(CompileError: wasm validation error: at offset 32288: unrecognized opcode: fd c) bergamot-translator-worker.js:445:9
RuntimeError: Aborted(CompileError: wasm validation error: at offset 32288: unrecognized opcode: fd c). Build with -s ASSERTIONS=1 for more info. bergamot-translator-worker.js:449:14

@cadeyrn
Copy link

cadeyrn commented Jun 13, 2023

SSE 4.1 is a strict requirement for Firefox Translations. According to my short Google search your CPU is too old and does not support SSE 4.1. You can follow BZ-1811908 to see if/once the requirement will be changed for the native integration in Firefox.

@theyoungstone
Copy link
Author

Thanks for the answer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants