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 763558 - Some info and warning messages printed to cli
Some info and warning messages printed to cli
Status: RESOLVED FIXED
Product: gnome-tweak-tool
Classification: Applications
Component: general
3.19.x
Other All
: Normal normal
: ---
Assigned To: GNOME Tweak Tool maintainer(s)
GNOME Tweak Tool maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-03-13 01:34 UTC by Christian Stadelmann
Modified: 2016-03-14 16:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Elevate the regular logging level to WARNING (925 bytes, patch)
2016-03-14 16:08 UTC, Rui Matos
committed Details | Review
Fix a new round of PyGI deprecation warnings (2.12 KB, patch)
2016-03-14 16:08 UTC, Rui Matos
committed Details | Review

Description Christian Stadelmann 2016-03-13 01:34:57 UTC
These info and warning messages printed to cli shouldn't be there:

gnome-tweak-tool.desktop[9434]: /usr/lib/python2.7/site-packages/gtweak/utils.py:244: PyGIDeprecationWarning: GObject.SIGNAL_RUN_FIRST is deprecated; use GObject.SignalFlags.RUN_FIRST instead
gnome-tweak-tool.desktop[9434]:   "disable-extension": (GObject.SIGNAL_RUN_FIRST, GObject.TYPE_NONE,()),
gnome-tweak-tool.desktop[9434]: INFO    : GSettings missing key org.gnome.nautilus.desktop (key computer-icon-visible)
gnome-tweak-tool.desktop[9434]: INFO    : GSettings missing key org.gnome.settings-daemon.plugins.power (key lid-close-battery-action)
gnome-tweak-tool.desktop[9434]: INFO    : GSettings missing key org.gnome.settings-daemon.plugins.power (key lid-close-ac-action)
gnome-tweak-tool.desktop[9434]: INFO    : GSettings missing key org.gnome.settings-daemon.plugins.power (key lid-close-suspend-with-external-monitor)
gnome-tweak-tool.desktop[9434]: /usr/lib/python2.7/site-packages/gtweak/egowrapper.py:29: PyGIDeprecationWarning: GObject.SIGNAL_RUN_FIRST is deprecated; use GObject.SignalFlags.RUN_FIRST instead
gnome-tweak-tool.desktop[9434]:   "got-extensions": (GObject.SIGNAL_RUN_FIRST, GObject.TYPE_NONE,
gnome-tweak-tool.desktop[9434]: /usr/lib/python2.7/site-packages/gtweak/egowrapper.py:31: PyGIDeprecationWarning: GObject.SIGNAL_RUN_FIRST is deprecated; use GObject.SignalFlags.RUN_FIRST instead
gnome-tweak-tool.desktop[9434]:   "got-extension-info": (GObject.SIGNAL_RUN_FIRST, GObject.TYPE_NONE,
gnome-tweak-tool.desktop[9434]: /usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_xkb.py:63: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
gnome-tweak-tool.desktop[9434]:   l = Gtk.Label(name)

This is on Fedora 24 with gnome-tweak-tool 3.19.90
Comment 1 Rui Matos 2016-03-14 16:08:53 UTC
Created attachment 323891 [details] [review]
Elevate the regular logging level to WARNING

There's little value in logging informational messages under normal
conditions and we already have a command line switch to lower the
logging level for debugging.
Comment 2 Rui Matos 2016-03-14 16:08:59 UTC
Created attachment 323892 [details] [review]
Fix a new round of PyGI deprecation warnings
Comment 3 Rui Matos 2016-03-14 16:10:15 UTC
Attachment 323891 [details] pushed as 716e44c - Elevate the regular logging level to WARNING
Attachment 323892 [details] pushed as 3d3a8c2 - Fix a new round of PyGI deprecation warnings