Bug 2217189 - [abrt] blueman: make_device_icon(): ManagerDeviceList.py:265:make_device_icon:AttributeError: 'NoneType' object has no attribute 'load_surface'
Summary: [abrt] blueman: make_device_icon(): ManagerDeviceList.py:265:make_device_icon...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: blueman
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Artur Frenszek-Iwicki
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:89d50088ac339d99ab7b3cbe2bb...
: 2159590 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-24 23:18 UTC by Justin W. Flory (Red Hat)
Modified: 2023-09-20 01:31 UTC (History)
4 users (show)

Fixed In Version: blueman-2.3.5-7.fc40 blueman-2.3.5-7.fc39 blueman-2.3.5-4.fc37 blueman-2.3.5-5.fc38
Clone Of:
Environment:
Last Closed: 2023-09-11 16:43:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (734 bytes, text/plain)
2023-06-24 23:18 UTC, Justin W. Flory (Red Hat)
no flags Details
File: environ (3.30 KB, text/plain)
2023-06-24 23:18 UTC, Justin W. Flory (Red Hat)
no flags Details
File: mountinfo (3.86 KB, text/plain)
2023-06-24 23:18 UTC, Justin W. Flory (Red Hat)
no flags Details
File: open_fds (1.78 KB, text/plain)
2023-06-24 23:18 UTC, Justin W. Flory (Red Hat)
no flags Details
File: namespaces (171 bytes, text/plain)
2023-06-24 23:18 UTC, Justin W. Flory (Red Hat)
no flags Details
File: backtrace (1.05 KB, text/plain)
2023-06-24 23:18 UTC, Justin W. Flory (Red Hat)
no flags Details
File: cpuinfo (2.99 KB, text/plain)
2023-06-24 23:18 UTC, Justin W. Flory (Red Hat)
no flags Details

Description Justin W. Flory (Red Hat) 2023-06-24 23:18:37 UTC
Version-Release number of selected component:
blueman-1:2.3.5-2.fc38

Additional info:
reporter:       libreport-2.17.10
kernel:         6.3.5-200.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/blueman-manager
cgroup:         0::/user.slice/user-4211080.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-28a583a9-4d58-4c3d-b8db-74dc05d4a94f.scope
uid:            4211080
reason:         ManagerDeviceList.py:265:make_device_icon:AttributeError: 'NoneType' object has no attribute 'load_surface'
executable:     /usr/bin/blueman-manager
type:           Python3
package:        blueman-1:2.3.5-2.fc38
runlevel:       N 5
exception_type: AttributeError
crash_function: make_device_icon
interpreter:    python3-3.11.3-2.fc38.x86_64

Truncated backtrace:
ManagerDeviceList.py:265:make_device_icon:AttributeError: 'NoneType' object has no attribute 'load_surface'

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/blueman/gui/manager/ManagerDeviceList.py", line 648, in _set_cell_data
    surface = self.make_device_icon(row["icon_info"], row["paired"], row["trusted"], row["blocked"])
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/blueman/gui/manager/ManagerDeviceList.py", line 265, in make_device_icon
    target = icon_info.load_surface(window)
             ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'load_surface'

Local variables in innermost frame:
self: <ManagerDeviceList.ManagerDeviceList object at 0x7f48957bfc40 (blueman+gui+manager+ManagerDeviceList+ManagerDeviceList at 0x55c91f2399c0)>
icon_info: None
is_paired: True
is_trusted: True
is_blocked: False
window: <__gi__.GdkWaylandWindow object at 0x7f48951e1b80 (GdkWaylandWindow at 0x55c91f265d90)>
scale: 1

Potential duplicate: bug 2118133

Comment 1 Justin W. Flory (Red Hat) 2023-06-24 23:18:40 UTC
Created attachment 1972423 [details]
File: os_info

Comment 2 Justin W. Flory (Red Hat) 2023-06-24 23:18:42 UTC
Created attachment 1972424 [details]
File: environ

Comment 3 Justin W. Flory (Red Hat) 2023-06-24 23:18:43 UTC
Created attachment 1972425 [details]
File: mountinfo

Comment 4 Justin W. Flory (Red Hat) 2023-06-24 23:18:44 UTC
Created attachment 1972426 [details]
File: open_fds

Comment 5 Justin W. Flory (Red Hat) 2023-06-24 23:18:46 UTC
Created attachment 1972427 [details]
File: namespaces

Comment 6 Justin W. Flory (Red Hat) 2023-06-24 23:18:47 UTC
Created attachment 1972428 [details]
File: backtrace

Comment 7 Justin W. Flory (Red Hat) 2023-06-24 23:18:48 UTC
Created attachment 1972429 [details]
File: cpuinfo

Comment 8 Sujith 2023-09-02 11:51:35 UTC
Whenever i connect a bluetooth device,it gets automatically disconnected in 2 seconds.Its so annoying at times.Please find an appropriate solution for this


reporter:       libreport-2.17.11
kernel:         6.4.12-200.fc38.x86_64
cmdline:        /usr/bin/python3 -sPE /usr/bin/blueman-manager
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-blueman\x2dmanager-4841.scope
uid:            1000
reason:         ManagerDeviceList.py:265:make_device_icon:AttributeError: 'NoneType' object has no attribute 'load_surface'
executable:     /usr/bin/blueman-manager
type:           Python3
package:        blueman-1:2.3.5-3.fc38
runlevel:       N 5
exception_type: AttributeError
crash_function: make_device_icon
interpreter:    python3-3.11.4-1.fc38.x86_64
comment:        Whenever i connect a bluetooth device,it gets automatically disconnected in 2 seconds.Its so annoying at times.Please find an appropriate solution for this

Comment 9 Artur Frenszek-Iwicki 2023-09-11 14:18:58 UTC
*** Bug 2159590 has been marked as a duplicate of this bug. ***

Comment 10 Fedora Update System 2023-09-11 16:40:52 UTC
FEDORA-2023-be0b95efa2 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-be0b95efa2

Comment 11 Fedora Update System 2023-09-11 16:43:37 UTC
FEDORA-2023-be0b95efa2 has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2023-09-11 16:55:41 UTC
FEDORA-2023-e33b8d8144 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e33b8d8144

Comment 13 Fedora Update System 2023-09-11 17:12:59 UTC
FEDORA-2023-a2e556bb6c has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a2e556bb6c

Comment 14 Fedora Update System 2023-09-11 17:25:32 UTC
FEDORA-2023-6a56a3b7f2 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-6a56a3b7f2

Comment 15 Fedora Update System 2023-09-12 01:23:36 UTC
FEDORA-2023-e33b8d8144 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-e33b8d8144`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e33b8d8144

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

Comment 16 Fedora Update System 2023-09-12 01:24:23 UTC
FEDORA-2023-a2e556bb6c 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-a2e556bb6c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a2e556bb6c

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

Comment 17 Fedora Update System 2023-09-12 01:29:26 UTC
FEDORA-2023-6a56a3b7f2 has been pushed to the Fedora 37 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-6a56a3b7f2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-6a56a3b7f2

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

Comment 18 Fedora Update System 2023-09-15 18:58:18 UTC
FEDORA-2023-e33b8d8144 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2023-09-20 01:06:24 UTC
FEDORA-2023-6a56a3b7f2 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 20 Fedora Update System 2023-09-20 01:31:09 UTC
FEDORA-2023-a2e556bb6c has been pushed to the Fedora 38 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.