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

AttributeError: 'module' object has no attribute 'MSG_WAITALL' #90

Closed
luisvasconcelos opened this issue Oct 1, 2014 · 2 comments
Closed

Comments

@luisvasconcelos
Copy link

Hello,

After update to the latest master, I'm now getting this issue whenever I try to run any of the examples from C:\github\AndroidViewClient\AndroidViewClient\examples

Traceback (most recent call last):
  File ".\click-button-by-text.py", line 20, in <module>
    vc = ViewClient(*ViewClient.connectToDeviceOrExit())
  File "C:\github\AndroidViewClient\AndroidViewClient\src\com\dtmilano\android\viewclient.py", line 1475, in connectToDeviceOrExit
    device = adbclient.AdbClient(serialno, ignoreversioncheck=ignoreversioncheck)
  File "C:\github\AndroidViewClient\AndroidViewClient\src\com\dtmilano\android\adb\adbclient.py", line 93, in __init__
    self.checkVersion(ignoreversioncheck)
  File "C:\github\AndroidViewClient\AndroidViewClient\src\com\dtmilano\android\adb\adbclient.py", line 212, in checkVersion
    version = self.socket.recv(8, socket.MSG_WAITALL)
AttributeError: 'module' object has no attribute 'MSG_WAITALL'

Please let me know if you need any other information for this.

Thanks!

@dtmilano
Copy link
Owner

dtmilano commented Oct 1, 2014

It seems we are not the only ones: https://bugs.launchpad.net/myconnpy/+bug/437972.
I'll apply the same hack.

dtmilano added a commit that referenced this issue Oct 1, 2014
@luisvasconcelos
Copy link
Author

@dtmilano, Thank you, that worked for me!.

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

2 participants