Bug 743942

Summary: [abrt] system-config-samba-1.2.93-1.fc15: connection.py:630:call_blocking:DBusException: org.freedesktop.DBus.Python.Exception: Traceback (most recent call last):
Product: [Fedora] Fedora Reporter: Shuresh Williams <stressfreechozeme>
Component: system-config-sambaAssignee: Nils Philippsen <nphilipp>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: davegmedina, jcmj, nphilipp, stressfreechozeme
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:25b9031805ba10fb6a0d1f2b94d99d50f750e8cf
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 17:32:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Shuresh Williams 2011-10-06 14:33:51 UTC
abrt version: 2.0.3
architecture:   x86_64
cmdline:        
comment:        run samba tool
component:      system-config-samba
executable:     /usr/bin/system-config-samba
kernel:         2.6.40.4-5.fc15.x86_64
os_release:     Fedora release 15 (Lovelock)
package:        system-config-samba-1.2.93-1.fc15
reason:         connection.py:630:call_blocking:DBusException: org.freedesktop.DBus.Python.Exception: Traceback (most recent call last):
time:           Thu Oct  6 10:31:28 2011
uid:            500
username:       stress

backtrace:
:connection.py:630:call_blocking:DBusException: org.freedesktop.DBus.Python.Exception: Traceback (most recent call last):
:  File "/usr/lib/python2.7/site-packages/slip/dbus/service.py", line 121, in reply_handler
:    result = method(self, *p, **k)
:  File "/usr/lib/python2.7/site-packages/scsamba/dbus/service/sambaBackend.py", line 51, in readSmbConf
:    return self.backend.readSmbConf ()
:  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaBackend.py", line 95, in readSmbConf
:    self.parser.parse (filecontents)
:  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaParser.py", line 278, in parse
:    section = SambaSection (self, section_name, token.value)
:  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaParser.py", line 36, in __init__
:    raise Exception ("section %s already defined" % (name))
:Exception: section scanns already defined
:
:
:Traceback (most recent call last):
:  File "/usr/bin/system-config-samba", line 55, in <module>
:    main_window = mainWindow.MainWindow (debug_flag = debug_flag, use_dbus = use_dbus)
:  File "/usr/share/system-config-samba/mainWindow.py", line 122, in __init__
:    self.samba_data = sambaConfig.SambaConfig (self.samba_backend)
:  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaConfig.py", line 28, in __init__
:    self.parseFile ()
:  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaConfig.py", line 31, in parseFile
:    return self.parse (self.backend.readSmbConf ())
:  File "<string>", line 2, in readSmbConf
:  File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 141, in _enable_proxy
:    return func(*p, **k)
:  File "/usr/lib/python2.7/site-packages/scsamba/dbus/proxy/sambaBackend.py", line 49, in readSmbConf
:    return self.dbus_interface.readSmbConf ()
:  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 68, in __call__
:    return self._proxy_method(*args, **keywords)
:  File "/usr/lib/python2.7/site-packages/slip/dbus/proxies.py", line 50, in __call__
:    return dbus.proxies._ProxyMethod.__call__(self, *args, **kwargs)
:  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
:    **keywords)
:  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
:    message, timeout)
:DBusException: org.freedesktop.DBus.Python.Exception: Traceback (most recent call last):
:  File "/usr/lib/python2.7/site-packages/slip/dbus/service.py", line 121, in reply_handler
:    result = method(self, *p, **k)
:  File "/usr/lib/python2.7/site-packages/scsamba/dbus/service/sambaBackend.py", line 51, in readSmbConf
:    return self.backend.readSmbConf ()
:  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaBackend.py", line 95, in readSmbConf
:    self.parser.parse (filecontents)
:  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaParser.py", line 278, in parse
:    section = SambaSection (self, section_name, token.value)
:  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaParser.py", line 36, in __init__
:    raise Exception ("section %s already defined" % (name))
:Exception: section scanns already defined
:
:
:Local variables in innermost frame:
:byte_arrays: False
:self: <dbus._dbus.SystemBus (system) at 0x19de590>
:args: ()
:utf8_strings: False
:bus_name: dbus.UTF8String(':1.90')
:get_args_opts: {'byte_arrays': False, 'utf8_strings': False}
:object_path: '/org/fedoraproject/Config/Samba/Backend'
:timeout: 2147483.647
:signature: ''
:dbus_interface: 'org.fedoraproject.Config.Samba.Backend'
:message: <dbus.lowlevel.MethodCallMessage object at 0x1858a80>
:method: 'readSmbConf'

Comment 1 Nils Philippsen 2011-10-07 08:53:41 UTC
Please add the file /etc/samba/smb.conf as an attachment to this report. Thanks!

Comment 2 Nils Philippsen 2011-11-30 16:18:46 UTC
On F-16: 758650

Comment 3 Nils Philippsen 2012-01-17 14:37:47 UTC
(In reply to comment #1)
> Please add the file /etc/samba/smb.conf as an attachment to this report.
> Thanks!

I need this file to be attached here, so I can actually debug your problem. Thanks!

Comment 4 Shuresh Williams 2012-01-23 20:35:19 UTC
attempting to configure samba

Package: system-config-samba-1.2.93-1.fc16
OS Release: Fedora release 16 (Verne)

Comment 5 Nils Philippsen 2012-01-26 10:44:40 UTC
This is not what I asked for :-). Shuresh, please click on the link above the original description which says "Add an attachment", then choose the file "/etc/samba/smb.conf". I need to know the contents of this file to debug your problem. Thanks!

Comment 6 jeff 2012-02-28 17:35:38 UTC
Tried to start the samba config

Package: system-config-samba-1.2.96-1.fc16
OS Release: Fedora release 16 (Verne)

Comment 7 Shuresh Williams 2012-03-19 02:55:21 UTC
Attempted to start system-config-samba

Package: system-config-samba-1.2.96-1.fc16
OS Release: Fedora release 16 (Verne)

Comment 8 Dave Medina 2012-08-03 07:09:09 UTC
system-config-samba fails to start when launched from the KDE menu or CLI as a user or root. It IS reproducable. While the GUI is nice, configed the Samba via CLI and it's up and running reliably.

[root@blackcat ~]# system-config-samba
Traceback (most recent call last):                                                                                                                   
  File "/bin/system-config-samba", line 56, in <module>
    use_dbus=use_dbus)
  File "/usr/share/system-config-samba/mainWindow.py", line 136, in __init__
    self.samba_data = sambaConfig.SambaConfig(self.samba_backend)
  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaConfig.py", line 29, in __init__
    self.parseFile()
  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaConfig.py", line 32, in parseFile
    return self.parse(self.backend.readSmbConf())
  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaBackend.py", line 78, in readSmbConf
    self.parser.parse(filecontents)
  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaParser.py", line 369, in parse
    section = SambaSection(self, section_name, token.value)
  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaParser.py", line 91, in __init__
    raise Exception("section %s already defined" % (name))
Exception: section documents already defined


Package: system-config-samba-1.2.97-1.fc17
OS Release: Fedora release 17 (Beefy Miracle)

Comment 9 Dave Medina 2012-08-03 08:08:01 UTC
Nils, please disregard comment #8. A junior panicked and sent the report before running 'testparm smb.conf' post cli edit. It was definitely a parsing issue in smb.conf.  Thanks, _Dave

Comment 10 Fedora End Of Life 2012-08-07 17:32:20 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping