Fedora Account System
Red Hat Associate
Red Hat Customer
Version-Release number of selected component: bottles-1:51.10-2.fc39 Additional info: reporter: libreport-2.17.11 kernel: 6.6.9-200.fc39.x86_64 cmdline: /usr/bin/python3 /usr/bin/bottles cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-gnome-com.usebottles.bottles-67415.scope uid: 1000 reason: main_window.py:172:set_manager:AttributeError: 'NoneType' object has no attribute 'runners_available' executable: /usr/bin/bottles type: Python3 package: bottles-1:51.10-2.fc39 runlevel: N 5 exception_type: AttributeError crash_function: set_manager interpreter: python3-3.12.1-2.fc39.x86_64 Truncated backtrace: main_window.py:172:set_manager:AttributeError: 'NoneType' object has no attribute 'runners_available' Traceback (most recent call last): File "/usr/share/bottles/bottles/frontend/windows/main_window.py", line 172, in set_manager tmp_runners = [x for x in self.manager.runners_available if not x.startswith('sys-')] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'runners_available' Local variables in innermost frame: result: None error: AttributeError("'NoneType' object has no attribute 'get'") self: <main_window.MainWindow object at 0x7fae57676080 (MainWindow at 0x55da6edcde20)>
Created attachment 2010248 [details] File: os_info
Created attachment 2010249 [details] File: environ
Created attachment 2010250 [details] File: mountinfo
Created attachment 2010251 [details] File: open_fds
Created attachment 2010252 [details] File: namespaces
Created attachment 2010253 [details] File: backtrace
Created attachment 2010254 [details] File: cpuinfo
I've got an idea for a fix. How would I reproduce this issue to see if my idea fixes it?
opened bottles and crashed can diagnose if needed reporter: libreport-2.17.11 kernel: 6.7.7-200.fc39.x86_64 cmdline: /usr/bin/python3 /usr/bin/bottles cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-gnome-com.usebottles.bottles-146506.scope uid: 1000 reason: main_window.py:172:set_manager:AttributeError: 'NoneType' object has no attribute 'runners_available' executable: /usr/bin/bottles type: Python3 package: bottles-1:51.10-2.fc39 runlevel: N 5 exception_type: AttributeError crash_function: set_manager interpreter: python3-3.12.2-2.fc39.x86_64
Official Package: false Version: '51.10' DE/WM: gnome-classic Display: X.org: true X.org (port): :0 Wayland: true Graphics: vendors: intel: vendor: intel envs: DRI_PRIME: '1' icd: /usr/share/vulkan/icd.d/intel_hasvk_icd.x86_64.json:/usr/share/vulkan/icd.d/intel_icd.x86_64.json:/usr/share/vulkan/icd.d/intel_hasvk_icd.i686.json:/usr/share/vulkan/icd.d/intel_icd.i686.json prime: integrated: null discrete: null Kernel: Type: Linux Version: 6.7.7-200.fc39.x86_64 Disk: Total: 5615901474816 Free: 4790272704512 RAM: MemTotal: 31.2GiB MemAvailable: 26.5GiB Bottles_envs: null Tools and Libraries: cabextract: true p7zip: true patool: true glibc_min: '2.38' icoextract: true pefile: true orjson: true markdown: true ImageMagick: true FVS: true xdpyinfo: true
I think I have it covered in the coming release. Just a safety belt in the form of a try except wrapper around the crashing call. I plan to push the update within a week. Thanks for the extra info.
'NoneType' object has no attribute 'get' File "/usr/share/bottles/bottles/backend/utils/threading.py", line 59, in __target result = self.task_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/bottles/bottles/frontend/windows/main_window.py", line 231, in get_manager mng = Manager(g_settings=self.settings, check_connection=self.utils_conn.aborted_connections == 0) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/bottles/bottles/backend/utils/singleton.py", line 6, in __call__ cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/bottles/bottles/backend/managers/manager.py", line 150, in __init__ times.update(self.checks(install_latest=False, first_run=True).data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/bottles/bottles/backend/managers/manager.py", line 187, in checks self.check_runtimes(install_latest) or rv.set_status(False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/bottles/bottles/backend/managers/manager.py", line 462, in check_runtimes version = data.get("version") ^^^^^^^^ reporter: libreport-2.17.11 kernel: 6.7.7-200.fc39.x86_64 cmdline: /usr/bin/python3 /usr/bin/bottles cgroup: 0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Nautilus uid: 1000 reason: main_window.py:172:set_manager:AttributeError: 'NoneType' object has no attribute 'runners_available' executable: /usr/bin/bottles type: Python3 package: bottles-1:51.10-2.fc39 runlevel: N 5 exception_type: AttributeError crash_function: set_manager interpreter: python3-3.12.2-2.fc39.x86_64
That's a different issue, albeit similar. Any particular steps you took? I'm asking, because "opened bottles and crashed" is a) not very specific and b) not reproducible on my end. I happen to be able to open Bottles just fine on a freshly installed Fedora.
corrupted system is doing this i guess I'll fix it when fedora 40 comes out and i reinstall the OS
simple starting of botthes causes crash reporter: libreport-2.17.11 kernel: 6.7.7-200.fc39.x86_64 cmdline: /usr/bin/python3 /usr/bin/bottles cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-adcb246c-ac6e-4474-bbd9-5be662cf820c.scope uid: 1000 reason: main_window.py:172:set_manager:AttributeError: 'NoneType' object has no attribute 'runners_available' executable: /usr/bin/bottles type: Python3 package: bottles-1:51.10-2.fc39 runlevel: N 5 exception_type: AttributeError crash_function: set_manager interpreter: python3-3.12.2-2.fc39.x86_64 comment: simple starting of botthes causes crash
sent in case this happened to be new going to see if fedora 40 solves this but may be corruption in my copy of fedora 39
FEDORA-2024-0dfcd5ea8e (bottles-51.11-3.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-0dfcd5ea8e
FEDORA-2024-5445da7373 (bottles-51.11-3.fc38) has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2024-5445da7373
FEDORA-2024-5932cac21c (bottles-51.11-3.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-5932cac21c
(In reply to bdp from comment #16) > sent in case this happened to be new > > > going to see if fedora 40 solves this > > but may be corruption in my copy of fedora 39 Feel free to try the update I just pushed from Bodhi. However, with your issue not being reproducible on my end, it's kinda hard to track this down. Should this still happen on a freshly installed system, please open a new issue with as much detail as you have.
FEDORA-2024-5932cac21c has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-5932cac21c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5932cac21c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-5445da7373 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-2024-5445da7373` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5445da7373 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-0dfcd5ea8e 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-2024-0dfcd5ea8e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-0dfcd5ea8e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-0dfcd5ea8e (bottles-51.11-3.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-5445da7373 (bottles-51.11-3.fc38) has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-5932cac21c (bottles-51.11-3.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.