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

Trying to use this on Win10 #6

Open
JoeCodeswell opened this issue Mar 18, 2016 · 0 comments
Open

Trying to use this on Win10 #6

JoeCodeswell opened this issue Mar 18, 2016 · 0 comments

Comments

@JoeCodeswell
Copy link

Dear happyleavesaoc,

I am trying to use this on Windows 10. I have attached my (VERY EXPERIMENTAL) test script named "test_wifi_socket.py".

I have a blue light on my s20. When i call _setup(), I am getting ...

s20.py", line 56, in _setup
_SOCKET.bind(('', PORT))
OSError: [WinError 10022] An invalid argument was supplied

The output of test_wifi_socket.py is:

>py -3 test_wifi_socket.py
Traceback (most recent call last):
  File "test_wifi_socket.py", line 59, in <module>
    main()
  File "test_wifi_socket.py", line 56, in main
    test_wifi_socket()
  File "test_wifi_socket.py", line 33, in test_wifi_socket
    s20._setup()   # do this first
  File "C:\Users\joeco\PycharmProjects\mason01\jlib\orvibo\s20.py", line 56, in _setup
    _SOCKET.bind(('', PORT))
OSError: [WinError 10022] An invalid argument was supplied

I sure would like to use your software (and the s20) to help me teach my grandson to program in python.

Here's the uploaded python test script.

test_wifi_socket.py.txt

Any help would be appreciated.

Love and peace,
Joe

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