Bug 892775

Summary: [abrt] system-config-samba-1.2.98-1.fc18: sambaBackend.py:184:writeSmbUsersFile:AttributeError: 'SambaBackend' object has no attribute 'samba_users_file'
Product: [Fedora] Fedora Reporter: totophe56 <christophe.ribet>
Component: system-config-sambaAssignee: Nils Philippsen <nphilipp>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: nphilipp
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:17dba7f15675840375bbdd1c3b10175550bbc02a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-14 13:56:50 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:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ none

Description totophe56 2013-01-07 19:33:31 UTC
Version-Release number of selected component:
system-config-samba-1.2.98-1.fc18

Additional info:
cmdline:        /usr/bin/python /usr/bin/system-config-samba
executable:     /usr/bin/system-config-samba
kernel:         3.6.11-3.fc18.i686.PAE
uid:            0

Truncated backtrace:
sambaBackend.py:184:writeSmbUsersFile:AttributeError: 'SambaBackend' object has no attribute 'samba_users_file'

Traceback (most recent call last):
  File "/usr/share/system-config-samba/sambaUserWin.py", line 121, in onUsersOkButtonClicked
    self.samba_backend.writeSmbUsersFile()
  File "/usr/lib/python2.7/site-packages/scsamba/core/sambaBackend.py", line 184, in writeSmbUsersFile
    for line in self.samba_users_file:
AttributeError: 'SambaBackend' object has no attribute 'samba_users_file'

Local variables in innermost frame:
e: OSError(2, 'Aucun fichier ou dossier de ce type')
self: <scsamba.core.sambaBackend.SambaBackend object at 0x915528c>
oldmode: 420
fd: <open file '/etc/samba/smbusers.new', mode 'w' at 0x91cc498>
path: '/etc/samba/smbusers'
pathnew: '/etc/samba/smbusers.new'

Comment 1 totophe56 2013-01-07 19:33:34 UTC
Created attachment 674311 [details]
File: backtrace

Comment 2 totophe56 2013-01-07 19:33:36 UTC
Created attachment 674312 [details]
File: core_backtrace

Comment 3 totophe56 2013-01-07 19:33:40 UTC
Created attachment 674313 [details]
File: environ

Comment 4 Nils Philippsen 2013-01-14 13:56:50 UTC
Fixed in version 1.2.99.

*** This bug has been marked as a duplicate of bug 887591 ***