Bug 1756174 - [abrt] blueberry: update_connected_state(): blueberry-tray.py:75:update_connected_state:TypeError: sequence item 0: expected str instance, NoneType found
Summary: [abrt] blueberry: update_connected_state(): blueberry-tray.py:75:update_conne...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: blueberry
Version: 30
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alternative GTK desktop environments
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:d72a28e3cddd3e6e8246252f60b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-26 23:50 UTC by hans
Modified: 2020-02-05 13:35 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-02-05 13:35:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (646 bytes, text/plain)
2019-09-26 23:50 UTC, hans
no flags Details
File: cgroup (329 bytes, text/plain)
2019-09-26 23:50 UTC, hans
no flags Details
File: cpuinfo (1.41 KB, text/plain)
2019-09-26 23:50 UTC, hans
no flags Details
File: environ (3.43 KB, text/plain)
2019-09-26 23:50 UTC, hans
no flags Details
File: mountinfo (4.19 KB, text/plain)
2019-09-26 23:50 UTC, hans
no flags Details
File: namespaces (129 bytes, text/plain)
2019-09-26 23:50 UTC, hans
no flags Details
File: open_fds (1.23 KB, text/plain)
2019-09-26 23:50 UTC, hans
no flags Details

Description hans 2019-09-26 23:50:36 UTC
Version-Release number of selected component:
blueberry-1.2.9-1.fc30

Additional info:
reporter:       libreport-2.10.1
cmdline:        blueberry-tray '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' ''
crash_function: update_connected_state
exception_type: TypeError
executable:     /usr/lib/blueberry/blueberry-tray.py
interpreter:    blueberry-1.2.9-1.fc30.noarch
kernel:         5.2.16-200.fc30.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
blueberry-tray.py:75:update_connected_state:TypeError: sequence item 0: expected str instance, NoneType found

Traceback (most recent call last):
  File "/usr/lib/blueberry/blueberry-tray.py", line 68, in update_icon_callback
    self.update_connected_state()
  File "/usr/lib/blueberry/blueberry-tray.py", line 75, in update_connected_state
    self.icon.set_tooltip_text(_("Bluetooth: Connected to %s") % (", ".join(self.connected_devices)))
TypeError: sequence item 0: expected str instance, NoneType found

Local variables in innermost frame:
self: <__main__.BluetoothTray object at 0x7ff811462be0 (__main__+BluetoothTray at 0x563c1ada20f0)>

Comment 1 hans 2019-09-26 23:50:38 UTC
Created attachment 1619824 [details]
File: backtrace

Comment 2 hans 2019-09-26 23:50:39 UTC
Created attachment 1619825 [details]
File: cgroup

Comment 3 hans 2019-09-26 23:50:40 UTC
Created attachment 1619826 [details]
File: cpuinfo

Comment 4 hans 2019-09-26 23:50:41 UTC
Created attachment 1619827 [details]
File: environ

Comment 5 hans 2019-09-26 23:50:43 UTC
Created attachment 1619828 [details]
File: mountinfo

Comment 6 hans 2019-09-26 23:50:44 UTC
Created attachment 1619829 [details]
File: namespaces

Comment 7 hans 2019-09-26 23:50:45 UTC
Created attachment 1619830 [details]
File: open_fds

Comment 8 Carlos Mogas da Silva 2019-10-28 12:34:00 UTC
Similar problem has been detected:

Probably related to turning on a bluetooth headset

reporter:       libreport-2.10.1
cmdline:        blueberry-tray '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' ''
crash_function: update_connected_state
exception_type: TypeError
executable:     /usr/lib/blueberry/blueberry-tray.py
interpreter:    blueberry-1.2.9-1.fc30.noarch
kernel:         5.2.17-200.fc30.x86_64
package:        blueberry-1.2.9-1.fc30
reason:         blueberry-tray.py:75:update_connected_state:TypeError: sequence item 0: expected str instance, NoneType found
runlevel:       N 5
type:           Python3
uid:            1000

Comment 9 Dominik 'Rathann' Mierzejewski 2020-02-05 11:42:42 UTC
Does this happen each time you turn on your BT headset? Can you try unpairing and pairing again? Connecting/disconnecting? It would be very useful to know in which situation this occurs, exactly. Please provide the output of:
1. rfkill list
2. bluetoothctl devices

Comment 10 Carlos Mogas da Silva 2020-02-05 12:38:07 UTC
(In reply to Dominik 'Rathann' Mierzejewski from comment #9)
> Does this happen each time you turn on your BT headset? Can you try
> unpairing and pairing again? Connecting/disconnecting? It would be very
> useful to know in which situation this occurs, exactly. Please provide the
> output of:
> 1. rfkill list
> 2. bluetoothctl devices

Can't seem to reproduce the error again but I'm now on blueberry-1.3.3 (FC31).

Comment 11 Dominik 'Rathann' Mierzejewski 2020-02-05 13:35:44 UTC
Thank you. Closing as unreproducible, but feel free to reopen if it reoccurs.


Note You need to log in before you can comment on or make changes to this bug.