Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSInvalidArgumentException on send (El Capitain, python 2.7) #11

Open
ElliotLockerman opened this issue May 30, 2016 · 0 comments
Open

Comments

@ElliotLockerman
Copy link

Hello,
When running the simple_server.py example, the read is successful, but the write fails.

Connected by ('10:BF:48:D1:22:B8', 1)
Echoing received data: This is my test
Traceback (most recent call last):
  File "simple_server.py", line 18, in <module>
    conn.send(data)
  File "build/bdist.macosx-10.6-x86_64/egg/lightblue/_bluetoothsockets.py", line 524, in send
  File "build/bdist.macosx-10.6-x86_64/egg/lightblue/_bluetoothsockets.py", line 737, in write
ValueError: NSInvalidArgumentException - Class OC_PythonObject: no such selector: bytes

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant