Bug 1747466

Summary: [abrt] blueberry: run(): subprocess.py:487:run:subprocess.CalledProcessError: Command '['/usr/sbin/rfkill', 'list', 'bluetooth']' returned non-zero exit status 1.
Product: [Fedora] Fedora Reporter: Paul Whalen <pwhalen>
Component: blueberryAssignee: Alternative GTK desktop environments <alt-gtk-de-sig>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: alt-gtk-de-sig, bentygiulio, boeuf32, cdstravers, cforbe7197, danie.dejager, davidmar, dejas00, dominik, don.allen, harry.sutton, kevin, klemmerj, leigh123linux, lokale, mfabian, nonamedotc, raykukoincarnate, samtygier, sand.paul, sylvain, voxan24, wolfgang.schulz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/375bd73d8760cde0df77ed013cb0ea1176bd5bdc
Whiteboard: abrt_hash:817612a61e0a66e1bbd6cf2e81903ecd31b9f38f;
Fixed In Version: blueberry-1.2.9-1.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-22 02:25:55 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 Paul Whalen 2019-08-30 13:51:03 UTC
Description of problem:
Happens shortly after log in to AArch64 Xfce desktop spin. 

Version-Release number of selected component:
blueberry-1.2.9-1.fc31

Additional info:
reporter:       libreport-2.10.1
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
cmdline:        blueberry-tray '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' ''
crash_function: run
exception_type: subprocess.CalledProcessError
executable:     /usr/lib/blueberry/blueberry-tray.py
interpreter:    blueberry-1.2.9-1.fc31.noarch
kernel:         5.3.0-0.rc6.git0.1.fc31.aarch64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
subprocess.py:487:run:subprocess.CalledProcessError: Command '['/usr/sbin/rfkill', 'list', 'bluetooth']' returned non-zero exit status 1.

Traceback (most recent call last):
  File "/usr/lib/blueberry/blueberry-tray.py", line 32, in do_startup
    self.rfkill = rfkillMagic.Interface(self.update_icon_callback, debug)
  File "/usr/lib/blueberry/rfkillMagic.py", line 29, in __init__
    self.have_adapter = self.adapter_check()
  File "/usr/lib/blueberry/rfkillMagic.py", line 35, in adapter_check
    res = subprocess.check_output(RFKILL_CHK).decode('utf-8')
  File "/usr/lib64/python3.7/subprocess.py", line 395, in check_output
    **kwargs).stdout
  File "/usr/lib64/python3.7/subprocess.py", line 487, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/sbin/rfkill', 'list', 'bluetooth']' returned non-zero exit status 1.

Local variables in innermost frame:
input: None
capture_output: False
timeout: None
check: True
popenargs: (['/usr/sbin/rfkill', 'list', 'bluetooth'],)
kwargs: {'stdout': -1}
process: <subprocess.Popen object at 0xffff97d56710>
stdout: b''
stderr: None
retcode: 1

Comment 1 Paul Whalen 2019-08-30 13:51:05 UTC
Created attachment 1609898 [details]
File: backtrace

Comment 2 Paul Whalen 2019-08-30 13:51:06 UTC
Created attachment 1609899 [details]
File: cpuinfo

Comment 3 Paul Whalen 2019-08-30 13:51:08 UTC
Created attachment 1609900 [details]
File: environ

Comment 4 Paul Whalen 2019-08-30 13:51:09 UTC
Created attachment 1609901 [details]
File: mountinfo

Comment 5 Paul Whalen 2019-08-30 13:51:10 UTC
Created attachment 1609902 [details]
File: namespaces

Comment 6 Paul Whalen 2019-08-30 13:51:11 UTC
Created attachment 1609903 [details]
File: open_fds

Comment 7 Dominik 'Rathann' Mierzejewski 2019-08-30 21:02:57 UTC
Thanks for the report.

What does:

rfkill list bluetooth

output on your system?

Comment 8 Paul Sand 2019-09-07 11:50:31 UTC
(In reply to Dominik 'Rathann' Mierzejewski from comment #7)
> Thanks for the report.
> 
> What does:
> 
> rfkill list bluetooth
> 
> output on your system?

I (apparently) have the same problem. "rfkill list bluetooth" outputs:

    rfkill: cannot open /dev/rfkill: No such file or directory
    rfkill: cannot read /dev/rfkill: Bad file descriptor

Hope that helps. I don't use blueberry. I have Fedora 31 running as a VirtualBox guest on a Windows 10 host, if that matters.

Comment 9 Dominik 'Rathann' Mierzejewski 2019-09-09 08:56:28 UTC
Thanks, reported upstream.

Comment 10 Fedora Update System 2019-09-14 12:42:42 UTC
FEDORA-2019-bafa677dd2 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-bafa677dd2

Comment 11 Fedora Update System 2019-09-15 00:24:02 UTC
blueberry-1.2.9-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-bafa677dd2

Comment 12 Harry Sutton 2019-09-19 01:31:43 UTC
*** Bug 1753456 has been marked as a duplicate of this bug. ***

Comment 13 Fedora Update System 2019-09-22 02:25:55 UTC
blueberry-1.2.9-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 14 Cornelis Stravers 2019-10-03 21:05:21 UTC
*** Bug 1758338 has been marked as a duplicate of this bug. ***

Comment 15 raykukoincarnate 2019-10-04 00:21:16 UTC
*** Bug 1758379 has been marked as a duplicate of this bug. ***

Comment 16 Wolfgang Schulz 2019-10-17 16:14:42 UTC
*** Bug 1762848 has been marked as a duplicate of this bug. ***

Comment 17 davidmar 2019-11-02 10:40:36 UTC
*** Bug 1768079 has been marked as a duplicate of this bug. ***

Comment 18 Retlaw Dlawso 2019-11-19 19:54:58 UTC
*** Bug 1774217 has been marked as a duplicate of this bug. ***

Comment 19 Don Allen 2019-12-03 00:16:34 UTC
Similar problem has been detected:

Or reboot after initial dnf upgrade after install from live DVD.  This system has no bluetooth hardware.

reporter:       libreport-2.11.3
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
cmdline:        blueberry-tray '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' ''
crash_function: run
exception_type: subprocess.CalledProcessError
executable:     /usr/lib/blueberry/blueberry-tray.py
interpreter:    blueberry-1.2.9-1.fc31.noarch
kernel:         5.3.7-301.fc31.x86_64
package:        blueberry-1.2.9-1.fc31
reason:         subprocess.py:487:run:subprocess.CalledProcessError: Command '['/usr/sbin/rfkill', 'list', 'bluetooth']' returned non-zero exit status 1.
runlevel:       N 5
type:           Python3
uid:            1000

Comment 20 Sam Tygier 2019-12-10 19:07:52 UTC
Fixed upstream in https://github.com/linuxmint/blueberry/pull/94

Released in Blueberry 1.3.2

Comment 21 Grzegorz 2019-12-26 16:06:12 UTC
*** Bug 1786625 has been marked as a duplicate of this bug. ***

Comment 22 Joe Klemmer 2020-01-07 16:10:34 UTC
*** Bug 1788627 has been marked as a duplicate of this bug. ***

Comment 23 Danie de Jager 2020-01-10 11:33:37 UTC
*** Bug 1789762 has been marked as a duplicate of this bug. ***

Comment 24 Sylvain Arth 2020-01-26 10:11:13 UTC
*** Bug 1795003 has been marked as a duplicate of this bug. ***

Comment 25 vladimirtest 2020-04-11 08:17:15 UTC
Similar problem has been detected:

Appeared just after fresh install.

reporter:       libreport-2.10.1
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
cmdline:        blueberry-tray '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' ''
crash_function: run
exception_type: subprocess.CalledProcessError
executable:     /usr/lib/blueberry/blueberry-tray.py
interpreter:    blueberry-1.2.9-1.fc31.noarch
kernel:         5.3.7-301.fc31.x86_64
package:        blueberry-1.2.9-1.fc31
reason:         subprocess.py:487:run:subprocess.CalledProcessError: Command '['/usr/sbin/rfkill', 'list', 'bluetooth']' returned non-zero exit status 1.
runlevel:       N 5
type:           Python3
uid:            1000

Comment 26 Valentin 2020-04-20 12:39:16 UTC
*** Bug 1825871 has been marked as a duplicate of this bug. ***

Comment 27 Cristina 2020-04-25 02:04:37 UTC
*** Bug 1827866 has been marked as a duplicate of this bug. ***

Comment 28 GiulioB 2020-04-25 23:21:15 UTC
*** Bug 1827962 has been marked as a duplicate of this bug. ***