Bug 603964 - [abrt] crash in system-config-samba-1.2.89-1.fc13: sambaToken.py:76:sambaTokenCanonicalNameValue:UnknownKeyError: visible
Summary: [abrt] crash in system-config-samba-1.2.89-1.fc13: sambaToken.py:76:sambaToke...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-samba
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4235cdf2
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-15 02:54 UTC by John Doward
Modified: 2011-07-06 21:36 UTC (History)
2 users (show)

Fixed In Version: system-config-samba-1.2.92-1.fc15
Clone Of:
Environment:
Last Closed: 2011-07-06 21:36:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.23 KB, text/plain)
2010-06-15 02:54 UTC, John Doward
no flags Details

Description John Doward 2010-06-15 02:54:07 UTC
abrt 1.1.1 detected a crash.

architecture: x86_64
cmdline: /usr/bin/python /usr/bin/system-config-samba
component: system-config-samba
executable: /usr/bin/system-config-samba
kernel: 2.6.33.5-112.fc13.x86_64
package: system-config-samba-1.2.89-1.fc13
reason: sambaToken.py:76:sambaTokenCanonicalNameValue:UnknownKeyError: visible
release: Fedora release 13 (Goddard)

backtrace
-----
sambaToken.py:76:sambaTokenCanonicalNameValue:UnknownKeyError: visible

Traceback (most recent call last):
  File "/usr/share/system-config-samba/mainWindow.py", line 389, in onPropertiesButtonClicked
    self.showPropertiesDialog ()
  File "/usr/share/system-config-samba/mainWindow.py", line 396, in showPropertiesDialog
    self.share_win.showEditWindow (iter, section)
  File "/usr/share/system-config-samba/shareWindow.py", line 162, in showEditWindow
    writeable = section.getKey ("writeable")
  File "/usr/lib/python2.6/site-packages/scsamba/core/sambaParser.py", line 110, in getKey
    token = self.fetchKey (name)
  File "/usr/lib/python2.6/site-packages/scsamba/core/sambaParser.py", line 98, in fetchKey
    if token.canonicalNameValue ()[0].lower () == canonicalName.lower ():
  File "/usr/lib/python2.6/site-packages/scsamba/core/sambaToken.py", line 109, in canonicalNameValue
    return sambaTokenCanonicalNameValue (self.keyname, self.keyval)
  File "/usr/lib/python2.6/site-packages/scsamba/core/sambaToken.py", line 76, in sambaTokenCanonicalNameValue
    raise UnknownKeyError (keyname)
UnknownKeyError: visible

Local variables in innermost frame:
keyname: u'visible'
keyval: u'no'
_keyname: u'visible'
key: 'writeable'
inverted: False

Comment 1 John Doward 2010-06-15 02:54:09 UTC
Created attachment 424016 [details]
File: backtrace

Comment 2 Nils Philippsen 2011-04-04 13:52:18 UTC
Sorry for the late response... Can you attach the /etc/samba/smb.conf to this bug and describe what you did before the crash? Thanks.

Comment 3 Bug Zapper 2011-06-02 10:50:21 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is 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 please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

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

Comment 4 Nils Philippsen 2011-06-21 12:53:33 UTC
I found a way to reproduce this error this way:

1) with a text editor, create a share in /etc/samba/smb.conf with an unknown key/value pair ("visible = false" for example)
2) start system-config-samba
3) open the properties dialog for that share (double-click on it or select it, then File->Properties or the properties button in the toolbar

-> gives a traceback here

Comment 5 Fedora Update System 2011-06-21 15:56:37 UTC
system-config-samba-1.2.92-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/system-config-samba-1.2.92-1.fc15

Comment 6 Fedora Update System 2011-06-21 15:56:47 UTC
system-config-samba-1.2.92-1.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/system-config-samba-1.2.92-1.fc13

Comment 7 Fedora Update System 2011-06-21 16:02:07 UTC
system-config-samba-1.2.92-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/system-config-samba-1.2.92-1.fc14

Comment 8 Fedora Update System 2011-06-21 23:52:15 UTC
Package system-config-samba-1.2.92-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-config-samba-1.2.92-1.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/system-config-samba-1.2.92-1.fc15
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2011-07-06 21:29:16 UTC
system-config-samba-1.2.92-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2011-07-06 21:36:53 UTC
system-config-samba-1.2.92-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.