Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeepL must have changed something... #23

Open
Mr-McGregor opened this issue Oct 8, 2024 · 5 comments
Open

DeepL must have changed something... #23

Mr-McGregor opened this issue Oct 8, 2024 · 5 comments

Comments

@Mr-McGregor
Copy link

Mr-McGregor commented Oct 8, 2024

For a few days now, the application hasn't been working, and neither has this little alternative script:

#!/usr/bin/env bash text="$(xsel -o)’ text=‘${text//$’\n'/%0A}’ x-www-browser ‘https://www.deepl.com/fr/translator#auto/$text’

It seems that DeepL has changed its code and that ‘#auto’ is no longer recognised.
However, this line works for translating text from English into French:

x-www-browser ‘https://www.deepl.com/fr/translator#en/fr/$text’

Would it be possible to fix the application? And also to allow sandboxing under Ubuntu 24.04 ?

Thankx in advance.

@kainonergon
Copy link

I hoped that this PR will fix the issue, but it seems that it helps only partially. With it translation works OK, the shortcut moves the window into focus, but the clipboard is not inserted into the translation input field.

@Mr-McGregor
Copy link
Author

Thank you very much for the attempt, @kainonergon.
I am increasingly convinced that the problem is due to a change that DeepL has made.
I've just contacted the technical department at DeepL.
Best regards.

@kumakichi
Copy link
Owner

have a try: v1.5.0

@kainonergon
Copy link

Thanks! Now it really works again.

@Mr-McGregor
Copy link
Author

Mr-McGregor commented Oct 13, 2024

Sorry to say that it doesn't work at all on Ubuntu Budgie 24.04 (24.04 is nasty with AppImages):

$ ./Deepl-Linux-Electron-1.5.0.AppImage [16900:1013/180020.856909:FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_dl.App84leyE/chrome-sandbox is owned by root and has mode 4755. [appimagelauncher-binfmt-bypass/lib] ERROR: child exited with code 5

Wouldn't it be possible to make 'chrome-sandbox' have natively sufficient rights?

sudo chown root:root chrome-sandbox sudo chmod 4755 chrome-sandbox

It works when you disassemble the appimage with --appimage-extract and run "AppRun".

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

No branches or pull requests

3 participants