After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 745751 - org.gnome.Calculator.SearchProvider spams syslog with useless messages
org.gnome.Calculator.SearchProvider spams syslog with useless messages
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
3.16.x
Other Linux
: Normal normal
: ---
Assigned To: Michael Catanzaro
gcalctool maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-06 15:37 UTC by Christian Stadelmann
Modified: 2015-05-13 20:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
search-provider: discard stdout/stderr (2.28 KB, patch)
2015-05-10 22:55 UTC, Michael Catanzaro
committed Details | Review

Description Christian Stadelmann 2015-03-06 15:37:07 UTC
I run gnome-shell 3.14 on Fedora with gnome-calculator installed. Every time I use gnome-shell to search for something, I get these error messages:

org.gnome.Calculator.SearchProvider[1548]: Error: ErrorCode.UNKNOWN_VARIABLE

It is just normal that the calculator cannot parse every user input. This is no error and thus does not need to get logged.
Comment 1 Christian Stadelmann 2015-05-04 17:18:15 UTC
Still present in 3.16.
Comment 2 Michael Catanzaro 2015-05-10 22:55:56 UTC
Created attachment 303195 [details] [review]
search-provider: discard stdout/stderr

I can't reproduce this problem when I search for something not an equation and then check journalctl. Here's a speculative patch; please let me know if it fixes this for you. Thanks!
Comment 3 Christian Stadelmann 2015-05-13 20:02:48 UTC
Thank you very much, your patch fixes this problem for me.

Besides: Do you want to re-enable output if some debugging variable is provided?
Comment 4 Michael Catanzaro 2015-05-13 20:31:36 UTC
Nope. It's like you say: it is just normal that the calculator cannot parse every user input.
Comment 5 Michael Catanzaro 2015-05-13 20:32:16 UTC
Attachment 303195 [details] pushed as 58110d5 - search-provider: discard stdout/stderr