Bug 1883688 - [abrt] catfish: run(): CatfishSearchEngine.py:170:run:AttributeError: 'NoneType' object has no attribute 'endswith'
Summary: [abrt] catfish: run(): CatfishSearchEngine.py:170:run:AttributeError: 'NoneTy...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: catfish
Version: 32
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:8156e6044ab5f6c5d82c6f5240d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-29 21:10 UTC by Фукидид
Modified: 2020-10-09 16:27 UTC (History)
3 users (show)

Fixed In Version: catfish-1.4.13-2.fc33 catfish-1.4.11-2.fc32 catfish-1.4.11-2.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-05 00:15:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (690 bytes, text/plain)
2020-09-29 21:10 UTC, Фукидид
no flags Details
File: cpuinfo (2.19 KB, text/plain)
2020-09-29 21:10 UTC, Фукидид
no flags Details
File: environ (1.29 KB, text/plain)
2020-09-29 21:10 UTC, Фукидид
no flags Details
File: mountinfo (2.63 KB, text/plain)
2020-09-29 21:10 UTC, Фукидид
no flags Details
File: namespaces (172 bytes, text/plain)
2020-09-29 21:10 UTC, Фукидид
no flags Details
File: open_fds (1.66 KB, text/plain)
2020-09-29 21:10 UTC, Фукидид
no flags Details

Description Фукидид 2020-09-29 21:10:04 UTC
Version-Release number of selected component:
catfish-1.4.11-1.fc32.1

Additional info:
reporter:       libreport-2.13.1
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
cmdline:        /usr/bin/python3 /usr/libexec/catfish
crash_function: run
exception_type: AttributeError
executable:     /usr/libexec/catfish
interpreter:    python3-3.8.3-2.fc32.x86_64
kernel:         5.7.8-200.fc32.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
CatfishSearchEngine.py:170:run:AttributeError: 'NoneType' object has no attribute 'endswith'

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/catfish/CatfishWindow.py", line 902, in get_suggestions
    for filename in self.suggestions_engine.run(keywords, folder, 10):
  File "/usr/lib/python3.8/site-packages/catfish/CatfishSearchEngine.py", line 170, in run
    if not path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

Local variables in innermost frame:
self: <catfish.CatfishSearchEngine.CatfishSearchEngine object at 0x7f2eb422a880>
keywords: ['q']
path: None
limit: 10
regex: False
wildcard_chunks: []
keys: ['q']
key: 'q'

Comment 1 Фукидид 2020-09-29 21:10:09 UTC
Created attachment 1717666 [details]
File: backtrace

Comment 2 Фукидид 2020-09-29 21:10:11 UTC
Created attachment 1717667 [details]
File: cpuinfo

Comment 3 Фукидид 2020-09-29 21:10:15 UTC
Created attachment 1717668 [details]
File: environ

Comment 4 Фукидид 2020-09-29 21:10:17 UTC
Created attachment 1717669 [details]
File: mountinfo

Comment 5 Фукидид 2020-09-29 21:10:19 UTC
Created attachment 1717670 [details]
File: namespaces

Comment 6 Фукидид 2020-09-29 21:10:21 UTC
Created attachment 1717671 [details]
File: open_fds

Comment 7 Mamoru TASAKA 2020-09-30 15:38:21 UTC
Currently I am not sure how to reproduce this. Would you write in detail the procedure how to reproduce this?

Comment 8 Mamoru TASAKA 2020-10-01 01:27:16 UTC
Still I am waiting for the reply from the reporter, however for now I guess I reproduced this issue:
https://gitlab.xfce.org/apps/catfish/-/issues/35

Comment 9 Fedora Update System 2020-10-01 01:38:09 UTC
FEDORA-2020-378bba3016 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-378bba3016

Comment 10 Fedora Update System 2020-10-01 01:38:10 UTC
FEDORA-2020-378bba3016 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-378bba3016

Comment 11 Fedora Update System 2020-10-01 01:45:01 UTC
FEDORA-2020-c0b27ac130 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-c0b27ac130

Comment 12 Fedora Update System 2020-10-01 03:43:45 UTC
FEDORA-2020-7b77c874d2 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-7b77c874d2

Comment 13 Фукидид 2020-10-01 06:24:09 UTC
Unfortunately, it was a long time ago, I don't remember.

Comment 14 Fedora Update System 2020-10-02 01:46:29 UTC
FEDORA-2020-378bba3016 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-378bba3016`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-378bba3016

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2020-10-02 01:53:11 UTC
FEDORA-2020-7b77c874d2 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-7b77c874d2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-7b77c874d2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2020-10-02 02:10:41 UTC
FEDORA-2020-c0b27ac130 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-c0b27ac130`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-c0b27ac130

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2020-10-05 00:15:39 UTC
FEDORA-2020-378bba3016 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2020-10-09 16:13:35 UTC
FEDORA-2020-c0b27ac130 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2020-10-09 16:27:47 UTC
FEDORA-2020-7b77c874d2 has been pushed to the Fedora 31 stable repository.
If problem still persists, 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.