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

bug(linux): don't crash if fcitx5-configtool can't be found #13282

Closed
ermshiperete opened this issue Feb 19, 2025 · 2 comments · Fixed by #13363
Closed

bug(linux): don't crash if fcitx5-configtool can't be found #13282

ermshiperete opened this issue Feb 19, 2025 · 2 comments · Fixed by #13363
Assignees
Milestone

Comments

@ermshiperete
Copy link
Contributor

ermshiperete commented Feb 19, 2025

It seems to be possible that fcitx5 is reported running, but fcitx5-configtool can't be found. We should catch (and ignore) the exception, or check beforehand if fcitx5-configtool is available.

Call stack:

FileNotFoundError: [Errno 2] No such file or directory: 'fcitx5-configtool'
  File "keyman_config/install_window.py", line 370, in on_install_clicked
    subprocess.run(['fcitx5-configtool'])
  File "subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
  File "subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "subprocess.py", line 1955, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)

Sentry issue: KEYMAN-LINUX-7S

Copy link

sentry-io bot commented Feb 19, 2025

Sentry Issue: KEYMAN-LINUX-7S

@ermshiperete
Copy link
Contributor Author

Fixed by #13363

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

Successfully merging a pull request may close this issue.

1 participant