All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 11156] New: In python3 module 'socket' has no attribute 'AF_BLUETOOTH'
@ 2018-07-16 19:14 bugzilla at busybox.net
  2018-07-17 11:18 ` [Buildroot] [Bug 11156] " bugzilla at busybox.net
  2018-11-02 10:16 ` bugzilla at busybox.net
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2018-07-16 19:14 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11156

            Bug ID: 11156
           Summary: In python3 module 'socket' has no attribute
                    'AF_BLUETOOTH'
           Product: buildroot
           Version: 2018.05
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: grzegorz at blach.pl
                CC: buildroot at uclibc.org
  Target Milestone: ---

I have build system image for RaspberryPi 2 using `make raspberrypi2_defconfig`
with some customization. For eg. I have enabled bluez-tools, bluez-utils 5.x,
rpi-bt-firmware and of course python3. When I try to create bluetooth socket, I
get an error:

Python 3.6.3 (default, Jul 16 2018, 20:00:50) 
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> s = socket.socket(socket.AF_BLUETOOTH, socket.SOCK_STREAM, socket.BTPROTO_RFCOMM)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'socket' has no attribute 'AF_BLUETOOTH'


Bluetooth sockets works correctly in python3 on Raspbian.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [Bug 11156] In python3 module 'socket' has no attribute 'AF_BLUETOOTH'
  2018-07-16 19:14 [Buildroot] [Bug 11156] New: In python3 module 'socket' has no attribute 'AF_BLUETOOTH' bugzilla at busybox.net
@ 2018-07-17 11:18 ` bugzilla at busybox.net
  2018-11-02 10:16 ` bugzilla at busybox.net
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2018-07-17 11:18 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11156

--- Comment #1 from Grzegorz Blach <grzegorz@blach.pl> ---
Created attachment 7666
  --> https://bugs.busybox.net/attachment.cgi?id=7666&action=edit
Support for socket.AF_BLUETOOTH

Ok, I found a solution, but unfortunately my patch makes a circular
dependencies, so I must disable libmount Python bindings.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [Bug 11156] In python3 module 'socket' has no attribute 'AF_BLUETOOTH'
  2018-07-16 19:14 [Buildroot] [Bug 11156] New: In python3 module 'socket' has no attribute 'AF_BLUETOOTH' bugzilla at busybox.net
  2018-07-17 11:18 ` [Buildroot] [Bug 11156] " bugzilla at busybox.net
@ 2018-11-02 10:16 ` bugzilla at busybox.net
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2018-11-02 10:16 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11156

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Fixed by
https://git.buildroot.org/buildroot/commit/package/bluez5_utils-headers?id=9edd1760edcfb8bd5cc49043e79893c60e19c0e0
and
https://git.buildroot.org/buildroot/commit/package/python3?id=cd30ed51b46edff512d84cc5ae038a55c7129860.
Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-11-02 10:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-16 19:14 [Buildroot] [Bug 11156] New: In python3 module 'socket' has no attribute 'AF_BLUETOOTH' bugzilla at busybox.net
2018-07-17 11:18 ` [Buildroot] [Bug 11156] " bugzilla at busybox.net
2018-11-02 10:16 ` bugzilla at busybox.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.