Bug 562123

Summary: [abrt] crash in fslint-2.40-2.fc12
Product: [Fedora] Fedora Reporter: Lari Tanase <larieu>
Component: fslintAssignee: Pádraig Brady <p>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: p
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:ed56d0dc
Fixed In Version: fslint-2.42-1.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-30 23:40:44 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

Description Lari Tanase 2010-02-05 10:10:34 UTC
abrt 1.0.4 detected a crash.

architecture: x86_64
cmdline: python /usr/bin/fslint-gui
component: fslint
executable: /usr/bin/fslint-gui
kernel: 2.6.31.12-174.2.3.fc12.x86_64
package: fslint-2.40-2.fc12
release: Fedora release 12 (Constantine)

backtrace
-----
Summary: TBed56d0dc posixpath.py:311:normpath:AttributeError: 'NoneType' object has no attribute 'startswith'

Traceback (most recent call last):
  File "/usr/bin/fslint-gui", line 1154, in on_addOkDir_clicked
    path = os.path.normpath(path)
  File "/usr/lib64/python2.6/posixpath.py", line 311, in normpath
    initial_slashes = path.startswith('/')
AttributeError: 'NoneType' object has no attribute 'startswith'

Local variables in innermost frame:
path: None

How to reproduce
-----
1.open
2.try to put one samba share (smb://Admin.184.33/e$/) as place to look
3.crah

Comment 1 Lari Tanase 2010-02-05 10:10:37 UTC
Created attachment 389035 [details]
File: backtrace

Comment 2 Pádraig Brady 2010-02-05 11:16:33 UTC
I can't reproduce on my system with entering smb://... as that's just appended to my file system path. However I could reproduce by clicking "recently used" and then clicking OK without selecting anything.

Hopefully this will fix the issue for you:
http://code.google.com/p/fslint/source/detail?r=241

you could apply that change to /usr/bin/fslint-gui on your system, or if you want to test the latest trunk you can download and run by doing:

svn checkout http://fslint.googlecode.com/svn/trunk/ fslint
cd fslint
(cd po && make)
./fslint-gui

I'll mark this as fixed when I check in 2.41 into Fedora.

cheers!

Comment 3 Fedora Update System 2010-04-29 22:50:11 UTC
fslint-2.42-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/fslint-2.42-1.fc11

Comment 4 Fedora Update System 2010-04-29 22:50:15 UTC
fslint-2.42-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/fslint-2.42-1.fc12

Comment 5 Fedora Update System 2010-04-29 22:50:20 UTC
fslint-2.42-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/fslint-2.42-1.fc13

Comment 6 Fedora Update System 2010-04-30 23:40:40 UTC
fslint-2.42-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2010-05-03 16:11:23 UTC
fslint-2.42-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-05-03 16:13:40 UTC
fslint-2.42-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.