Bug 1204887

Summary: firewall-cmd produces Python warning messages
Product: [Fedora] Fedora Reporter: Jeremy Young <jrm16020>
Component: firewalldAssignee: Thomas Woerner <twoerner>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 22CC: jpopelka, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-24 08:36:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeremy Young 2015-03-23 17:06:09 UTC
Description of problem:
When using firewall-cmd, with and without bash autocompletion, I receive a python warning message.  The command passed to firewall-cmd still works as I expect it to, but the python errors are clutter.

Version-Release number of selected component (if applicable):
firewall-config.noarch                   0.3.13-3.fc22                   @System
firewalld.noarch                         0.3.13-3.fc22                   @System
firewalld-config-workstation.noarch      0.3.13-3.fc22                   @System
firewalld-filesystem.noarch              0.3.13-3.fc22                   @System

How reproducible:
Every time.


Steps to Reproduce:
1. Open bash shell as root
2. Attempt to use firewall-cmd to interact with firewalld.  For example, "firewall-cmd --state"

Actual results:
firewall-cmd --state
/usr/lib/python2.7/site-packages/slip/_wrappers/_gobject.py:53: PyGIDeprecationWarning: GObject.MainLoop is deprecated; use GLib.MainLoop instead
  setattr(_self, what, getattr(_mod, what))
/usr/lib/python2.7/site-packages/slip/_wrappers/_gobject.py:53: PyGIDeprecationWarning: GObject.source_remove is deprecated; use GLib.source_remove instead
  setattr(_self, what, getattr(_mod, what))
/usr/lib/python2.7/site-packages/slip/_wrappers/_gobject.py:53: PyGIDeprecationWarning: GObject.timeout_add is deprecated; use GLib.timeout_add instead
  setattr(_self, what, getattr(_mod, what))
running

Expected results:
firewall-cmd --state
running

Additional info:

Comment 1 Jiri Popelka 2015-03-24 08:36:49 UTC

*** This bug has been marked as a duplicate of bug 1202554 ***