Skip to content

Trying to use this on Win10 #6

@JoeCodeswell

Description

@JoeCodeswell

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions