Bug 2076357

Summary: [abrt] bottles: __validate_path(): executor.py:55:__validate_path:TypeError: argument of type 'bool' is not iterable
Product: [Fedora] Fedora Reporter: gsckorohod
Component: bottlesAssignee: Artem <ego.cordatus>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: ego.cordatus, mail
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/3b5ee4b6f5d62914fe567c4de910f9dee2c4ebec
Whiteboard: abrt_hash:1e91b1229ca3d696b59dff91256ec822547aba76;VARIANT_ID=workstation;
Fixed In Version: bottles-2022.7.14-1.fc36 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-27 12:19:53 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: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description gsckorohod 2022-04-18 19:35:46 UTC
Description of problem:
Sometimes appears randomly when using the app, but doesn't cause it to crash. 
I will try to replicate this later and write exactly what I did.

Version-Release number of selected component:
bottles-2022.3.14-1.fc35

Additional info:
reporter:       libreport-2.15.2
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-com.usebottles.bottles-4298.scope
cmdline:        /usr/bin/python3 /usr/bin/bottles
crash_function: __validate_path
exception_type: TypeError
executable:     /usr/bin/bottles
interpreter:    python3-3.10.4-1.fc35.x86_64
kernel:         5.16.19-200.fc35.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
executor.py:55:__validate_path:TypeError: argument of type 'bool' is not iterable

Traceback (most recent call last):
  File "/usr/share/bottles/bottles/views/list.py", line 134, in run_executable
    executor = WineExecutor(
  File "/usr/share/bottles/bottles/backend/wine/executor.py", line 36, in __init__
    self.__validate_path(exec_path)
  File "/usr/share/bottles/bottles/backend/wine/executor.py", line 55, in __validate_path
    if ":\\" in exec_path:
TypeError: argument of type 'bool' is not iterable

Local variables in innermost frame:
exec_path: False

Comment 1 gsckorohod 2022-04-18 19:35:49 UTC
Created attachment 1873320 [details]
File: backtrace

Comment 2 gsckorohod 2022-04-18 19:35:50 UTC
Created attachment 1873321 [details]
File: cpuinfo

Comment 3 gsckorohod 2022-04-18 19:35:51 UTC
Created attachment 1873322 [details]
File: environ

Comment 4 gsckorohod 2022-04-18 19:35:52 UTC
Created attachment 1873323 [details]
File: mountinfo

Comment 5 gsckorohod 2022-04-18 19:35:54 UTC
Created attachment 1873324 [details]
File: namespaces

Comment 6 gsckorohod 2022-04-18 19:35:55 UTC
Created attachment 1873325 [details]
File: open_fds

Comment 7 Fedora Update System 2022-10-25 05:13:32 UTC
FEDORA-2022-14524d28ef has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-14524d28ef

Comment 8 Fedora Update System 2022-10-25 13:16:49 UTC
FEDORA-2022-14524d28ef has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-14524d28ef`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-14524d28ef

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

Comment 9 Fedora Update System 2022-10-27 12:19:53 UTC
FEDORA-2022-14524d28ef has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.