Bug 1662185

Summary: [abrt] meld: isdir(): genericpath.py:42:isdir:TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
Product: [Fedora] Fedora Reporter: Gabriele Svelto <gabriele.svelto>
Component: meldAssignee: Dominic Hopf <dmaphy>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: bdpepple, christoph.wickert, dmaphy, lkundrak
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/8ab2669043efd09af62628491229d9ae4714a085
Whiteboard: abrt_hash:800ad66da9911bd0cd2c2e90f8747b88ff047f21;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-07 22:23:31 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: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Gabriele Svelto 2018-12-26 20:43:02 UTC
Description of problem:
I was comparing two very large folders (Windows user directories) stored on two different NTFS partitions, one stored in the local hard drive and one on an external drive.

Version-Release number of selected component:
meld-3.19.1-1.fc29

Additional info:
reporter:       libreport-2.9.7
cmdline:        /usr/bin/python3 /usr/bin/meld Users/gsvelto/AppData/ ../Windows/Users/gsvelto/AppData/
crash_function: isdir
exception_type: TypeError
executable:     /usr/bin/meld
interpreter:    python3-3.7.1-4.fc29.x86_64
kernel:         4.19.10-300.fc29.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
genericpath.py:42:isdir:TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/meld/dirdiff.py", line 1085, in on_treeview_selection_changed
    it, pane, os_path)
  File "/usr/lib/python3.7/site-packages/meld/tree.py", line 124, in is_folder
    return icon == "folder" or os.path.isdir(path)
  File "/usr/lib64/python3.7/genericpath.py", line 42, in isdir
    st = os.stat(s)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

Local variables in innermost frame:
s: None

Comment 1 Gabriele Svelto 2018-12-26 20:43:05 UTC
Created attachment 1516940 [details]
File: backtrace

Comment 2 Gabriele Svelto 2018-12-26 20:43:06 UTC
Created attachment 1516941 [details]
File: cgroup

Comment 3 Gabriele Svelto 2018-12-26 20:43:07 UTC
Created attachment 1516942 [details]
File: cpuinfo

Comment 4 Gabriele Svelto 2018-12-26 20:43:09 UTC
Created attachment 1516943 [details]
File: environ

Comment 5 Gabriele Svelto 2018-12-26 20:43:10 UTC
Created attachment 1516944 [details]
File: mountinfo

Comment 6 Gabriele Svelto 2018-12-26 20:43:11 UTC
Created attachment 1516945 [details]
File: namespaces

Comment 7 Gabriele Svelto 2018-12-26 20:43:13 UTC
Created attachment 1516946 [details]
File: open_fds

Comment 8 Dominic Hopf 2019-10-07 22:23:31 UTC

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