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

SystemError exeption on Windows bt.recv #30

Closed
GoogleCodeExporter opened this issue Jan 29, 2016 · 3 comments
Closed

SystemError exeption on Windows bt.recv #30

GoogleCodeExporter opened this issue Jan 29, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. I'm trying to write an RFCOMM slave under Windows (see attached file).
2. When the master connects and sends its first data packet, the slave
fails with the following traceback:
Traceback (most recent call last):
  File "bluetooth_slave.py", line 56, in <module>
    cp.run()
  File "bluetooth_slave.py", line 37, in run
    self._handle_incoming_data()
  File "bluetooth_slave.py", line 42, in _handle_incoming_data
    data = self.server_sock.recv(1024)
  File
"c:\applications\development\python26\lib\site-packages\bluetooth\msbt.py
", line 59, in recv
    return bt.recv (self._sockfd, numbytes)
SystemError: error return without exception set

What is the expected output? What do you see instead?
I expect to receive data from the master, but instead I get an unhandled
SystemError exception.

What version of the product are you using? On what operating system?
Pybluez 0.18
Win XP SP2

Please provide any additional information below.
See attached code.

Original issue reported on code.google.com by hicr...@gmail.com on 28 Apr 2010 at 8:53

Attachments:

@GoogleCodeExporter
Copy link
Author

Forgot to mention, I'm running Python 2.6.

Original comment by hicr...@gmail.com on 28 Apr 2010 at 8:56

@GoogleCodeExporter
Copy link
Author

Please delete this issue - I've been an idiot! I was trying to call recv on the
server socket - not the client.

Sorry for any inconvenience.

Original comment by hicr...@gmail.com on 28 Apr 2010 at 9:43

@GoogleCodeExporter
Copy link
Author

no problem, glad to hear it worked out.

Original comment by ashu...@gmail.com on 29 Apr 2010 at 8:18

  • Changed state: Done

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

No branches or pull requests

1 participant