Bug 8015 - Samba graphical admin tool fails to load in gnome
Samba graphical admin tool fails to load in gnome
Status: RESOLVED INVALID
Product: Samba 4.0
Classification: Unclassified
Component: Tools
unspecified
x64 Linux
: P5 normal
: ---
Assigned To: Jelmer Vernooij
samba4-qa@samba.org
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-16 09:20 UTC by caleb_may
Modified: 2011-03-17 09:39 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description caleb_may 2011-03-16 09:20:34 UTC
Samba graphical config crashes when trying to open in gnome.

Backtrace:

polkit.py:144:_enable_proxy:DBusException: org.freedesktop.DBus.Python.ValueError: 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 272, in parse
    token = self.createToken (line, section)
  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaParser.py", line 240, in createToken
    name, value = line.split ("=", 1)
ValueError: need more than 1 value to unpack


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 126, 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 144, in _enable_proxy
    raise e
DBusException: org.freedesktop.DBus.Python.ValueError: 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 272, in parse
    token = self.createToken (line, section)
  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaParser.py", line 240, in createToken
    name, value = line.split ("=", 1)
ValueError: need more than 1 value to unpack


Local variables in innermost frame:
e: DBusException('Traceback (most recent call last):\n  File "/usr/lib/python2.7/site-packages/slip/dbus/service.py", line 121, in reply_handler\n    result = method(self, *p, **k)\n  File "/usr/lib/python2.7/site-packages/scsamba/dbus/service/sambaBackend.py", line 51, in readSmbConf\n    return self.backend.readSmbConf ()\n  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaBackend.py", line 95, in readSmbConf\n    self.parser.parse (filecontents)\n  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaParser.py", line 272, in parse\n    token = self.createToken (line, section)\n  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaParser.py", line 240, in createToken\n    name, value = line.split ("=", 1)\nValueError: need more than 1 value to unpack\n',)
authfail_exception: <class 'scsamba.exc.AuthError'>
pkver: '1'
k: {}
handle_authfail: <function handle_authfail at 0x26961b8>
p: (<scsamba.dbus.proxy.sambaBackend.SambaBackend object at 0x262f710>,)
func: <function readSmbConf at 0x264b1b8>
exc_name: 'org.freedesktop.DBus.Python.ValueError'
authfail_result: <class 'slip.dbus.polkit.AUTHFAIL_DONTCATCH'>
authfail_callback: None
Comment 1 Matthias Dieter Wallnöfer 2011-03-16 17:58:26 UTC
Jelmer, this is a case for you.
Comment 2 Jelmer Vernooij 2011-03-17 09:32:47 UTC
system-config-samba is not maintained by the samba team.
Comment 3 Matthias Dieter Wallnöfer 2011-03-17 09:39:37 UTC
I've to close this as "INVALID" unless you are able demonstrate an issue in our server code.