Bug 134367

Summary: Warnings from system-config-samba
Product: Red Hat Enterprise Linux 4 Reporter: H.J. Lu <hongjiu.lu>
Component: system-config-sambaAssignee: Daniel Riek <riek>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: nphilipp
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-05 01:45:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description H.J. Lu 2004-10-01 18:34:14 UTC
I got

[root@gnu-10 rc3.d]# DISPLAY=gnu-d:0 system-config-samba
/usr/share/system-config-samba/mainWindow.py:113: DeprecationWarning:
use gtk.UIManager
  item_fac = gtk.ItemFactory(gtk.MenuBar, "<main>", accel_group)
/usr/share/system-config-samba/mainWindow.py:138: DeprecationWarning:
  button = self.toolbar.insert_stock('gtk-add', _("Add a samba
share"), None, self.onNewButtonClicked, None, 0)
/usr/share/system-config-samba/mainWindow.py:143: DeprecationWarning:
  self.properties_button = self.toolbar.insert_stock('gtk-properties',
_("Edit the properties of the selected directory"), None,
self.onPropertiesButtonClicked, None, 1)
/usr/share/system-config-samba/mainWindow.py:148: DeprecationWarning:
  self.delete_button = self.toolbar.insert_stock('gtk-delete',
_("Delete the selected directory"), None, self.onDeleteButtonClicked,
None, 2)
/usr/share/system-config-samba/mainWindow.py:153: DeprecationWarning:
  self.toolbar.insert_stock('gtk-help', _("View help"), None,
self.onHelpClicked, None, 3)
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py:90:
GtkDeprecationWarning: gtk.mainloop is deprecated, use gtk.main instead
  self.warn(message, DeprecationWarning)

Comment 1 Nils Philippsen 2004-10-04 12:17:04 UTC
Which version of system-config-samba do you use?

Comment 2 H.J. Lu 2004-10-04 20:38:57 UTC
I am using system-config-samba-1.2.14-1.

Comment 3 Nils Philippsen 2004-10-05 16:17:20 UTC
system-config-samba-1.2.18-1 is currently building which contains
fixes for the gtk.mainloop()/gtk.mainquit() warnings. To fix the
gtk.ItemFactory and related warnings, part of the UI needs to be
reimplemented to use new widgets, which breaks translation etc. I'll
postpone this for after FC3 is released.

Comment 4 Nils Philippsen 2004-10-05 16:21:28 UTC
After fc2test3 mabye if all works out well.

Comment 5 Andrius Benokraitis 2004-11-30 22:41:22 UTC
Seeing same warnings in version 1.2.21 (RHEL4B2)

Comment 6 Nils Philippsen 2004-12-29 10:21:01 UTC
*** Bug 143678 has been marked as a duplicate of this bug. ***

Comment 7 Nils Philippsen 2005-02-16 13:50:38 UTC
Bug 143678 reopened to keep track of things RHEL4 and FC3 separately.

Comment 9 David Lawrence 2006-03-10 16:33:47 UTC
NEEDINFO_PM has been deprecated. Changing status to NEEDINFO and changing
ownership to pm manager.

Comment 10 Daniel Riek 2006-08-02 17:51:51 UTC
Nils, do you know if that problem still persists?

Proposing for 4.5

Comment 11 Nils Philippsen 2006-08-04 10:12:49 UTC
Daniel, I'm pretty the problem still exists in RHEL4. But as backporting them
would be too much of a hassle (see comment #3, i.e. IMO just rebasing to a new
version would impose a similar burden on QE). Besides these warnings aren't
harmful at all, it's just a cosmetical issue.

Comment 12 Nils Philippsen 2006-08-04 10:13:59 UTC
"pretty sure" even

Comment 13 Daniel Riek 2006-09-05 01:32:19 UTC
PM NACK for RHEL6 based on Engineering feedback.

The impact of this issue is too low to justify the efforts to fix it in RHEL4. 

Comment 14 RHEL Program Management 2006-09-05 01:45:10 UTC
Product Management has reviewed and declined this request.  You may appeal this
decision by reopening this request.