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

Constructor returned NULL #334

Open
jeanas opened this issue Jun 27, 2023 · 0 comments
Open

Constructor returned NULL #334

jeanas opened this issue Jun 27, 2023 · 0 comments

Comments

@jeanas
Copy link

jeanas commented Jun 27, 2023

After changing the translator service to LibreTranslate, I got a system crash report, though the app didn't close:

libretrans.py:83:__init__:TypeError: constructor returned NULL

Traceback (most recent call last):
  File "/usr/share/dialect/search_provider", line 208, in _on_settings_changed
    self.translator = self._get_translator()
                      ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/dialect/search_provider", line 193, in _get_translator
    translator = TRANSLATORS[backend](
                 ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/dialect/dialect/translators/libretrans.py", line 83, in __init__
    lang_message = Soup.Message.new('GET', self.lang_url)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: constructor returned NULL

This is with Dialect 2.1.1 installed from the Fedora 38 repos.

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

1 participant