Bug 2246819 - [abrt] blueman: _activate(): DBusProxies.py:58:_activate:NameError: name 'logging' is not defined. Did you forget to import 'logging'
Summary: [abrt] blueman: _activate(): DBusProxies.py:58:_activate:NameError: name 'log...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: blueman
Version: 39
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:63250eec197fa811030773203de...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-29 08:59 UTC by flomaker84
Modified: 2023-11-10 01:54 UTC (History)
3 users (show)

Fixed In Version: blueman-2.3.5-8.fc40 blueman-2.3.5-5.fc37 blueman-2.3.5-8.fc39 blueman-2.3.5-6.fc38
Clone Of:
Environment:
Last Closed: 2023-11-01 13:28:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: cpuinfo (3.06 KB, text/plain)
2023-10-29 08:59 UTC, flomaker84
no flags Details
File: environ (1.67 KB, text/plain)
2023-10-29 08:59 UTC, flomaker84
no flags Details
File: mountinfo (2.97 KB, text/plain)
2023-10-29 08:59 UTC, flomaker84
no flags Details
File: os_info (734 bytes, text/plain)
2023-10-29 08:59 UTC, flomaker84
no flags Details
File: namespaces (171 bytes, text/plain)
2023-10-29 08:59 UTC, flomaker84
no flags Details
File: backtrace (1.46 KB, text/plain)
2023-10-29 08:59 UTC, flomaker84
no flags Details
File: open_fds (1.71 KB, text/plain)
2023-10-29 08:59 UTC, flomaker84
no flags Details

Description flomaker84 2023-10-29 08:59:36 UTC
Version-Release number of selected component:
blueman-1:2.3.5-7.fc39

Additional info:
reporter:       libreport-2.17.11
interpreter:    python3-3.12.0-1.fc39.x86_64
cmdline:        /usr/bin/python3 -sPE /usr/bin/blueman-applet
reason:         DBusProxies.py:58:_activate:NameError: name 'logging' is not defined. Did you forget to import 'logging'
uid:            1000
executable:     /usr/bin/blueman-applet
kernel:         6.5.6-300.fc39.x86_64
crash_function: _activate
package:        blueman-1:2.3.5-7.fc39
type:           Python3
exception_type: gi.repository.GLib.GError
runlevel:       N 5
cgroup:         0::/user.slice/user-1000.slice/session-2.scope

Truncated backtrace:
DBusProxies.py:58:_activate:NameError: name 'logging' is not defined. Did you forget to import 'logging'

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/blueman/main/DBusProxies.py", line 53, in _activate
    self.call_sync("Activate", param, Gio.DBusCallFlags.NONE, -1, None)
gi.repository.GLib.GError: g-io-error-quark: Timeout was reached (24)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/blueman/plugins/applet/StandardItems.py", line 57, in <lambda>
    self.parent.Plugins.StatusIcon.connect("activate", lambda _status_icon: self.on_devices())
                                                                            ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/blueman/plugins/applet/StandardItems.py", line 81, in on_devices
    m.startstop()
  File "/usr/lib/python3.12/site-packages/blueman/main/DBusProxies.py", line 80, in startstop
    self._activate()
  File "/usr/lib/python3.12/site-packages/blueman/main/DBusProxies.py", line 58, in _activate
    logging.error("Call to %s failed", self.get_name(), exc_info=True)
    ^^^^^^^
NameError: name 'logging' is not defined. Did you mean: 'self.logging'? Or did you forget to import 'logging'

Local variables in innermost frame:
self: <DBusProxies.ManagerService object at 0x7f8a01097a00 (blueman+main+DBusProxies+ManagerService at 0x55731634d760)>
param: GLib.Variant('(a{sv})', ({},))

Comment 1 flomaker84 2023-10-29 08:59:39 UTC
Created attachment 1996084 [details]
File: cpuinfo

Comment 2 flomaker84 2023-10-29 08:59:40 UTC
Created attachment 1996085 [details]
File: environ

Comment 3 flomaker84 2023-10-29 08:59:42 UTC
Created attachment 1996086 [details]
File: mountinfo

Comment 4 flomaker84 2023-10-29 08:59:43 UTC
Created attachment 1996087 [details]
File: os_info

Comment 5 flomaker84 2023-10-29 08:59:45 UTC
Created attachment 1996088 [details]
File: namespaces

Comment 6 flomaker84 2023-10-29 08:59:46 UTC
Created attachment 1996089 [details]
File: backtrace

Comment 7 flomaker84 2023-10-29 08:59:47 UTC
Created attachment 1996090 [details]
File: open_fds

Comment 8 Fedora Update System 2023-11-01 13:27:41 UTC
FEDORA-2023-79e39eaeb2 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-79e39eaeb2

Comment 9 Fedora Update System 2023-11-01 13:28:15 UTC
FEDORA-2023-79e39eaeb2 has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2023-11-01 13:45:57 UTC
FEDORA-2023-71624bbb98 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-71624bbb98

Comment 11 Fedora Update System 2023-11-01 14:01:08 UTC
FEDORA-2023-3e7f0859d4 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-3e7f0859d4

Comment 12 Fedora Update System 2023-11-01 14:16:14 UTC
FEDORA-2023-c245566a89 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c245566a89

Comment 13 Fedora Update System 2023-11-02 01:29:18 UTC
FEDORA-2023-3e7f0859d4 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-3e7f0859d4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-3e7f0859d4

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

Comment 14 Fedora Update System 2023-11-02 01:48:05 UTC
FEDORA-2023-71624bbb98 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-71624bbb98`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-71624bbb98

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

Comment 15 Fedora Update System 2023-11-02 02:05:12 UTC
FEDORA-2023-c245566a89 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-c245566a89`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-c245566a89

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

Comment 16 Davide Repetto 2023-11-05 14:09:04 UTC
This happend connecting to a Huawei phone via BT for audio and for tethering.


reporter:       libreport-2.17.11
kernel:         6.5.9-300.fc39.x86_64
cmdline:        /usr/bin/python3 -sPE /usr/bin/blueman-applet
cgroup:         0::/user.slice/user-1000.slice/session-5.scope
uid:            1000
reason:         DBusProxies.py:58:_activate:NameError: name 'logging' is not defined. Did you forget to import 'logging'
executable:     /usr/bin/blueman-applet
type:           Python3
package:        blueman-1:2.3.5-7.fc39
runlevel:       N 5
exception_type: gi.repository.GLib.GError
crash_function: _activate
interpreter:    python3-3.12.0-1.fc39.x86_64
comment:        This happend connecting to a Huawei phone via BT for audio and for tethering.

Comment 17 Fedora Update System 2023-11-10 01:11:58 UTC
FEDORA-2023-c245566a89 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2023-11-10 01:44:38 UTC
FEDORA-2023-71624bbb98 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-11-10 01:54:52 UTC
FEDORA-2023-3e7f0859d4 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.