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

Don’t work on MacOS #5

Open
Eleveres opened this issue Mar 15, 2021 · 3 comments
Open

Don’t work on MacOS #5

Eleveres opened this issue Mar 15, 2021 · 3 comments

Comments

@Eleveres
Copy link

sock = SecureReliableSocket()

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/srudp/__init__.py", line 201, in __init__
    super().connect(self_address)
OSError: [Errno 22] Invalid argument
@namuyan
Copy link
Owner

namuyan commented Mar 16, 2021

Thank you for report! but you don’t give me enough info to detect the problem.

What’s version of srudp do you use? This travis shows no error on Python3.8. What’s version of Python do you use? and is it from original dist and what’s your OS?

@Eleveres
Copy link
Author

Hi, I'm running python3.8.2 on MacOS. I simply pip installed the package then tried running this code and it failed straight away.

@namuyan
Copy link
Owner

namuyan commented Mar 31, 2021

Thank you for reply!
In my environment, Windows and Ubuntu, I could not find your problem. We require detailed debugging at your env, MacOS. In particular, please pay attention to the object of getsockname().
It will need a few fix but I cannot determine what is because I don’t have Mac and time. However it is not expected that there will be any differences between envs.

@namuyan namuyan changed the title Invalid argument Don’t work on MacOS Mar 31, 2021
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