*** This bug is a duplicate of bug 151603 ***
    https://bugs.launchpad.net/bugs/151603

Public bug reported:

Binary package hint: system-config-samba

Repro steps to trigger this bug:

1. Install Ubuntu Hardy and update it to the latest version
2. Type "sudo apt-get install system-config-samba"
3. Run "system-config-samba" (note that I did not use "sudo" in front of this 
command).

Expected results:
Program should terminate gracefully explaining that I cannot run it without 
administrator rights.

Actual results:
Program crashes with RuntimeError.


Note: If I run it from a terminal I can see some debugging info being printed, 
i.e. it prints (see below).
Of course if I run it through the normal "ALT-F2" run facility I don't get any 
explanation what so ever about what error caused the crash.

[EMAIL PROTECTED]:~$ system-config-samba
Traceback (most recent call last):
  File "/usr/sbin/system-config-samba", line 41, in <module>
    mainWindow.MainWindow(debug_flag)
  File "/usr/share/system-config-samba/mainWindow.py", line 113, in __init__
    self.samba_user_data = sambaUserData.SambaUserData(self)
  File "/usr/share/system-config-samba/sambaUserData.py", line 42, in __init__
    self.readSmbPasswords()
  File "/usr/share/system-config-samba/sambaUserData.py", line 59, in 
readSmbPasswords
    raise RuntimeError, (_("You do not have permission to execute %s." % 
pdbeditcmd))
RuntimeError: You do not have permission to execute /usr/bin/pdbedit.
[EMAIL PROTECTED]:~$

ProblemType: Crash
Architecture: i386
Date: Thu Apr 10 08:34:26 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/share/system-config-samba/system-config-samba.py
InterpreterPath: /usr/bin/python2.5
Package: system-config-samba 1.2.50-0ubuntu2
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/system-config-samba
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_DK.UTF-8
PythonArgs: ['/usr/sbin/system-config-samba']
SourcePackage: system-config-samba
Title: system-config-samba.py crashed with RuntimeError in readSmbPasswords()
Uname: Linux 2.6.24-15-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev 
powerdev sambashare scanner video

** Affects: system-config-samba (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-crash

-- 
system-config-samba.py crashed with RuntimeError in readSmbPasswords()
https://bugs.launchpad.net/bugs/214957
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to