Bug 2221500
| Summary: | [abrt] bottles: __get_exec_type(): executor.py:172:__get_exec_type:AttributeError: 'NoneType' object has no attribute 'lower' | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | alod123 | ||||||||||||||||
| Component: | bottles | Assignee: | Sandro <gui1ty> | ||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | 38 | CC: | alod123, ego.cordatus, gui1ty, mail, maxwell, thunderbirdtr, walter.pete | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/e2bce7cc596385de764146502acdfb33fc8e9ce | ||||||||||||||||||
| Whiteboard: | abrt_hash:e2670b1029ada111e64820a08e23a43398ff85b5;VARIANT_ID=xfce; | ||||||||||||||||||
| Fixed In Version: | bottles-51.9-1.fc40 bottles-51.9-1.fc39 bottles-51.9-1.fc38 | Doc Type: | If docs needed, set a value | ||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2023-09-17 20:32:08 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: |
|
||||||||||||||||||
Created attachment 1974844 [details]
File: os_info
Created attachment 1974845 [details]
File: environ
Created attachment 1974846 [details]
File: mountinfo
Created attachment 1974847 [details]
File: open_fds
Created attachment 1974848 [details]
File: namespaces
Created attachment 1974849 [details]
File: backtrace
Created attachment 1974850 [details]
File: cpuinfo
I think you made a mistake constructing the command:
> cmdline: /usr/bin/python3 /usr/bin/bottles-cli run -b gaming1 executableNameUnity.exe
You have to pass the executable name with '-e foo.exe'. In your case, assuming 'executableName' is not part of the name, this should be:
bottles-cli run -b gaming1 -e Unity.exe
If I leave out the '-e' I can reproduce the AttributeError.
In case you didn't run 'bottles-cli' yourself, could you describe what steps you took that resulted in the error?
FEDORA-2023-ab9b6be38b has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-ab9b6be38b FEDORA-2023-ab9b6be38b has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2023-5d9f9069dd has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-5d9f9069dd FEDORA-2023-1886bcf803 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-1886bcf803 FEDORA-2023-1886bcf803 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-1886bcf803` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-1886bcf803 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-5d9f9069dd has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-5d9f9069dd` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-5d9f9069dd See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-1886bcf803 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2023-5d9f9069dd has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report. |
Version-Release number of selected component: bottles-1:51.6-1.fc38 Additional info: reporter: libreport-2.17.11 kernel: 6.3.8-200.fc38.x86_64 cgroup: 0::/user.slice/user-1000.slice/session-12.scope uid: 1000 reason: executor.py:172:__get_exec_type:AttributeError: 'NoneType' object has no attribute 'lower' executable: /usr/bin/bottles-cli type: Python3 package: bottles-1:51.6-1.fc38 runlevel: N 5 exception_type: AttributeError crash_function: __get_exec_type interpreter: python3-3.11.4-1.fc38.x86_64 cmdline: /usr/bin/python3 /usr/bin/bottles-cli run -b gaming1 executableNameUnity.exe Truncated backtrace: executor.py:172:__get_exec_type:AttributeError: 'NoneType' object has no attribute 'lower' Traceback (most recent call last): File "/usr/bin/bottles-cli", line 653, in <module> cli = CLI() ^^^^^ File "/usr/bin/bottles-cli", line 150, in __init__ self.__process_args() File "/usr/bin/bottles-cli", line 199, in __process_args self.run_program() File "/usr/bin/bottles-cli", line 588, in run_program WineExecutor( File "/usr/share/bottles/bottles/backend/wine/executor.py", line 55, in __init__ self.exec_type = self.__get_exec_type(exec_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/bottles/bottles/backend/wine/executor.py", line 172, in __get_exec_type _exec = exec_path.lower() ^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'lower' Local variables in innermost frame: exec_path: None