Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ksnip --version output printed to stderr #617

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

Closed
Sadi58 opened this issue Mar 27, 2021 · 2 comments
Closed

ksnip --version output printed to stderr #617

Sadi58 opened this issue Mar 27, 2021 · 2 comments
Assignees
Labels

Comments

@Sadi58
Copy link

Sadi58 commented Mar 27, 2021

Describe the bug
The output of terminal command ksnip --version seems to have two problems:

  1. The first two lines are "Unable to find any translation files for ksnip." and "Unable to find any translation files for kImageAnnotator." although ksnip has been properly installed, and translation files are in "/usr/share/ksnip/translations".
  2. The second problem probably related to this is that it's not possible to grab the ksnip version here, i.e. we can only see it, but we can neither use a command like grep "Version:" nor direct it to a file (e.g. ksnip --version > "/tmp/kversion.txt" for the same purpose.

Desktop:

  • OS: Linux
  • Distribution: KDE neon
  • Window System: X11
  • ksnip version: 1.8.1
  • Installed: ksnip-1.8.2.deb
@Sadi58 Sadi58 added the bug label Mar 27, 2021
@DamirPorobic
Copy link
Member

The first is an issue of the deb package, we have a general problem with translations there that need to be addressed #359

The second problem is due to the fact that qInfo prints by default to strerr instead of strout as it looks like. I'm looking into it if I can fix that quickly.

@DamirPorobic DamirPorobic self-assigned this Mar 27, 2021
@DamirPorobic DamirPorobic changed the title ksnip --version command output problem ksnip --version output printed to stderr Mar 27, 2021
@DamirPorobic
Copy link
Member

The Version output should be now printed correctly to stdout. Regarding the translations please refer to the referenced issue.

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

No branches or pull requests

2 participants