Bug 1204887 - firewall-cmd produces Python warning messages
Summary: firewall-cmd produces Python warning messages
Keywords:
Status: CLOSED DUPLICATE of bug 1202554
Alias: None
Product: Fedora
Classification: Fedora
Component: firewalld
Version: 22
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-23 17:06 UTC by Jeremy Young
Modified: 2015-03-24 08:36 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-03-24 08:36:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.